diff options
Diffstat (limited to 'cli/tests/unit/navigator_test.ts')
-rw-r--r-- | cli/tests/unit/navigator_test.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/unit/navigator_test.ts b/cli/tests/unit/navigator_test.ts new file mode 100644 index 000000000..10475d973 --- /dev/null +++ b/cli/tests/unit/navigator_test.ts @@ -0,0 +1,6 @@ +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. +import { assert, unitTest } from "./test_util.ts"; + +unitTest(function navigatorNumCpus(): void { + assert(navigator.hardwareConcurrency > 0); +}); |