Skip to content

Commit

Permalink
Add error log to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NickPhura committed Oct 30, 2024
1 parent bd5fdfa commit 2ec8d3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ describe('ImportMarkingsStrategy', () => {
try {
const data = await importCSV(new MediaFile('test', 'test', 'test' as unknown as Buffer), strategy);
expect(data).to.deep.equal(2);
} catch (err: any) {
expect.fail();
} catch (error: any) {
expect.fail(error.message);
}
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ describe('importMeasurementsStrategy', () => {
}
]
});
} catch (e: any) {
expect.fail();
} catch (error: any) {
expect.fail(error.message);
}
});
});
Expand Down

0 comments on commit 2ec8d3b

Please sign in to comment.