Skip to content

Commit 435a2af

Browse files
author
aksonov
committed
add test images
1 parent e0391d6 commit 435a2af

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

Example/images/back_chevron.png

575 Bytes
Loading

Example/images/menu_burger.png

706 Bytes
Loading

Example/test/setup.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
require("babel-register")({
2+
// This will override `node_modules` ignoring - you can alternatively pass
3+
// an array of strings to be explicitly matched or a regex / glob
4+
ignore: false
5+
});
6+
7+
jest.mock('Linking', () => {
8+
return {
9+
addEventListener: jest.fn(),
10+
removeEventListener: jest.fn(),
11+
openURL: jest.fn(),
12+
canOpenURL: jest.fn(),
13+
getInitialURL: ()=>new Promise((resolve, reject) => resolve()),
14+
}
15+
});

0 commit comments

Comments
 (0)