diff options
author | crowlKats <13135287+crowlKats@users.noreply.github.com> | 2020-11-26 17:22:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-26 17:22:36 +0100 |
commit | e6685f0f01b8a11a5eaff020f5babcfde76b3038 (patch) | |
tree | 6c6850bf7bc253f29aec97e2d221f87a2da53c50 /cli/tests/unit/tls_test.ts | |
parent | 2031418a24e6df65a600349db940a555b1220088 (diff) |
refactor(cli/tests): replace createResolvable with deferred (#8507)
Diffstat (limited to 'cli/tests/unit/tls_test.ts')
-rw-r--r-- | cli/tests/unit/tls_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/tls_test.ts b/cli/tests/unit/tls_test.ts index 058abf5d7..9e1c66161 100644 --- a/cli/tests/unit/tls_test.ts +++ b/cli/tests/unit/tls_test.ts @@ -4,7 +4,7 @@ import { assertEquals, assertThrows, assertThrowsAsync, - createResolvable, + deferred, unitTest, } from "./test_util.ts"; import { BufReader, BufWriter } from "../../../std/io/bufio.ts"; @@ -121,7 +121,7 @@ unitTest( unitTest( { perms: { read: true, net: true } }, async function dialAndListenTLS(): Promise<void> { - const resolvable = createResolvable(); + const resolvable = deferred(); const hostname = "localhost"; const port = 3500; |