dot.dot.dot.exampol
This commit is contained in:
commit
a0bc2d79de
406 changed files with 34577 additions and 0 deletions
16
node_modules/tap/test-disabled/t.js
generated
vendored
Normal file
16
node_modules/tap/test-disabled/t.js
generated
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
var test = require('tap').test;
|
||||
|
||||
function foo() {
|
||||
throw new Error('one');
|
||||
}
|
||||
|
||||
test('demonstrate bug in t.throws', function (t) {
|
||||
t.throws(
|
||||
function () {
|
||||
foo();
|
||||
},
|
||||
new Error('two')),
|
||||
// "this should throw",
|
||||
// {}); // not 'one'!
|
||||
t.end();
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue