Skip to content

Commit

Permalink
Added different lines for component and unit tests
Browse files Browse the repository at this point in the history
contentmodulestore unit test needs fixing though.
  • Loading branch information
kadevgraaf committed Dec 4, 2017
1 parent b802ff8 commit c1b6753
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"dev:windows": "set HOST=127.0.0.1&& set PORT=3000&& node ./webpack/dev-server.js",
"langs": "babel plugins/intl/translate.js | node",
"lint": "eslint --ignore-path .gitignore -c .eslintrc \"./**/*.js\"",
"test": "npm run test:components",
"test:components": "mocha test/setup.js test/components/**/*.js",
"test:unit": "mocha test/setup.js test/unit/**/*.js",
"coverage": "istanbul cover _mocha -- --require babel-register test/setup.js test/components/*.js",
"coverall": "npm run coverage && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"countLOC": "sloc -f cli-table -k total,source,comment,empty -e node_modules\\|coverage\\|.git\\|bower_components\\|custom_modules ./",
Expand Down
3 changes: 2 additions & 1 deletion test/unit/ContentModulesStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import React from 'react';
import createMockComponentContext from 'fluxible/utils/createMockComponentContext';
import provideContext from 'fluxible-addons-react/provideContext';
import connectToStores from 'fluxible-addons-react/connectToStores';
import TestUtils from 'react-addons-test-utils';
//import TestUtils from 'react-addons-test-utils';
import TestUtils from 'react-dom/test-utils';
import {expect} from 'chai';
import ContentModuleStore from '../../stores/ContentModulesStore';

Expand Down

0 comments on commit c1b6753

Please sign in to comment.