mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 18:20:30 +08:00
Run httpd-client tests in node environment
This prevents polyfills being installed that break node-only libraries. Also silences warnings when a vite server is not running while running the tests.
This commit is contained in:
@@ -10,7 +10,7 @@ export default defineConfig({
|
||||
}),
|
||||
],
|
||||
test: {
|
||||
environment: "happy-dom",
|
||||
environment: "node",
|
||||
include: ["httpd-client/tests/*.test.ts"],
|
||||
reporters: "verbose",
|
||||
globalSetup: "./tests/support/globalSetup",
|
||||
|
||||
Reference in New Issue
Block a user