Skip to content

Commit

Permalink
Test: Make sure we use new npm script name test-test
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Apr 14, 2016
1 parent eb863cc commit 2705965
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ node_modules: package.json | node-version
test: build
@npm run test-client
@npm run test-server
@npm run test-tests
@npm run test-test
@$(BIN)/run-all-tests

lint: node_modules/eslint node_modules/eslint-plugin-react node_modules/babel-eslint mixedindentlint
Expand Down
4 changes: 2 additions & 2 deletions test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ We provide three single test runners because of different node path rules applie
* `server/` folder
* `test/` folder
We have an `npm run` script for each of them: `npm run test-client`, `npm run test-server` and `npm run test-tests`. You can pass a filename or set of files to these scripts to isolate your test run to just your set of files.
We have an `npm run` script for each of them: `npm run test-client`, `npm run test-server` and `npm run test-test`. You can pass a filename or set of files to these scripts to isolate your test run to just your set of files.
Example for client:
Expand All @@ -63,7 +63,7 @@ Example for client:
> # run single test suite from server folder
> npm run test-server server/config/test/parser.js
> # run single test suite from test folder
> npm run test-tests test/helpers/use-nock/test/index.js
> npm run test-test test/helpers/use-nock/test/index.js
```
### How to run specified suite or test-case
Expand Down

0 comments on commit 2705965

Please sign in to comment.