test: increase root-alias test timeout for Windows CI

This commit is contained in:
yuandiaodiaodiao
2026-03-04 17:55:51 +08:00
committed by Shakker
parent d1ad9e2753
commit 00f0686035

View File

@@ -27,14 +27,14 @@ describe("plugin-sdk root alias", () => {
expect(parsed.success).toBe(false);
});
it("loads legacy root exports lazily through the proxy", () => {
it("loads legacy root exports lazily through the proxy", { timeout: 240_000 }, () => {
expect(typeof rootSdk.resolveControlCommandGate).toBe("function");
expect(typeof rootSdk.default).toBe("object");
expect(rootSdk.default).toBe(rootSdk);
expect(rootSdk.__esModule).toBe(true);
});
it("preserves reflection semantics for lazily resolved exports", () => {
it("preserves reflection semantics for lazily resolved exports", { timeout: 240_000 }, () => {
expect("resolveControlCommandGate" in rootSdk).toBe(true);
const keys = Object.keys(rootSdk);
expect(keys).toContain("resolveControlCommandGate");