diff options
author | Casper Beyer <caspervonb@pm.me> | 2021-09-23 07:50:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 01:50:50 +0200 |
commit | 830586d242216e64fcd16e65cc83db9d54d63dc0 (patch) | |
tree | a84f0090faaa14879693016e9d9b13fcfbb92dcd /cli/tests/unit/body_test.ts | |
parent | 87e78802b0ae65cc57d66eaa8e5265f74cf69092 (diff) |
test(cli): align unit test permissions with runtime test permissions (#12189)
Diffstat (limited to 'cli/tests/unit/body_test.ts')
-rw-r--r-- | cli/tests/unit/body_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/body_test.ts b/cli/tests/unit/body_test.ts index fe0bbe25c..1c12c5eda 100644 --- a/cli/tests/unit/body_test.ts +++ b/cli/tests/unit/body_test.ts @@ -35,7 +35,7 @@ unitTest(async function arrayBufferFromByteArrays() { //FormData unitTest( - { perms: { net: true } }, + { permissions: { net: true } }, async function bodyMultipartFormData() { const response = await fetch( "http://localhost:4545/multipart_form_data.txt", @@ -54,7 +54,7 @@ unitTest( ); unitTest( - { perms: { net: true } }, + { permissions: { net: true } }, async function bodyURLEncodedFormData() { const response = await fetch( "http://localhost:4545/subdir/form_urlencoded.txt", @@ -73,7 +73,7 @@ unitTest( }, ); -unitTest({ perms: {} }, async function bodyURLSearchParams() { +unitTest({ permissions: {} }, async function bodyURLSearchParams() { const body = buildBody(new URLSearchParams({ hello: "world" })); const text = await body.text(); |