diff --git a/packages/params/test/e2e/overridePreset.test.ts b/packages/params/test/e2e/overridePreset.test.ts index e16dd97a08ef..c03e54a480da 100644 --- a/packages/params/test/e2e/overridePreset.test.ts +++ b/packages/params/test/e2e/overridePreset.test.ts @@ -24,6 +24,9 @@ describe("Override preset", function () { this.timeout(30_000); it("Should correctly override preset", async () => { + // These commands can not run with minimal preset + if (process.env.LODESTAR_PRESET === "minimal") delete process.env.LODESTAR_PRESET; + await exec(`node --loader ts-node/esm ${path.join(__dirname, scriptNames.ok)}`); }); diff --git a/packages/params/test/e2e/setPreset.test.ts b/packages/params/test/e2e/setPreset.test.ts index 2b7ff271cd94..38942d2ee514 100644 --- a/packages/params/test/e2e/setPreset.test.ts +++ b/packages/params/test/e2e/setPreset.test.ts @@ -24,6 +24,9 @@ describe("setPreset", function () { this.timeout(30_000); it("Should correctly set preset", async () => { + // These commands can not run with minimal preset + if (process.env.LODESTAR_PRESET === "minimal") delete process.env.LODESTAR_PRESET; + await exec(`node --loader ts-node/esm ${path.join(__dirname, scriptNames.ok)}`); });