Skip to content

Commit

Permalink
Adds a test!
Browse files Browse the repository at this point in the history
  • Loading branch information
davelosert authored Dec 16, 2023
1 parent 44773db commit 14491c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/file.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ describe('file', () => {
it('sum 1+1 = 2', () => {
expect(sum(1, 1)).toBe(2);
});

it('diff 1-1 = 0', () => {
expect(sum(1, -1)).toBe(0);
});
});

0 comments on commit 14491c4

Please sign in to comment.