diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2019-08-14 22:12:35 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-08-14 16:12:35 -0400 |
commit | d928c0ca31d6ec8533d5fab5d084ad3708f63ad5 (patch) | |
tree | 8e15773027f6e7c0a223ccf9b5b7f8136b63dc27 /testing/test.ts | |
parent | eab0647bd1184d0ade9a54b8720eb52300d2ba5d (diff) |
feat: add overloaded form of unit test declaration (denoland/deno_std#563)
Original: https://github.com/denoland/deno_std/commit/bd146e0188dbd2c4a802e0af6e6b0705675c4abb
Diffstat (limited to 'testing/test.ts')
-rw-r--r-- | testing/test.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/test.ts b/testing/test.ts index 8c86791ba..3a35be1e9 100644 --- a/testing/test.ts +++ b/testing/test.ts @@ -263,4 +263,9 @@ test(async function testingThrowsAsyncMsgNotIncludes(): Promise<void> { assert(didThrow); }); +test("test fn overloading", (): void => { + // just verifying that you can use this test definition syntax + assert(true); +}); + runIfMain(import.meta); |