Skip to content

Commit

Permalink
test: hardcoded values
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-conde committed Jun 6, 2022
1 parent 6225ae1 commit 095f495
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,12 @@ describe("Env", function() {
});

it("should return the given fallback options when environment different than 'ci', 'test', 'stage' and 'production' ", function() {
const fallback = { url: "https://test.platforme.com/" };
const fallbackEnvOptions = ripeCommons.getRipeWhiteOptions("uat", fallback);
assert.deepStrictEqual(fallbackEnvOptions, fallback);
const fallbackEnvOptions = ripeCommons.getRipeWhiteOptions("uat", {
url: "https://test.platforme.com/"
});
assert.deepStrictEqual(fallbackEnvOptions, {
url: "https://test.platforme.com/"
});
});
});
});

0 comments on commit 095f495

Please sign in to comment.