update the README

This commit is contained in:
blagoev 2017-03-30 11:33:40 +03:00
parent a33577eccb
commit 8b24dbc8bc
1 changed files with 12 additions and 0 deletions

View File

@ -95,6 +95,14 @@ test.sh options
* node - runs all tests for node
* test-runners - checks supported tests runners are working correctly
On Windows some of these targets are available as npm commands.
```
npm run eslint
npm run node-tests
npm run test-runners
```
## Debugging the tests
You can attach a debugger to react-native tests by passing "Debug" to the tests.sh script. A Chrome browser will open and connect to the react native application. Use the built-in Chrome Debugger to debug the code.
@ -102,6 +110,10 @@ You can attach a debugger to react-native tests by passing "Debug" to the tests.
./tests.sh react-tests Debug
```
Using Visual Studio Code
You can debug node tests using Visual Studio Code. Just use one of the launch configurations.
## Code of Conduct
This project adheres to the Contributor Covenant [code of conduct](https://realm.io/conduct/).