commando.html5/node_modules/tap/test/independent-timeouts.js
Captain Nick Lucifer* a0bc2d79de dot.dot.dot.exampol
2023-03-10 23:21:16 +05:45

16 lines
318 B
JavaScript

// https://github.com/isaacs/node-tap/issues/23
var tap = require("../")
, test = tap.test
test("finishes in time", {timeout: 500}, function(t) {
setTimeout(function () {
t.end();
}, 300);
})
test("finishes in time too", {timeout: 500}, function(t) {
setTimeout(function () {
t.end();
}, 300);
})