diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-11-23 17:45:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 17:45:18 +0100 |
commit | bedb2adfb065c1b0d3bcb773fbeff91230402b6b (patch) | |
tree | b4d90c36f2409f7f9b6247b74e9c111a38befcdf /cli/tests/unit/webgpu_test.ts | |
parent | 51e3db956a5927229e3f46f4eaaf317e935f8f17 (diff) |
refactor: remove "unitTest" wrapper from cli/tests/unit (#12750)
Diffstat (limited to 'cli/tests/unit/webgpu_test.ts')
-rw-r--r-- | cli/tests/unit/webgpu_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/webgpu_test.ts b/cli/tests/unit/webgpu_test.ts index 7cfca007d..1d54d7b02 100644 --- a/cli/tests/unit/webgpu_test.ts +++ b/cli/tests/unit/webgpu_test.ts @@ -1,4 +1,4 @@ -import { assert, assertEquals, unitTest } from "./test_util.ts"; +import { assert, assertEquals } from "./test_util.ts"; let isCI: boolean; try { @@ -9,7 +9,7 @@ try { // Skip this test on linux CI, because the vulkan emulator is not good enough // yet, and skip on macOS because these do not have virtual GPUs. -unitTest({ +Deno.test({ permissions: { read: true, env: true }, ignore: (Deno.build.os === "linux" || Deno.build.os === "darwin") && isCI, }, async function webgpuComputePass() { @@ -100,7 +100,7 @@ unitTest({ // Skip this test on linux CI, because the vulkan emulator is not good enough // yet, and skip on macOS because these do not have virtual GPUs. -unitTest({ +Deno.test({ permissions: { read: true, env: true }, ignore: (Deno.build.os === "linux" || Deno.build.os === "darwin") && isCI, }, async function webgpuHelloTriangle() { |