Skip to content

Commit 57abffe

Browse files
committed
test: Updated test with new error message when no route-match is found
1 parent a7e7e1a commit 57abffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/yet-another-fetch-mock.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ describe('FetchMock', () => {
126126

127127
expect(() => {
128128
fetchToJson('/test');
129-
}).toThrow(`Did not find any matching route for url: /test`);
129+
}).toThrow(`Did not find any matching route for: GET /test`);
130130
});
131131

132132
it('should throw on unknown url type', () => {

0 commit comments

Comments
 (0)