Sha256: 54a00f3ce7b25d3e5724fa7579aa0e23b53d3088c20148f6de88964c4548c3f7
Contents?: true
Size: 1.63 KB
Versions: 5
Compression:
Stored size: 1.63 KB
Contents
{:uriI"file:///Users/prehnra/src/revelry_core/spec/dummy/spec/javascripts/extensions/mixins_spec.js?type=application/javascript&pipeline=self&id=120c70068485c9645f69b47d13889c14b2564ea1a765affaa9c133adbbabde51:ET:load_pathI"@/Users/prehnra/src/revelry_core/spec/dummy/spec/javascripts;F: filenameI"Z/Users/prehnra/src/revelry_core/spec/dummy/spec/javascripts/extensions/mixins_spec.js;T: nameI"extensions/mixins_spec;T:logical_pathI"#extensions/mixins_spec.self.js;T:content_typeI"application/javascript;T:sourceI"describe('Rev', function(){ it('can include mixins to function classes', function() { var mixin = { componentDidMount: function() {} }; var fnClass = Rev.appComponent('Foo', function(props) { return { render: function() { return React.createElement('span', { className: 'FunctionClass' }); }, mixins: [mixin] } }); spyOn(mixin, 'componentDidMount'); expect(mixin.componentDidMount).toHaveBeenCalled(); }); }); ;T: metadata{:dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"hfile-digest:///Users/prehnra/src/revelry_core/spec/dummy/spec/javascripts/extensions/mixins_spec.js;TT: requiredo;;{ :stubbedo;;{ : linkso;;{ :charsetI" utf-8;F:digest"%=M"3&6[W0(9qL!~<:lengthi:integrityI"9sha-256-PY5NIvCr8zMmCw82nVtXAjAoOdJx6EwhG/Lp59Acfjw=;T:dependencies_digest"%Q|7q R̡uSTea?:idI"E120c70068485c9645f69b47d13889c14b2564ea1a765affaa9c133adbbabde51;F: mtimel+zRU
Version data entries
5 entries across 5 versions & 1 rubygems