@@ -13,7 +13,7 @@ const SpaceTheme = ({ children }: { children: React.ReactNode }) => {
1313}
1414
1515describe ( '#x' , ( ) => {
16- it . only ( 'creates system based components' , ( ) => {
16+ it ( 'creates system based components' , ( ) => {
1717 render ( < x . View m = { 2 } p = { 1 } testID = "dummy" /> )
1818
1919 expect ( screen . getByTestId ( 'dummy' ) ) . toHaveStyle ( {
@@ -28,7 +28,7 @@ describe('#x', () => {
2828 } )
2929 } )
3030
31- it . only ( 'supports "as" prop' , ( ) => {
31+ it ( 'supports "as" prop' , ( ) => {
3232 render ( < x . View as = { Text } m = { 2 } p = { 1 } testID = "dummy" /> )
3333
3434 const dummyComponent = screen . getByTestId ( 'dummy' )
@@ -47,7 +47,7 @@ describe('#x', () => {
4747 } )
4848 } )
4949
50- it . only ( 'uses theme' , ( ) => {
50+ it ( 'uses theme' , ( ) => {
5151 render (
5252 < SpaceTheme >
5353 < x . Text m = { 2 } p = { 1 } testID = "dummy" >
@@ -72,7 +72,7 @@ describe('#x', () => {
7272 } )
7373 } )
7474
75- it . only ( 'does not forward props' , ( ) => {
75+ it ( 'does not forward props' , ( ) => {
7676 render ( < x . View display = "flex" data-foo = "bar" testID = "dummy" /> )
7777
7878 const dummyComponent = screen . getByTestId ( 'dummy' )
@@ -83,27 +83,27 @@ describe('#x', () => {
8383 expect ( dummyComponent ) . toHaveProp ( 'data-foo' , 'bar' )
8484 } )
8585
86- it . only ( 'avoids passing system props to native element' , ( ) => {
86+ it ( 'avoids passing system props to native element' , ( ) => {
8787 render ( < x . View fontSize = { 10 } testID = "dummy" /> )
8888
8989 expect ( screen . getByTestId ( 'dummy' ) ) . not . toHaveProp ( 'fontSize' )
9090 } )
9191
92- it . only ( 'passes native attrs to native element' , ( ) => {
92+ it ( 'passes native attrs to native element' , ( ) => {
9393 render ( < x . View accessibilityHint = "test" testID = "dummy" /> )
9494
9595 expect ( screen . getByTestId ( 'dummy' ) ) . toHaveProp ( 'accessibilityHint' , 'test' )
9696 } )
9797
98- it . only ( 'avoids passing system props to "as" component' , ( ) => {
98+ it ( 'avoids passing system props to "as" component' , ( ) => {
9999 const Component = ( props : any ) => < View { ...props } />
100100
101101 render ( < x . View as = { Component } fontSize = { 10 } testID = "dummy" /> )
102102
103103 expect ( screen . getByTestId ( 'dummy' ) ) . not . toHaveProp ( 'fontSize' )
104104 } )
105105
106- it . only ( 'passes non-system props to "as" component' , ( ) => {
106+ it ( 'passes non-system props to "as" component' , ( ) => {
107107 const Component = ( { asdf, ...props } : any ) => (
108108 < Text { ...props } > { asdf } </ Text >
109109 )
0 commit comments