import * as tape from "tape"; tape("simple", t => { t.pass("sync assert"); setTimeout(() => { t.pass("async assert"); // end should be called after the last assertion t.end(); }, 100); });