diff --git a/README.md b/README.md index fe41a8d4..dd06e04e 100644 --- a/README.md +++ b/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/).