blob: 3b310acc3c02719e59556362c3827df2941806ad (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
import { assert } from "./test_util.ts";
Deno.test(function buildInfo() {
// Deno.build is injected by rollup at compile time. Here
// we check it has been properly transformed.
const { arch, os } = Deno.build;
assert(arch.length > 0);
assert(os === "darwin" || os === "windows" || os === "linux");
});
|