|
@@ -7,13 +7,9 @@ describe('app', () => {
|
7
|
7
|
expect(elementByLabel('React Native Navigation!')).toBeVisible();
|
8
|
8
|
});
|
9
|
9
|
|
10
|
|
- it('switch to tab based app', () => {
|
|
10
|
+ it('switch to tab based app, passProps and functions', () => {
|
11
|
11
|
elementByLabel('Switch to tab based app').tap();
|
12
|
12
|
expect(elementByLabel('This is tab 1')).toBeVisible();
|
13
|
|
- });
|
14
|
|
-
|
15
|
|
- it('passing props and functions', () => {
|
16
|
|
- elementByLabel('Switch to tab based app').tap();
|
17
|
13
|
expect(elementByLabel('Hello from a function!')).toBeVisible();
|
18
|
14
|
});
|
19
|
15
|
|