Add Prettier and ESLint tooling (Refs #77)
This commit is contained in:
@@ -27,8 +27,12 @@ export async function newFixture(servers: string[] = ['t5_zombie_theater_1']): P
|
||||
await mkdir(betaArchive, { recursive: true });
|
||||
|
||||
for (const s of servers) {
|
||||
await mkdir(s.startsWith('t6_') ? join(t6, s, 'runtime/plutonium/storage/t6/scripts/zm')
|
||||
: join(t5, s, 'runtime/plutonium/storage/t5/raw/scripts/sp'), { recursive: true });
|
||||
await mkdir(
|
||||
s.startsWith('t6_')
|
||||
? join(t6, s, 'runtime/plutonium/storage/t6/scripts/zm')
|
||||
: join(t5, s, 'runtime/plutonium/storage/t5/raw/scripts/sp'),
|
||||
{ recursive: true }
|
||||
);
|
||||
}
|
||||
|
||||
process.env.SERVERS_ROOT = t5;
|
||||
@@ -49,7 +53,8 @@ export async function newFixture(servers: string[] = ['t5_zombie_theater_1']): P
|
||||
try {
|
||||
const { closeReports } = await import('../../src/lib/server/reports/index.js');
|
||||
await closeReports();
|
||||
const { closeLaunchPreparation } = await import('../../src/lib/server/provisioning/launch-preparation.js');
|
||||
const { closeLaunchPreparation } =
|
||||
await import('../../src/lib/server/provisioning/launch-preparation.js');
|
||||
await closeLaunchPreparation();
|
||||
const mod = (await import('../../src/lib/server/db/index.js')) as {
|
||||
closeDb: () => void;
|
||||
|
||||
Reference in New Issue
Block a user