diff --git a/Makefile b/Makefile index a643f0ee5ceca..890328f900a55 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/test/README.md b/test/README.md index 1a14b49ae6e09..65bdc61b0286f 100644 --- a/test/README.md +++ b/test/README.md @@ -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: @@ -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