aboutsummaryrefslogtreecommitdiff
path: root/tooling/talertest/talertest.d.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-27 19:20:27 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-27 19:20:27 +0200
commit9a1b2c8ccc5f079dae4966dfd011f4076a53dc20 (patch)
tree961e2d42c69126791b9e890fa971f0f33ded1920 /tooling/talertest/talertest.d.ts
parent592fd62402b7f0fdb8dbe08605381d3a74d929f2 (diff)
convert tests to ava tests
Diffstat (limited to 'tooling/talertest/talertest.d.ts')
-rw-r--r--tooling/talertest/talertest.d.ts19
1 files changed, 0 insertions, 19 deletions
diff --git a/tooling/talertest/talertest.d.ts b/tooling/talertest/talertest.d.ts
deleted file mode 100644
index 599b8b601..000000000
--- a/tooling/talertest/talertest.d.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- *
- * @author Florian Dold
- */
-export declare type TestFn = (t: TestLib) => void | Promise<void>;
-export interface TestLib {
- pass(msg?: string): void;
- fail(msg?: string): void;
- assert(v: any, msg?: string): void;
- assertEqualsStrict(v1: any, v2: any, msg?: string): void;
-}
-/**
- * Register a test case.
- */
-export declare function test(name: string, testFn: TestFn): void;
-/**
- * Run all registered test case, producing a TAP stream.
- */
-export declare function run(statusCallback?: (m: string) => void): Promise<void>;