mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 04:47:03 -06:00
test: isolate provider auth parity suite (#107167)
This commit is contained in:
committed by
GitHub
parent
84500db379
commit
69a578034f
@@ -187,8 +187,11 @@ describe("scripts/run-vitest", () => {
|
||||
]);
|
||||
});
|
||||
|
||||
it("keeps tooling-excluded explicit tests on existing routing", () => {
|
||||
const argv = ["run", "test/scripts/openclaw-e2e-instance.test.ts"];
|
||||
it.each([
|
||||
"test/plugins/bundled-provider-auth-literal-parity.test.ts",
|
||||
"test/scripts/openclaw-e2e-instance.test.ts",
|
||||
])("keeps tooling-excluded explicit test %s on existing routing", (testFile) => {
|
||||
const argv = ["run", testFile];
|
||||
expect(resolveImplicitVitestArgs(argv)).toBe(argv);
|
||||
});
|
||||
|
||||
|
||||
@@ -2453,6 +2453,19 @@ describe("scripts/test-projects changed-target routing", () => {
|
||||
]);
|
||||
});
|
||||
|
||||
it("routes the bundled provider auth parity test to the isolated tooling shard", () => {
|
||||
expect(
|
||||
buildVitestRunPlans(["test/plugins/bundled-provider-auth-literal-parity.test.ts"]),
|
||||
).toEqual([
|
||||
{
|
||||
config: "test/vitest/vitest.tooling-isolated.config.ts",
|
||||
forwardedArgs: [],
|
||||
includePatterns: ["test/plugins/bundled-provider-auth-literal-parity.test.ts"],
|
||||
watchMode: false,
|
||||
},
|
||||
]);
|
||||
});
|
||||
|
||||
it("routes Docker E2E script targets to their owner tooling tests", () => {
|
||||
const targets = [
|
||||
"scripts/e2e/kitchen-sink-plugin-docker.sh",
|
||||
|
||||
Reference in New Issue
Block a user