mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-29 01:31:12 +00:00
19 lines
662 B
TypeScript
19 lines
662 B
TypeScript
// Windows CI scope tests cover paths with platform-specific runtime contracts.
|
|
import { describe, expect, it } from "vitest";
|
|
|
|
const { detectChangedScope } = await import("../../scripts/ci-changed-scope.mjs");
|
|
|
|
describe("detectChangedScope Windows routing", () => {
|
|
it("routes SQLite transcript archive changes to Windows", () => {
|
|
for (const archivePath of [
|
|
"src/config/sessions/session-accessor.sqlite-archive.ts",
|
|
"src/config/sessions/store.session-lifecycle-mutation.test.ts",
|
|
]) {
|
|
expect(detectChangedScope([archivePath]), archivePath).toMatchObject({
|
|
runNode: true,
|
|
runWindows: true,
|
|
});
|
|
}
|
|
});
|
|
});
|