mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-06 16:40:40 +08:00
15 lines
259 B
JavaScript
15 lines
259 B
JavaScript
'use strict';
|
|
|
|
describe('main', () => {
|
|
let main, component;
|
|
|
|
beforeEach(() => {
|
|
main = require('components/main.jsx');
|
|
component = main();
|
|
});
|
|
|
|
it('should create a new instance of main', () => {
|
|
expect(component).toBeDefined();
|
|
});
|
|
});
|