11 lines
274 B
TypeScript
11 lines
274 B
TypeScript
import { expect, tap } from 'tapbundle'
|
|
import * as smartdelay from 'smartdelay'
|
|
import early = require('../dist/index')
|
|
|
|
tap.test('.start()', async () => {
|
|
early.start('early')
|
|
await smartdelay.delayFor(2000)
|
|
})
|
|
tap.test('.stop()', async () => {
|
|
await early.stop()
|
|
}) |