test(frontend): Start backend automatisch op

This commit is contained in:
Tibo De Peuter 2025-04-16 22:03:35 +02:00
parent cbd214c445
commit 37be342137
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
2 changed files with 41 additions and 0 deletions

View file

@ -9,6 +9,8 @@ export default mergeConfig(
environment: "jsdom",
exclude: [...configDefaults.exclude, "e2e/**"],
root: fileURLToPath(new URL("./", import.meta.url)),
// Startup the backend server, because it is needed for some tests
globalSetup: [ "./tests/setup-backend.ts" ]
},
}),
);