Skip to content

Commit

Permalink
test: fix failing case in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpastor committed Mar 10, 2024
1 parent 51a7ceb commit f88adf9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils/misc/environment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ describe("isProductionEnvironment", (): void => {

describe("isCIEnvironment", (): void => {
it("should not be in CI environment", (): void => {
// This is necessary in order for this test case to pass in the CI.
vi.stubEnv("CI", "");

expect(isCIEnvironment()).toBe(false);
});

Expand Down

0 comments on commit f88adf9

Please sign in to comment.