-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d2045aa
commit 8c7e869
Showing
54 changed files
with
1,286 additions
and
950 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const {default: fetchMockCore, FetchMock} = require("@fetch-mock/core"); | ||
fetchMockCore.route("http://example.com", 200); | ||
const { default: fetchMockCore, FetchMock } = require('@fetch-mock/core'); | ||
fetchMockCore.route('http://example.com', 200); | ||
|
||
new FetchMock({}) | ||
new FetchMock({}); | ||
|
||
const fetchMock = require("fetch-mock").default; | ||
fetchMock.mock("http://example.com", 200); | ||
const fetchMock = require('fetch-mock').default; | ||
fetchMock.mock('http://example.com', 200); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import fetchMockCore, {FetchMock} from "@fetch-mock/core"; | ||
fetchMockCore.route("http://example.com", 200); | ||
import fetchMockCore, { FetchMock } from '@fetch-mock/core'; | ||
fetchMockCore.route('http://example.com', 200); | ||
|
||
new FetchMock({}) | ||
new FetchMock({}); | ||
|
||
import fetchMock from "fetch-mock"; | ||
fetchMock.mock("http://example.com", 200); | ||
import fetchMock from 'fetch-mock'; | ||
fetchMock.mock('http://example.com', 200); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import fetchMockCore, {FetchMock} from "@fetch-mock/core"; | ||
fetchMockCore.route("http://example.com", 200); | ||
import fetchMockCore, { FetchMock } from '@fetch-mock/core'; | ||
fetchMockCore.route('http://example.com', 200); | ||
|
||
new FetchMock({}) | ||
new FetchMock({}); | ||
|
||
import fetchMock from "fetch-mock"; | ||
fetchMock.mock("http://example.com", 200); | ||
import fetchMock from 'fetch-mock'; | ||
fetchMock.mock('http://example.com', 200); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.