Skip to content

Commit

Permalink
codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
epomatti committed Aug 3, 2020
1 parent 332e094 commit a4bcef0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/index.test..js
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ test('test coordinates 16', () => {
expect(result[3]).toBe('0.828402');
});

test('Class not found', () => {
test('class not found', () => {
const classNumber = '17'
const fileName = 'sample.txt'
const result = coords(classNumber, fileName)
expect(result).toBe(undefined);
});

test('File not found', () => {
test('file not found', () => {
const classNumber = '16'
const fileName = 'not_a_file.txt'
expect(() => { coords(classNumber, fileName) }).toThrow();
Expand Down

0 comments on commit a4bcef0

Please sign in to comment.