Switch to double quotes and reformat codebase with Biome
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import { readFileSync } from 'node:fs'
|
||||
import { describe, expect, test } from 'vitest'
|
||||
import { readFileSync } from "node:fs";
|
||||
import { describe, expect, test } from "vitest";
|
||||
|
||||
describe('supervisor lifecycle intents', () => {
|
||||
test('uses explicit shutdown and restart IPC intents', () => {
|
||||
const source = readFileSync(new URL('./supervisor.ts', import.meta.url), 'utf8')
|
||||
const legacyShutdownReason = ['cli', 'shutdown'].join('_')
|
||||
describe("supervisor lifecycle intents", () => {
|
||||
test("uses explicit shutdown and restart IPC intents", () => {
|
||||
const source = readFileSync(new URL("./supervisor.ts", import.meta.url), "utf8");
|
||||
const legacyShutdownReason = ["cli", "shutdown"].join("_");
|
||||
|
||||
expect(source).toContain('"paseo:shutdown"')
|
||||
expect(source).toContain('"paseo:restart"')
|
||||
expect(source).not.toContain(legacyShutdownReason)
|
||||
})
|
||||
})
|
||||
expect(source).toContain('"paseo:shutdown"');
|
||||
expect(source).toContain('"paseo:restart"');
|
||||
expect(source).not.toContain(legacyShutdownReason);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user