From e370b9377a6c53886c00bb51e75b6d3dbb68e221 Mon Sep 17 00:00:00 2001 From: Olivier Allouch Date: Thu, 30 May 2019 23:19:34 +0200 Subject: [PATCH] Update CONTRIBUTING.md (#5624) * Update CONTRIBUTING.md in "npm run test:win" , the ":win" msut be removed I think it's because of the cross-env * also removing the :win from coverage:win * Update CONTRIBUTING.md --- CONTRIBUTING.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fc9bcd25..5d4747c7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -48,12 +48,8 @@ Once you have babel running in watch mode, you can start making changes to parse ### Please Do's * Begin by reading the [Development Guide](http://docs.parseplatform.org/parse-server/guide/#development-guide) to learn how to get started running the parse-server. -* Take testing seriously! Aim to increase the test coverage with every pull request. To obtain the test coverage of the project, run: - * **Windows**: `npm run coverage:win` - * **Unix**: `npm run coverage` -* Run the tests for the file you are working on with the following command: - * **Windows**: `npm run test:win spec/MyFile.spec.js` - * **Unix**: `npm test spec/MyFile.spec.js` +* Take testing seriously! Aim to increase the test coverage with every pull request. To obtain the test coverage of the project, run: `npm run coverage` +* Run the tests for the file you are working on with the following command: `npm test spec/MyFile.spec.js` * Run the tests for the whole project to make sure the code passes all tests. This can be done by running the test command for a single file but removing the test file argument. The results can be seen at */coverage/lcov-report/index.html*. * Lint your code by running `npm run lint` to make sure the code is not going to be rejected by the CI. * **Do not** publish the *lib* folder.