Skip to content

Commit

Permalink
test: improve expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
dbstratta committed Feb 8, 2019
1 parent 82a859c commit 9dfbb62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/environment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('makeEnv', () => {
test('makes an empty env object if schema is empty', () => {
const env = makeEnv({});

expect(Object.keys(env)).toEqual([]);
expect(Object.keys(env)).toHaveLength(0);
});

test('the env object has the keys specified in the schema', () => {
Expand Down

0 comments on commit 9dfbb62

Please sign in to comment.