File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/components/button/__tests__ Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ const BUTTON_ID = 'button_test_id';
10
10
const CHILDREN_TEXT_ID = 'children_test_id' ;
11
11
const CHILDREN_TEXT = 'custom button text' ;
12
12
13
- describe ( 'Button' , ( ) => {
13
+ // TODO: This tests are flaky and only fail on CI - we should investigate why
14
+ describe . skip ( 'Button' , ( ) => {
14
15
it ( 'should render a button' , async ( ) => {
15
16
const wrapperComponent = renderWrapperScreenWithButton ( { } ) ;
16
17
const buttonDriver = await ButtonTestKit ( { wrapperComponent, testID : BUTTON_ID } ) ;
@@ -38,8 +39,7 @@ describe('Button', () => {
38
39
beforeEach ( ( ) => onPressCallback = jest . fn ( ) ) ;
39
40
afterEach ( ( ) => onPressCallback . mockClear ( ) ) ;
40
41
41
- // TODO: This test is flaky and only fail on CI - we should investigate why
42
- it . skip ( 'should trigger onPress callback' , async ( ) => {
42
+ it ( 'should trigger onPress callback' , async ( ) => {
43
43
const wrapperComponent = renderWrapperScreenWithButton ( { onPress : onPressCallback } ) ;
44
44
const buttonDriver = await ButtonTestKit ( { wrapperComponent, testID : BUTTON_ID } ) ;
45
45
buttonDriver . click ( ) ;
You can’t perform that action at this time.
0 commit comments