test: tighten registry empty array assertions

This commit is contained in:
Shakker
2026-05-09 05:40:00 +01:00
parent e7f3644207
commit 3ee3fd72bb
24 changed files with 62 additions and 56 deletions

View File

@@ -138,7 +138,7 @@ describe("createPluginModuleLoader", () => {
},
});
expect(sourceLoaderCalls).toEqual([]);
expect(sourceLoaderCalls).toStrictEqual([]);
});
it("loads packaged JavaScript without creating a module loader", async () => {
@@ -171,6 +171,6 @@ describe("createPluginModuleLoader", () => {
});
expect(registry.plugins.find((plugin) => plugin.id === "npm-demo")?.status).toBe("loaded");
expect(sourceLoaderCalls).toEqual([]);
expect(sourceLoaderCalls).toStrictEqual([]);
});
});