-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
aksonov
committed
Jul 10, 2017
1 parent
e0391d6
commit 435a2af
Showing
3 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require("babel-register")({ | ||
// This will override `node_modules` ignoring - you can alternatively pass | ||
// an array of strings to be explicitly matched or a regex / glob | ||
ignore: false | ||
}); | ||
|
||
jest.mock('Linking', () => { | ||
return { | ||
addEventListener: jest.fn(), | ||
removeEventListener: jest.fn(), | ||
openURL: jest.fn(), | ||
canOpenURL: jest.fn(), | ||
getInitialURL: ()=>new Promise((resolve, reject) => resolve()), | ||
} | ||
}); |