mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-06-27 20:53:15 +08:00
Updated lodash to current stable, cleaned up unit test formatting
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@
|
||||
"karma-phantomjs-shim": "^1.1.1",
|
||||
"karma-sourcemap-loader": "^0.3.5",
|
||||
"karma-webpack": "^1.7.0",
|
||||
"lodash": "^3.10.1",
|
||||
"lodash": "^4.0.0",
|
||||
"minimist": "^1.2.0",
|
||||
"mocha": "^2.2.5",
|
||||
"null-loader": "^0.1.1",
|
||||
|
||||
@@ -11,13 +11,13 @@ import createComponent from 'helpers/shallowRenderHelper';
|
||||
import Main from 'components/Main';
|
||||
|
||||
describe('MainComponent', () => {
|
||||
let MainComponent;
|
||||
let MainComponent;
|
||||
|
||||
beforeEach(() => {
|
||||
MainComponent = createComponent(Main);
|
||||
});
|
||||
beforeEach(() => {
|
||||
MainComponent = createComponent(Main);
|
||||
});
|
||||
|
||||
it('should have its component name as default className', () => {
|
||||
expect(MainComponent.props.className).to.equal('index');
|
||||
});
|
||||
it('should have its component name as default className', () => {
|
||||
expect(MainComponent.props.className).to.equal('index');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user