mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-09 11:22:44 +08:00
Project test configuration and updated README
Signed-off-by: Simon Bailey <simon@newtriks.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
describe('<%= classedName %>', function () {
|
||||
var <%= classedName %>, component;
|
||||
|
||||
beforeEach(function () {
|
||||
<%= classedName %> = require('../../../src/scripts/components/<%= classedName %>');
|
||||
component = <%= classedName %>();
|
||||
});
|
||||
|
||||
it('should create a new instance of <%= classedName %>', function () {
|
||||
expect(component).toBeDefined();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user