mirror of
https://github.com/react-webpack-generators/generator-react-webpack.git
synced 2025-12-08 18:01:59 +00:00
16 lines
422 B
JavaScript
16 lines
422 B
JavaScript
'use strict';
|
|
|
|
describe('<%= classedName %>', function () {
|
|
var React = require('react/addons');
|
|
var <%= classedName %>, component;
|
|
|
|
beforeEach(function () {
|
|
<%= classedName %> = require('components/<%= classedFileName %>.js');
|
|
component = React.createElement(<%= classedName %>);
|
|
});
|
|
|
|
it('should create a new instance of <%= classedName %>', function () {
|
|
expect(component).toBeDefined();
|
|
});
|
|
});
|