From b62d72542bef1b404f21b4a8f2475e80d69ffb62 Mon Sep 17 00:00:00 2001 From: Andrew Stanton-Nurse Date: Sat, 19 May 2018 21:54:10 -0700 Subject: [PATCH] Add note about building TS library first (#2324) --- clients/ts/DebuggingTests.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/clients/ts/DebuggingTests.md b/clients/ts/DebuggingTests.md index 66adbd9c09..c3c3e66636 100644 --- a/clients/ts/DebuggingTests.md +++ b/clients/ts/DebuggingTests.md @@ -6,6 +6,14 @@ Prerequisites: NodeJS, have run `./build.cmd /t:Restore` at least once since cle All commands must be run from this directory (the `clients/ts` directory). +## Building the library before running tests + +You need to build the libraries any time you make a change, before you can run the tests. Do this by running the following command from the `clients/ts` folder: + +``` +> npm run build +``` + ## Running all tests ``` @@ -91,4 +99,4 @@ You can launch all tests under the debugger in Visual Studio Code by clicking on You can launch all tests **in the currently open file** under the debugger in Visual Studio Code by clicking on the "Debug" tab on the left side, selecting "Jest - Current File" in the dropdown at the top and clicking the play button, or pressing F5. -**NOTE**: Pair this with `.only` to easily debug a single test! \ No newline at end of file +**NOTE**: Pair this with `.only` to easily debug a single test!