Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

Latest commit

 

History

History
29 lines (26 loc) · 736 Bytes

CONTRIBUTING.md

File metadata and controls

29 lines (26 loc) · 736 Bytes

Running Tests

Make sure any new code is unit tested.

npm run test

If using Visual Studio Code, you can use the following launch config for quickly debugging unit tests

{
    "type": "node",
    "request": "launch",
    "name": "Run Unit Tests",
    "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
    "env": {
        "TS_NODE_COMPILER_OPTIONS":"{\"module\":\"commonjs\"}"
    },
    "args": [
        "--require", "ts-node/register",
        "-u", "tdd",
        "--timeout", "999999",
        "--colors", "--recursive",
        "${workspaceFolder}/test/unit/**/*.test.js"
    ],
    "internalConsoleOptions": "openOnSessionStart",
    "skipFiles": ["node_modules/**/*", "<node_internals>"]
}