diff options
Diffstat (limited to 'js/platform_test.ts')
-rw-r--r-- | js/platform_test.ts | 9 |
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"); +}); |