From 8b24dbc8bc1151122cbe57338698f93139125db4 Mon Sep 17 00:00:00 2001 From: blagoev Date: Thu, 30 Mar 2017 11:33:40 +0300 Subject: [PATCH] update the README --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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/).