


























@@ -352,7 +352,7 @@ describe("collectControlUiPackErrors", () => {
352352"dist/control-ui/assets/index-Bu8rSoJV.js",
353353"dist/control-ui/assets/index-BK0yXA_h.css",
354354]),
355-).toEqual([]);
355+).toStrictEqual([]);
356356});
357357});
358358@@ -486,7 +486,7 @@ describe("collectPackedTestCargoErrors", () => {
486486"dist/extensions/whatsapp/node_modules/pino/lib/proto.js",
487487"dist/extensions/webhooks/node_modules/zod/v4/core/api.js",
488488]),
489-).toEqual([]);
489+).toStrictEqual([]);
490490});
491491492492it("allows legitimate package roots named test under node_modules", () => {
@@ -495,7 +495,7 @@ describe("collectPackedTestCargoErrors", () => {
495495"dist/extensions/fixture-plugin/node_modules/direct/node_modules/test/index.js",
496496"dist/extensions/fixture-plugin/node_modules/direct/node_modules/@scope/tests/index.js",
497497]),
498-).toEqual([]);
498+).toStrictEqual([]);
499499});
500500501501it("allows leaf runtime filenames named test or tests", () => {
@@ -504,7 +504,7 @@ describe("collectPackedTestCargoErrors", () => {
504504"dist/extensions/fixture-plugin/node_modules/direct/bin/test",
505505"dist/extensions/fixture-plugin/node_modules/direct/bin/tests",
506506]),
507-).toEqual([]);
507+).toStrictEqual([]);
508508});
509509510510it("normalizes Windows or mixed separators before classifying test cargo", () => {
@@ -529,7 +529,7 @@ describe("collectReleaseTagErrors", () => {
529529releaseTag: "v2026.3.10",
530530now: new Date("2026-03-11T12:00:00Z"),
531531}),
532-).toEqual([]);
532+).toStrictEqual([]);
533533});
534534535535it("rejects versions outside the two-day CalVer window", () => {
@@ -549,7 +549,7 @@ describe("collectReleaseTagErrors", () => {
549549releaseTag: "v2026.3.10-1",
550550now: new Date("2026-03-10T00:00:00Z"),
551551}),
552-).toEqual([]);
552+).toStrictEqual([]);
553553});
554554555555it("accepts correction package versions paired with matching correction tags", () => {
@@ -559,7 +559,7 @@ describe("collectReleaseTagErrors", () => {
559559releaseTag: "v2026.3.10-1",
560560now: new Date("2026-03-10T00:00:00Z"),
561561}),
562-).toEqual([]);
562+).toStrictEqual([]);
563563});
564564565565it("rejects beta package versions paired with fallback correction tags", () => {
@@ -583,7 +583,7 @@ describe("collectReleasePackageMetadataErrors", () => {
583583repository: { url: "git+https://github.com/openclaw/openclaw.git" },
584584bin: { openclaw: "openclaw.mjs" },
585585}),
586-).toEqual([]);
586+).toStrictEqual([]);
587587});
588588589589it("rejects node-llama-cpp as a peer dependency", () => {
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。