StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/tape/test/onFailure.js

21 lines
543 B

var tap = require("tap");
var tape = require("../").createHarness();
//Because this test passing depends on a failure,
//we must direct the failing output of the inner test
var noop = function () {};
var mockSink = {on: noop, removeListener: noop, emit: noop, end: noop};
tape.createStream().pipe(mockSink);
tap.test("on failure", { timeout: 1000 }, function (tt) {
tt.plan(1);
tape("dummy test", function (t) {
t.fail();
t.end();
});
tape.onFailure(function () {
tt.pass("tape ended");
});
});