Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit b50cde8

Browse files
added text for each test
1 parent b89b0e1 commit b50cde8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/__tests__/example.test.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
import { add } from '../helpers/example';
22

3-
test('Adding 1 + 1 equals 2', () => {
3+
test('Adding 1 + 23 equals 24', () => {
44
expect(add(1, 23)).toBe(24);
55
});
66

7-
test('Adding 1 + 1 equals 2', () => {
7+
test('Adding 1 + "1" equals 13', () => {
88
expect(add(1, '3')).toBe('13');
99
});
1010

11-
test('Adding 1 + 1 equals 2', () => {
11+
test('Adding "6" + 5 equals 65', () => {
1212
expect(add('6', 5)).toBe('65');
1313
});
1414

15-
test('Adding 1 + 1 equals 2', () => {
15+
test('Adding 7 equals 8', () => {
1616
expect(add(7)).toBe(8);
1717
});
18+
19+
test('Adding -1 + 6 equals 5', () => {
20+
expect(add(-1, 6)).toBe(5);
21+
});

0 commit comments

Comments
 (0)