summaryrefslogtreecommitdiff
path: root/cli/tests/unit/webgpu_test.ts
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-09-23 07:50:50 +0800
committerGitHub <noreply@github.com>2021-09-23 01:50:50 +0200
commit830586d242216e64fcd16e65cc83db9d54d63dc0 (patch)
treea84f0090faaa14879693016e9d9b13fcfbb92dcd /cli/tests/unit/webgpu_test.ts
parent87e78802b0ae65cc57d66eaa8e5265f74cf69092 (diff)
test(cli): align unit test permissions with runtime test permissions (#12189)
Diffstat (limited to 'cli/tests/unit/webgpu_test.ts')
-rw-r--r--cli/tests/unit/webgpu_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/unit/webgpu_test.ts b/cli/tests/unit/webgpu_test.ts
index cbefa7c07..7cfca007d 100644
--- a/cli/tests/unit/webgpu_test.ts
+++ b/cli/tests/unit/webgpu_test.ts
@@ -10,7 +10,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({
- perms: { read: true, env: true },
+ permissions: { read: true, env: true },
ignore: (Deno.build.os === "linux" || Deno.build.os === "darwin") && isCI,
}, async function webgpuComputePass() {
const adapter = await navigator.gpu.requestAdapter();
@@ -101,7 +101,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({
- perms: { read: true, env: true },
+ permissions: { read: true, env: true },
ignore: (Deno.build.os === "linux" || Deno.build.os === "darwin") && isCI,
}, async function webgpuHelloTriangle() {
const adapter = await navigator.gpu.requestAdapter();