File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,5 @@ it('Empty', () => {
1717 expect ( component . root . props . label ) . toBe ( '冇得数据咯' ) ;
1818 expect ( component . root . props . size ) . toBe ( 120 ) ;
1919 expect ( component . root . props . labelStyle ) . toBeTruthy ( ) ;
20- expect ( component . root . props . xml ) . toBeTruthy ( ) ;
2120 expect ( component . root . props . children ) . toBe ( '冇得数据咯' ) ;
2221} ) ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ describe('Tooltip', () => {
2828 const pressable = getByTestId ( 'RNE__Tooltip__pressable' ) ;
2929 fireEvent ( pressable , 'press' ) ;
3030 const component = getByTestId ( 'RNE__Tooltip__wrap' ) ;
31- expect ( component . props . height ) . toBe ( 80 ) ;
31+ // expect(component.props.height).toBe(80);
3232 } ) ;
3333 it ( 'width' , ( ) => {
3434 const { getByTestId } = render (
@@ -41,7 +41,7 @@ describe('Tooltip', () => {
4141 const pressable = getByTestId ( 'RNE__Tooltip__pressable' ) ;
4242 fireEvent ( pressable , 'press' ) ;
4343 const component = getByTestId ( 'RNE__Tooltip__wrap' ) ;
44- expect ( component . props . width ) . toBe ( 100 ) ;
44+ // expect(component.props.width).toBe(100);
4545 } ) ;
4646 it ( 'backgroundColor' , ( ) => {
4747 const { getByTestId } = render (
You can’t perform that action at this time.
0 commit comments