From fab4bdf40d1fe1a53d00dbc0bc902c71d4446403 Mon Sep 17 00:00:00 2001 From: "Kevin (Kun) \"Kassimo\" Qian" Date: Wed, 19 Sep 2018 23:13:59 -0700 Subject: Add deno.arch/deno.platform (#773) --- js/platform_test.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 js/platform_test.ts (limited to 'js/platform_test.ts') 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"); +}); -- cgit v1.2.3