Switched to Jest testing framework.
Made tests pass again. Created entries.spec.js + made it pass. Added wallaby.config.js to support wallaby.js runner.
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "webpack-dev-server --config webpack.dev.js",
|
||||
"test": "NODE_ENV=test mocha --recursive --compilers js:babel-register --require ./test/setup.js",
|
||||
"test": "NODE_ENV=test jest",
|
||||
"test:watch": "npm test -- --watch",
|
||||
"build": "webpack --config webpack.config.js",
|
||||
"storybook": "start-storybook -p 9001",
|
||||
@ -39,7 +39,6 @@
|
||||
"babel-plugin-transform-object-rest-spread": "^6.5.0",
|
||||
"babel-preset-es2015": "^6.5.0",
|
||||
"babel-preset-react": "^6.5.0",
|
||||
"babel-register": "^6.5.2",
|
||||
"babel-runtime": "^6.5.0",
|
||||
"css-loader": "^0.23.1",
|
||||
"eslint": "^3.5.0",
|
||||
@ -49,9 +48,9 @@
|
||||
"file-loader": "^0.8.5",
|
||||
"immutable": "^3.7.6",
|
||||
"imports-loader": "^0.6.5",
|
||||
"jest-cli": "^15.1.1",
|
||||
"js-yaml": "^3.5.3",
|
||||
"lint-staged": "^3.0.2",
|
||||
"mocha": "^2.4.5",
|
||||
"moment": "^2.11.2",
|
||||
"node-sass": "^3.10.0",
|
||||
"normalizr": "^2.0.0",
|
||||
|
Reference in New Issue
Block a user