-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trying to migrate to fetch-mock#501 export error
- Loading branch information
Пинчук Виталий А
authored and
Пинчук Виталий А
committed
Jan 28, 2020
1 parent
631c2d2
commit 4a1eb3b
Showing
4 changed files
with
89 additions
and
50 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
import { GlobalWithFetchMock } from 'jest-fetch-mock'; | ||
|
||
const customGlobal: GlobalWithFetchMock = global as GlobalWithFetchMock; | ||
customGlobal.fetch = require('jest-fetch-mock'); | ||
|
||
customGlobal.fetchMock = customGlobal.fetch; | ||
|
||
(global as any).VueMultiselect = require('vue-multiselect'); |
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