fix: close durable queue and runtime gaps
This commit is contained in:
@@ -50,6 +50,15 @@ describe("test command planning", () => {
|
||||
test("keeps the unfiltered legacy command", async () => {
|
||||
const plan = createTestPlan(await fixture(), ["--watch"]);
|
||||
expect(plan.level).toBeUndefined();
|
||||
expect(plan.args).toEqual(["test", "--watch"]);
|
||||
expect(plan.args[0]).toBe("test");
|
||||
expect(plan.args).toContain("--preload");
|
||||
expect(plan.args.at(-1)).toBe("--watch");
|
||||
expect(plan.env?.WRNEXUS_PROFILE).toBe("test");
|
||||
});
|
||||
|
||||
test("passes the selected profile to automatic database setup", async () => {
|
||||
const plan = createTestPlan(await fixture(), ["--profile=ci"]);
|
||||
expect(plan.env?.WRNEXUS_PROFILE).toBe("ci");
|
||||
expect(plan.args).not.toContain("--profile=ci");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user