@@ -389,7 +389,7 @@ describe("supports inheritance", () => {
389
389
expect ( container . firstChild ) . toHaveClass ( "checkoutButtonAnotherBool" ) ;
390
390
} ) ;
391
391
392
- it ( "variant props should not propagate to the DOM by default" , async ( ) => {
392
+ it ( "stops variant props propogating to the DOM by default" , async ( ) => {
393
393
const Input = styled ( "input" , {
394
394
css : "input" ,
395
395
variants : {
@@ -403,14 +403,14 @@ describe("supports inheritance", () => {
403
403
expect ( container . firstChild ) . not . toHaveAttribute ( "big" ) ;
404
404
} ) ;
405
405
406
- it ( "css components should not block intrinsic props that are not styled" , async ( ) => {
406
+ it ( "does not block intrinsic props that are not styled" , async ( ) => {
407
407
const Input = styled ( "input" ) ;
408
408
const onChange = jest . fn ( ) ;
409
409
const { container } = render ( < Input value = "test" onChange = { onChange } /> ) ;
410
410
expect ( container . firstChild ) . toHaveAttribute ( "value" , "test" ) ;
411
411
} ) ;
412
412
413
- it ( "variants should allow intrinsic props to pass through to the DOM" , async ( ) => {
413
+ it ( "allows variants to pass intrinsic props through to the DOM" , async ( ) => {
414
414
const Input = styled ( "input" , {
415
415
css : "input" ,
416
416
variants : {
@@ -426,7 +426,7 @@ describe("supports inheritance", () => {
426
426
expect ( container . firstChild ) . toHaveAttribute ( "type" , "text" ) ;
427
427
} ) ;
428
428
429
- it ( "variants should allow intrinsic bool props to pass through to the DOM" , async ( ) => {
429
+ it ( "allows variants to pass intrinsic bool props through to the DOM" , async ( ) => {
430
430
const Input = styled ( "input" , {
431
431
css : "input" ,
432
432
variants : {
0 commit comments