chore(frontend): Verwijder test-app stdio

This commit is contained in:
Tibo De Peuter 2025-04-21 12:49:42 +02:00
parent 6edb86507c
commit 57b74163be
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2

View file

@ -18,13 +18,11 @@ export async function setup(): Promise<void> {
// Precompile needed packages // Precompile needed packages
spawnSync("npx", ["tsc", "--build", "tsconfig.json"], { spawnSync("npx", ["tsc", "--build", "tsconfig.json"], {
cwd: `../common`, cwd: `../common`,
stdio: "inherit",
}); });
// Spin up the backend // Spin up the backend
backendProcess = spawn("npx", ["tsx", "--env-file=.env.test", "tool/startTestApp.ts"], { backendProcess = spawn("npx", ["tsx", "--env-file=.env.test", "tool/startTestApp.ts"], {
cwd: `../backend`, cwd: `../backend`,
stdio: "inherit",
env: { env: {
...process.env, ...process.env,
NODE_ENV: "test", NODE_ENV: "test",