Sfoglia il codice sorgente

Internal: Renamed the `test:manual` script to `manual`. Closes #1091.

Piotrek Koszuliński 7 anni fa
parent
commit
726a789983

+ 3 - 3
docs/framework/guides/contributing/development-environment.md

@@ -149,7 +149,7 @@ Lerna is a tool used by many well-known projects such as [Babel.js](https://gith
 
 ## Running tests
 
-In order to run tests you need to use the `test` and `test:manual` tasks.
+In order to run tests you need to use the `test` and `manual` tasks.
 
 ```bash
 npm test -- --watch --coverage --source-map --files=engine
@@ -165,10 +165,10 @@ This command will run the [`ckeditor5-engine`](https://github.com/ckeditor/ckedi
 
 **Note:** It is not possible to run tests of all packages with code coverage at once because the size of the project (the number of test files and source modules) exceeds webpack's capabilities (it runs out of memory).
 
-To create a server for manual tests use the `test:manual` task:
+To create a server for manual tests use the `manual` task:
 
 ```bash
-npm run test:manual
+npm run manual
 ```
 
 It accepts the `--source-map` (`-s`) option. Note that it watches for changes in the JavaScript files only (see the [bug](https://github.com/ckeditor/ckeditor5-dev/issues/52)).

+ 1 - 1
docs/framework/guides/contributing/testing-environment.md

@@ -48,7 +48,7 @@ npm test -- -cw --files=basic-styles/bold*.js
 
 ## Running manual tests
 
-In order to start the manual tests server use the `npm run test:manual` task.
+In order to start the manual tests server use the `npm run manual` task.
 
 The task accepts the `--source-map` (alias `-s`) option.
 

+ 1 - 1
package.json

@@ -102,7 +102,7 @@
     "lint": "eslint --quiet '**/*.js'",
     "precommit": "lint-staged",
     "test": "node --max_old_space_size=4096 node_modules/@ckeditor/ckeditor5-dev-tests/bin/test.js",
-    "test:manual": "node --max_old_space_size=4096 node_modules/@ckeditor/ckeditor5-dev-tests/bin/test-manual.js",
+    "manual": "node --max_old_space_size=4096 node_modules/@ckeditor/ckeditor5-dev-tests/bin/test-manual.js",
     "reinstall": "rm -rf ./packages ./node_modules && mgit bootstrap && lerna bootstrap",
     "docs": "node ./scripts/docs/build-docs.js",
     "docs:api": "node ./scripts/docs/build-api-docs.js",