mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-07-02 18:48:36 +08:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 32fb22fbe6 | |||
| 9c921f608d | |||
| 834fe2569d |
@@ -1,5 +1,10 @@
|
|||||||
# react-webpack-template - Changelog
|
# react-webpack-template - Changelog
|
||||||
|
|
||||||
|
## 1.2.1:
|
||||||
|
|
||||||
|
1. Updated lodash to latest stable version
|
||||||
|
2. Cleaned up formatting of unittests
|
||||||
|
|
||||||
## 1.2.0:
|
## 1.2.0:
|
||||||
|
|
||||||
1. Updated core-js to new 2.0 stable
|
1. Updated core-js to new 2.0 stable
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-webpack-template",
|
"name": "react-webpack-template",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"description": "A base skeleton template for react and webpack without task runners",
|
"description": "A base skeleton template for react and webpack without task runners",
|
||||||
"main": "server.js",
|
"main": "server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
"karma-phantomjs-shim": "^1.1.1",
|
"karma-phantomjs-shim": "^1.1.1",
|
||||||
"karma-sourcemap-loader": "^0.3.5",
|
"karma-sourcemap-loader": "^0.3.5",
|
||||||
"karma-webpack": "^1.7.0",
|
"karma-webpack": "^1.7.0",
|
||||||
"lodash": "^3.10.1",
|
"lodash": "^4.0.0",
|
||||||
"minimist": "^1.2.0",
|
"minimist": "^1.2.0",
|
||||||
"mocha": "^2.2.5",
|
"mocha": "^2.2.5",
|
||||||
"null-loader": "^0.1.1",
|
"null-loader": "^0.1.1",
|
||||||
|
|||||||
@@ -11,13 +11,13 @@ import createComponent from 'helpers/shallowRenderHelper';
|
|||||||
import Main from 'components/Main';
|
import Main from 'components/Main';
|
||||||
|
|
||||||
describe('MainComponent', () => {
|
describe('MainComponent', () => {
|
||||||
let MainComponent;
|
let MainComponent;
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
MainComponent = createComponent(Main);
|
MainComponent = createComponent(Main);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should have its component name as default className', () => {
|
it('should have its component name as default className', () => {
|
||||||
expect(MainComponent.props.className).to.equal('index');
|
expect(MainComponent.props.className).to.equal('index');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user