Skip to content

Commit

Permalink
test: update expected error message
Browse files Browse the repository at this point in the history
  • Loading branch information
DavieReid committed Sep 5, 2024
1 parent d6c05e3 commit fef166b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('GIVEN loadLocalFile', () => {
test('THEN it throws and error when the local file does not exist', async () => {
// assert
await expect(loadLocalFile('some/non-existent/mynamespace/mydir')).rejects.toThrow(
/ENOENT: no such file or directory, stat 'some\/non-existent\/mynamespace\/mydir'/
"ENOENT: no such file or directory, stat 'some/non-existent/mynamespace/mydir'"
);
});
test('THEN it loads the index file if a directory is requested', async () => {
Expand Down

0 comments on commit fef166b

Please sign in to comment.