dummy.ts
13 lines
| 328 B
| video/mp2t
|
TypeScriptLexer
|
|
r39 | import * as tape from "tape"; | ||
| import { Uuid } from "@implab/core/Uuid"; | ||||
|
|
r6 | |||
|
|
r39 | tape("simple", t => { | ||
|
|
r7 | t.pass("sync assert"); | ||
| setTimeout(() => { | ||||
| t.pass("async assert"); | ||||
|
|
r39 | t.comment(Uuid()); | ||
| t.ok(Uuid() !== Uuid()); | ||||
|
|
r7 | // end should be called after the last assertion | ||
| t.end(); | ||||
| }, 100); | ||||
|
|
r39 | }); | ||
