Skip to content

Commit

Permalink
Add comments to improve readability online
Browse files Browse the repository at this point in the history
  • Loading branch information
nawok committed Sep 24, 2024
1 parent 95c4139 commit e393e16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Environment', () => {

const env = await res.json();
expect(env).toHaveProperty('MY_VAR');
expect(env.MY_VAR).toBe(process.env.MY_VAR);
expect(env.MY_VAR).toBe(process.env.MY_VAR); // passes
});

it('Should contain overrides from MOCK_ENV', async () => {
Expand All @@ -21,6 +21,6 @@ describe('Environment', () => {

const env = await res.json();
expect(env).toHaveProperty('MY_VAR');
expect(env.MY_VAR).toBe(MOCK_ENV.MY_VAR);
expect(env.MY_VAR).toBe(MOCK_ENV.MY_VAR); // fails
});
});

0 comments on commit e393e16

Please sign in to comment.