Files
generator-react-webpack/templates/spec/Component.js
T
2015-01-06 21:43:19 -08:00

15 lines
385 B
JavaScript

'use strict';
describe('<%= classedName %>', function () {
var <%= classedName %>, component;
beforeEach(function () {
<%= classedName %> = require('../../../src/scripts/components/<%= classedFileName %>.js');
component = <%= classedName %>();
});
it('should create a new instance of <%= classedName %>', function () {
expect(component).toBeDefined();
});
});