Skip to content

Commit

Permalink
Fix the few e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Sep 18, 2023
1 parent 8eed04f commit 8a28665
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/params/test/e2e/overridePreset.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`);
});

Expand Down
3 changes: 3 additions & 0 deletions packages/params/test/e2e/setPreset.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`);
});

Expand Down

0 comments on commit 8a28665

Please sign in to comment.