diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2022-03-23 12:04:20 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-23 12:04:20 +0900 |
commit | 7feb25d448b356ac869ef919c57ef314382a8eb7 (patch) | |
tree | 35b5137590366e915750ab19d6c3b7dbd3dfe32d /cli/tests/unit/test_util.ts | |
parent | 5c9844e5f7074b2623ff0ddd69f5adcd1356ae38 (diff) |
feat(unstable): add ref/unref to Listener (#13961)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tests/unit/test_util.ts')
-rw-r--r-- | cli/tests/unit/test_util.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/unit/test_util.ts b/cli/tests/unit/test_util.ts index b18ad9550..36ef8c0e7 100644 --- a/cli/tests/unit/test_util.ts +++ b/cli/tests/unit/test_util.ts @@ -30,7 +30,7 @@ export function pathToAbsoluteFileUrl(path: string): URL { const decoder = new TextDecoder(); -export async function execCode(code: string) { +export async function execCode(code: string): Promise<[number, string]> { const p = Deno.run({ cmd: [ Deno.execPath(), |