summaryrefslogtreecommitdiff
path: root/js/platform_test.ts
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2018-09-19 23:13:59 -0700
committerRyan Dahl <ry@tinyclouds.org>2018-09-20 02:13:59 -0400
commitfab4bdf40d1fe1a53d00dbc0bc902c71d4446403 (patch)
tree843aa0d5cf867fdcefeee991655332da372d9b47 /js/platform_test.ts
parent017ef096dfb0592d828804175e582895a3f39954 (diff)
Add deno.arch/deno.platform (#773)
Diffstat (limited to 'js/platform_test.ts')
-rw-r--r--js/platform_test.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/platform_test.ts b/js/platform_test.ts
new file mode 100644
index 000000000..80a1d9325
--- /dev/null
+++ b/js/platform_test.ts
@@ -0,0 +1,9 @@
+// Copyright 2018 the Deno authors. All rights reserved. MIT license.
+import { test, assert } from "./test_util.ts";
+import * as deno from "deno";
+
+test(function transformPlatformSuccess() {
+ // Make sure they are transformed
+ assert(deno.arch !== "unknown");
+ assert(deno.platform !== "unknown");
+});