Merge remote-tracking branch 'origin/split-up-new-packages-database' into split-up-new-packages-database

This commit is contained in:
BitterPanda 2026-03-27 16:09:50 -07:00
commit 706e5040ae

View file

@ -57,8 +57,6 @@ mock.module("../config/settings.js", {
}); });
// Import the warnings module so we can reset its state between tests. // Import the warnings module so we can reset its state between tests.
// The state (hasWarnedAboutUnavailableNewPackagesDatabase) lives in a separate
// module and is not reset by the dynamic-import cache-buster trick used below.
const { resetWarningState } = await import("./newPackagesDatabaseWarnings.js"); const { resetWarningState } = await import("./newPackagesDatabaseWarnings.js");
describe("newPackagesDatabase", async () => { describe("newPackagesDatabase", async () => {