Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shamsartem committed Jan 20, 2025
1 parent 1bfe559 commit 62fbc23
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions packages/cli/package/test/tests/provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -611,10 +611,7 @@ describe("provider tests", () => {
await expect(async () => {
await fluence({
args: ["provider", "gen"],
flags: {
...PRIV_KEY_1,
[OFFER_FLAG_NAME]: defaultOfferName,
},
flags: PRIV_KEY_1,
cwd,
});
}).rejects.toThrow();
Expand All @@ -628,6 +625,7 @@ describe("provider tests", () => {
});

await writeFile(
providerConfig.$getPath(),
stringify(
removeProperties(providerConfig, ([, v]) => {
return typeof v === "function";
Expand All @@ -638,10 +636,7 @@ describe("provider tests", () => {

await fluence({
args: ["provider", "gen"],
flags: {
...PRIV_KEY_1,
[OFFER_FLAG_NAME]: defaultOfferName,
},
flags: PRIV_KEY_1,
cwd,
});

Expand Down

0 comments on commit 62fbc23

Please sign in to comment.