mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-17 00:56:22 +00:00
update the README
This commit is contained in:
parent
a33577eccb
commit
8b24dbc8bc
12
README.md
12
README.md
@ -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/).
|
||||
|
Loading…
x
Reference in New Issue
Block a user