hugs
Version:
Hugs - a wrapper for test frameworks
46 lines • 1.39 kB
JSON
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "mocha unit tests",
"type": "node",
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"stopOnEntry": false,
"args": ["--no-timeouts", "--colors", "--recursive", "test/unit/**/*.js"],
"cwd": "${workspaceRoot}",
"runtimeExecutable": null,
"env": {
"NODE_ENV": "dev"
}
},
{
"name": "mocha functional tests (mocha)",
"type": "node",
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"stopOnEntry": false,
"args": ["--no-timeouts", "--colors", "--recursive", "test/functional/tests.js"],
"cwd": "${workspaceRoot}",
"runtimeExecutable": null,
"env": {
"NODE_ENV": "dev",
"HUGS_LIB": "mocha"
}
},
{
"name": "mocha functional tests (tap)",
"type": "node",
"program": "${workspaceRoot}/node_modules/.bin/tap",
"stopOnEntry": false,
"args": ["test/functional/tests.js"],
"cwd": "${workspaceRoot}",
"runtimeExecutable": null,
"env": {
"NODE_ENV": "dev",
"HUGS_LIB": "tap"
}
}
]
}