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 Aug 13, 2024
1 parent e869413 commit 47ad568
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,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 'some\/non-existent\/mynamespace\/mydir'/
"ENOENT, UV_ENOENT 'some/non-existent/mynamespace/mydir'"
);
});
test('THEN it loads the index file if a directory is requested', async () => {
Expand Down

0 comments on commit 47ad568

Please sign in to comment.