Skip to content

Commit

Permalink
test: correct typos
Browse files Browse the repository at this point in the history
  • Loading branch information
alvis committed Oct 15, 2023
1 parent 58b2b38 commit 7542862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/render.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jest.unstable_mockModule('node:fs', () => ({
.map((_, index) => `line ${index + 1}`)
.join('\n');
default:
throw new Error(`unrecognised path: ${path}`);
throw new Error(`unrecognized path: ${path}`);
}
},
}));
Expand Down Expand Up @@ -100,7 +100,7 @@ describe('fn:renderError', () => {
);
});

it('should render an error stack according to the supplued filter', () => {
it('should render an error stack according to the supplied filter', () => {
const rendered = renderStack(
new MockedError(
'Error1: message1\n' +
Expand Down

0 comments on commit 7542862

Please sign in to comment.