fix: close durable queue and runtime gaps
This commit is contained in:
1 parent
1a94179b5f
commit
a9670c2a1c
19 files changed
+198
-26
No files matched your search
@@ -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