Skip to content

Commit

Permalink
test: skip tests for multiple instances of fetch-mock
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Sep 16, 2024
1 parent 9a06c1e commit 4d64a53
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fetchNot.route("blah", 200)
`,
);
});
it('unassigned instances of require("fetch-mock")', () => {
it.skip('unassigned instances of require("fetch-mock")', () => {
expectCodemodResult(
`require('fetch-mock').mock("blah", 200)`,
`require('fetch-mock').route("blah", 200)`,
Expand All @@ -81,12 +81,12 @@ fm.route("blah", 200)
expectCodemodResult(
`
const fetchMock = require('fetch-mock');
const fm = fetchMock.get('a', 'b');
const fm = fetchMock.get('a', 'b').get('a', 'b');
fm.mock("blah", 200)
`,
`
const fetchMock = require('fetch-mock');
const fm = fetchMock.sandbox();
const fm = fetchMock.get('a', 'b').get('a', 'b');
fm.route("blah", 200)
`,
);
Expand Down

0 comments on commit 4d64a53

Please sign in to comment.