Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
amorey committed Apr 14, 2024
1 parent fcff740 commit cc070b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"scripts": {
"build": "tsc && vite build",
"lint": "eslint \"./src/**/*.ts{,x}\"",
"test": "vitest"
"test": "vitest",
"test-all": "vitest run --environment node && vitest run --environment edge-runtime && vitest run --environment miniflare"
},
"devDependencies": {
"@edge-runtime/vm": "^3.2.0",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default defineConfig({
},
},
test: {
environment: 'miniflare',
environment: 'edge-runtime',
globals: true,
},
});

0 comments on commit cc070b9

Please sign in to comment.