1 var tap = require("tap")
4 test("bailout test", { skip: false }, function (t) {
6 // t.once("bailout", function () {
7 // console.error("bailout event")//, t)
11 // t.once("end", function () {
12 // console.error("end event")
15 // simulate three tests where the second bails out.
16 t.test("first", function (t) {
21 t.test("bailout", function (t) {
22 console.error("bailout test")
24 t.bailout("bail out message")
29 t.test("second (should not happen)", function (t) {
30 t.fail("this should not happen")