diff --git a/packages/installer/test/unit/dappGet/aggregate/index.test.ts b/packages/installer/test/unit/dappGet/aggregate/index.test.ts index aa3560c6a..d77a2add0 100644 --- a/packages/installer/test/unit/dappGet/aggregate/index.test.ts +++ b/packages/installer/test/unit/dappGet/aggregate/index.test.ts @@ -120,15 +120,17 @@ describe.skip("dappGet/aggregate", () => { before("Mock", async () => { const mock = await rewiremock.around( - () => import("../../../../src/dappGet/aggregate/index"), + () => import("../../../../src/dappGet/aggregate/index.js"), (mock) => { mock(() => - import("../../../../src/dappGet/aggregate/getRelevantInstalledDnps") + import( + "../../../../src/dappGet/aggregate/getRelevantInstalledDnps.js" + ) ) .withDefault(getRelevantInstalledDnps) .toBeUsed(); mock(() => - import("../../../../src/dappGet/aggregate/aggregateDependencies") + import("../../../../src/dappGet/aggregate/aggregateDependencies.js") ) .withDefault(aggregateDependencies) .toBeUsed(); diff --git a/packages/installer/test/unit/ethClient/fullNodeEdit.test.ts b/packages/installer/test/unit/ethClient/fullNodeEdit.test.ts index d21ff6bb0..6765536d1 100644 --- a/packages/installer/test/unit/ethClient/fullNodeEdit.test.ts +++ b/packages/installer/test/unit/ethClient/fullNodeEdit.test.ts @@ -13,7 +13,7 @@ import { params } from "@dappnode/params"; // 2. With the existing edited compose will add back again the alias: fullnode.dappnode and test it describe("Edit fullnode in eth client", () => { - beforeAll(() => { + before(() => { // create dnp_repo dir shellSafe("mkdir dnp_repo"); });