Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Edited Issue: We should remove test parameter from unit test item template [1345]

$
0
0
The test parameter isn't used, it shows as undefined when debugging the test:
```
exports['Test 1'] = function (test) {
assert.ok(true, "This shouldn't fail");
}

exports['Test 2'] = function (test) {
var text = 'hello world';
assert.ok(1 === 1, "This shouldn't fail");
assert.ok(false, "This should fail");
}
```


Viewing all articles
Browse latest Browse all 4630

Trending Articles