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