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.
11 lines
338 B
TypeScript
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";
|
|
};
|