summaryrefslogtreecommitdiff
path: root/cli/tests/unit/resources_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit/resources_test.ts')
-rw-r--r--cli/tests/unit/resources_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/resources_test.ts b/cli/tests/unit/resources_test.ts
index e4d420055..5742fd6a0 100644
--- a/cli/tests/unit/resources_test.ts
+++ b/cli/tests/unit/resources_test.ts
@@ -25,10 +25,10 @@ unitTest({ perms: { net: true } }, async function resourcesNet(): Promise<
const res = Deno.resources();
assertEquals(
Object.values(res).filter((r): boolean => r === "tcpListener").length,
- 1
+ 1,
);
const tcpStreams = Object.values(res).filter(
- (r): boolean => r === "tcpStream"
+ (r): boolean => r === "tcpStream",
);
assert(tcpStreams.length >= 2);
@@ -48,7 +48,7 @@ unitTest({ perms: { read: true } }, async function resourcesFile(): Promise<
// check that exactly one new resource (file) was added
assertEquals(
Object.keys(resourcesAfter).length,
- Object.keys(resourcesBefore).length + 1
+ Object.keys(resourcesBefore).length + 1,
);
const newRid = +Object.keys(resourcesAfter).find((rid): boolean => {
return !resourcesBefore.hasOwnProperty(rid);