Skip to content

Commit

Permalink
Include typescript info in vscode guide
Browse files Browse the repository at this point in the history
  • Loading branch information
alcuadrado committed Feb 23, 2020
1 parent e5fe133 commit 2960353
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/guides/vscode-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,12 @@ npm install --save-dev mocha
Now, you can set a shortcut for this VS Code command `test-explorer.run-test-at-cursor`, and you
will be to run the test you are currently editing with it.

## Running TypeScript test

Running tests written in TypeScript from [Visual Studio Code](https://code.visualstudio.com) requires two extra steps.

First, you have to add this property to your `.mocharc.json`: `"extension": ["ts"]`.

Then, you have to set the vscode option `"mochaExplorer.files"` to `"test/**/*.{j,t}s"`.

For any help or feedback you may have, you can find us in the [Buidler Support Telegram group](http://t.me/BuidlerSupport).

0 comments on commit 2960353

Please sign in to comment.