app/apps/backend-e2e/src/support/global-setup.ts
Mathis 16487e5985
Refactor test URL and add new npm script
Updated the axios GET request in the backend test to use double quotes for consistency. Added a new 'fix' script in package.json for Biome to automatically fix and write unsafe changes. Changed var to let in global-setup.ts for better variable handling.
2024-10-15 11:29:56 +02:00

11 lines
338 B
TypeScript

/* eslint-disable */
let __TEARDOWN_MESSAGE__: string;
module.exports = async () => {
// Start services that that the app needs to run (e.g. database, docker-compose, etc.).
console.log("\nSetting up...\n");
// Hint: Use `globalThis` to pass variables to global teardown.
globalThis.__TEARDOWN_MESSAGE__ = "\nTearing down...\n";
};