




















@@ -674,14 +674,14 @@ describe("resolvePluginProviders", () => {
674674env: {} as NodeJS.ProcessEnv,
675675onlyPluginIds: [],
676676}),
677-).toEqual([]);
677+).toStrictEqual([]);
678678expect(
679679resolveDiscoveredProviderPluginIds({
680680config: {},
681681env: {} as NodeJS.ProcessEnv,
682682onlyPluginIds: [],
683683}),
684-).toEqual([]);
684+).toStrictEqual([]);
685685});
686686687687it.each([
@@ -1169,7 +1169,7 @@ describe("resolvePluginProviders", () => {
11691169},
11701170},
11711171}),
1172-).toEqual([]);
1172+).toStrictEqual([]);
11731173});
1174117411751175it("does not activate explicit runtime owners disabled in config", () => {
@@ -1194,7 +1194,7 @@ describe("resolvePluginProviders", () => {
11941194},
11951195},
11961196}),
1197-).toEqual([]);
1197+).toStrictEqual([]);
11981198});
1199119912001200it("does not activate explicit runtime owners outside the allowlist", () => {
@@ -1217,7 +1217,7 @@ describe("resolvePluginProviders", () => {
12171217},
12181218},
12191219}),
1220-).toEqual([]);
1220+).toStrictEqual([]);
12211221});
1222122212231223it("uses setup.providers to keep explicit provider owners on the setup path", () => {
@@ -1326,7 +1326,7 @@ describe("resolvePluginProviders", () => {
13261326includeUntrustedWorkspacePlugins: false,
13271327});
132813281329-expect(providers).toEqual([]);
1329+expect(providers).toStrictEqual([]);
13301330expect(loadOpenClawPluginsMock).not.toHaveBeenCalled();
13311331});
13321332@@ -1350,7 +1350,7 @@ describe("resolvePluginProviders", () => {
13501350includeUntrustedWorkspacePlugins: false,
13511351});
135213521353-expect(providers).toEqual([]);
1353+expect(providers).toStrictEqual([]);
13541354expect(resolveRuntimePluginRegistryMock).not.toHaveBeenCalled();
13551355expect(getRuntimePluginRegistryForLoadOptionsMock).not.toHaveBeenCalled();
13561356});
@@ -1374,7 +1374,7 @@ describe("resolvePluginProviders", () => {
13741374activate: true,
13751375});
137613761377-expect(providers).toEqual([]);
1377+expect(providers).toStrictEqual([]);
13781378expect(resolveRuntimePluginRegistryMock).not.toHaveBeenCalled();
13791379expect(getRuntimePluginRegistryForLoadOptionsMock).not.toHaveBeenCalled();
13801380});
@@ -1401,7 +1401,7 @@ describe("resolvePluginProviders", () => {
14011401activate: true,
14021402});
140314031404-expect(providers).toEqual([]);
1404+expect(providers).toStrictEqual([]);
14051405expect(resolveRuntimePluginRegistryMock).not.toHaveBeenCalled();
14061406expect(getRuntimePluginRegistryForLoadOptionsMock).not.toHaveBeenCalled();
14071407});
@@ -1432,7 +1432,7 @@ describe("resolvePluginProviders", () => {
14321432},
14331433includeUntrustedWorkspacePlugins: false,
14341434}),
1435-).toEqual([]);
1435+).toStrictEqual([]);
14361436});
1437143714381438it("does not auto-activate explicitly disabled trusted workspace runtime owners", () => {
@@ -1460,7 +1460,7 @@ describe("resolvePluginProviders", () => {
14601460},
14611461includeUntrustedWorkspacePlugins: false,
14621462}),
1463-).toEqual([]);
1463+).toStrictEqual([]);
14641464});
1465146514661466it("keeps legacy CLI backend ownership as the explicit provider fallback", () => {
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。