Skip to content

Commit

Permalink
wip: vitest pool testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Cherry committed Feb 25, 2024
1 parent 87e96a5 commit 94584e8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"test:watch": "vitest watch"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7978720501/npm-package-cloudflare-vitest-pool-workers-5060",
"@adaptivelink/pops": "0.5.8",
"@cloudflare/kv-asset-handler": "0.3.1",
"@cloudflare/vitest-pool-workers": "https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/7978720501/npm-package-cloudflare-vitest-pool-workers-5060",
"@cloudflare/workers-types": "4.20240222.0",
"@nodecraft/eslint-config": "34.0.1",
"@types/sanitize-html": "2.11.0",
Expand Down
6 changes: 5 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"include": [
"src"
"src",
"**/*.config.ts"
],
"exclude": [
"node_modules",

Check failure on line 110 in tsconfig.json

View workflow job for this annotation

GitHub Actions / test

Trailing comma
]
}
7 changes: 7 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,11 @@ export default defineConfig({
}),
},
},
build: {
rollupOptions: {
external: [
'__STATIC_CONTENT_MANIFEST',
],
},
},
});

0 comments on commit 94584e8

Please sign in to comment.