diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2018-12-10 11:59:59 -0800 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2018-12-10 11:59:59 -0800 |
commit | 15ab98ef2471a70853428535ab542ac0ccdf775a (patch) | |
tree | 62b3c7241803fcd38262eddd226e2d8b4d108639 | |
parent | a3fea5692d2ea8619d5a8288ed2a902d7fab5830 (diff) |
Import time util
-rw-r--r-- | src/test-runner/test-runner.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test-runner/test-runner.ts b/src/test-runner/test-runner.ts index 3a03296..2ccc7de 100644 --- a/src/test-runner/test-runner.ts +++ b/src/test-runner/test-runner.ts @@ -22,6 +22,8 @@ import { File } from '../reporters/file' import { Scheduler } from '../scheduler' +import { now } from '../util' + const adapterMap = { 'actiontec-t3200m': ActiontecT3200M } @@ -37,8 +39,6 @@ const reportersMap = { file: File } -const now = () => Date.now() / 1000 - const mapToObj = (keys: string[], mapObj: Object) => keys.map(k => mapObj[k]).filter(k => k != null) |