mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-10-28 13:00:47 +08:00
Project test configuration and updated README
Signed-off-by: Simon Bailey <simon@newtriks.com>
This commit is contained in:
1 parent
b1562cd74c
commit
fb2e98d63e
8 files changed
+268
-34
No files matched your search
@@ -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