Skip to content

Commit 45b8307

Browse files
v1rtlclaude
andcommitted
add --allow-env flag to fix test failures
The GraphQL library used in e2e tests requires NODE_ENV access. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 1a24f5c commit 45b8307

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
deno-version: v2.x
1919
- name: Run tests
20-
run: deno test --allow-net --allow-read --coverage=coverage
20+
run: deno test --allow-net --allow-read --allow-write --allow-env --coverage=coverage
2121
- name: Create coverage report
2222
run: deno coverage ./coverage --lcov > coverage.lcov
2323
- name: Coveralls

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"semiColons": false
88
},
99
"tasks": {
10-
"test": "deno test --allow-net --allow-read --allow-write --coverage=coverage"
10+
"test": "deno test --allow-net --allow-read --allow-write --allow-env --coverage=coverage"
1111
},
1212
"name": "@deno-libs/superfetch",
1313
"version": "3.0.0",

0 commit comments

Comments
 (0)