diff options
| author | Casper Beyer <caspervonb@pm.me> | 2021-07-06 00:36:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-05 18:36:43 +0200 |
| commit | 407de8b8347bae165e60b9ccf0bce8050ba861fa (patch) | |
| tree | 39d5c072d6a58923fa721b7aa297fcae9209a4d4 /cli/tests/test/ignore_permissions.ts | |
| parent | 0a33cc1951940ebf862361106635ff1bb39d852b (diff) | |
fix(runtime): ignored tests should not cause permission changes (#11278)
Diffstat (limited to 'cli/tests/test/ignore_permissions.ts')
| -rw-r--r-- | cli/tests/test/ignore_permissions.ts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cli/tests/test/ignore_permissions.ts b/cli/tests/test/ignore_permissions.ts new file mode 100644 index 000000000..bd0567a46 --- /dev/null +++ b/cli/tests/test/ignore_permissions.ts @@ -0,0 +1,16 @@ +Deno.test({ + name: "ignore", + permissions: { + read: true, + write: true, + net: true, + env: true, + run: true, + plugin: true, + hrtime: true, + }, + ignore: true, + fn() { + throw new Error("unreachable"); + }, +}); |
