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:
Thomas Scholtes
2024-05-27 09:21:08 +02:00
parent fb32e01a2f
commit 0e359d42d1
+1 -1
View File
@@ -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",