summaryrefslogtreecommitdiff
path: root/std/node/process_test.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-03-29 04:03:49 +1100
committerGitHub <noreply@github.com>2020-03-28 13:03:49 -0400
commitbced52505f32d6cca4f944bb610a8a26767908a8 (patch)
treeda49a5df4b7bd6f8306248069228cd6bd0db1303 /std/node/process_test.ts
parent1397b8e0e7c85762e19d88fde103342bfa563360 (diff)
Update to Prettier 2 and use ES Private Fields (#4498)
Diffstat (limited to 'std/node/process_test.ts')
-rw-r--r--std/node/process_test.ts18
1 files changed, 9 insertions, 9 deletions
diff --git a/std/node/process_test.ts b/std/node/process_test.ts
index f44143acb..b9d5388ea 100644
--- a/std/node/process_test.ts
+++ b/std/node/process_test.ts
@@ -14,7 +14,7 @@ test({
assert(process.cwd().match(/\Wnode$/));
process.chdir("..");
assert(process.cwd().match(/\Wstd$/));
- }
+ },
});
test({
@@ -30,7 +30,7 @@ test({
// "The system cannot find the file specified. (os error 2)" so "file" is
// the only common string here.
);
- }
+ },
});
test({
@@ -40,14 +40,14 @@ test({
assertEquals(typeof process.version, "string");
assertEquals(typeof process.versions, "object");
assertEquals(typeof process.versions.node, "string");
- }
+ },
});
test({
name: "process.platform",
fn() {
assertEquals(typeof process.platform, "string");
- }
+ },
});
test({
@@ -56,7 +56,7 @@ test({
assertEquals(typeof process.arch, "string");
// TODO(rsp): make sure that the arch strings should be the same in Node and Deno:
assertEquals(process.arch, Deno.build.arch);
- }
+ },
});
test({
@@ -64,7 +64,7 @@ test({
fn() {
assertEquals(typeof process.pid, "number");
assertEquals(process.pid, Deno.pid);
- }
+ },
});
test({
@@ -78,7 +78,7 @@ test({
Error,
"implemented"
);
- }
+ },
});
test({
@@ -90,12 +90,12 @@ test({
"deno included in the file name of argv[0]"
);
// we cannot test for anything else (we see test runner arguments here)
- }
+ },
});
test({
name: "process.env",
fn() {
assertEquals(typeof process.env.PATH, "string");
- }
+ },
});