mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 00:02:23 +00:00
f1e84cb088
* feat: add backend preview validation to ai evals Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: refresh shared preview workspace assets Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: harden shared backend preview validation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
495 B
TypeScript
19 lines
495 B
TypeScript
import { describe, expect, it } from "bun:test";
|
|
import { loadCases } from "./cases";
|
|
|
|
describe("loadCases", () => {
|
|
it("loads backend preview runtime config for opt-in flow cases", async () => {
|
|
const flowCases = await loadCases("flow");
|
|
const caseEntry = flowCases.find((entry) => entry.id === "flow-test1-reuse-existing-script");
|
|
|
|
expect(caseEntry?.runtime).toEqual({
|
|
backendPreview: {
|
|
args: {
|
|
a: 2,
|
|
b: 3,
|
|
},
|
|
},
|
|
});
|
|
});
|
|
});
|