File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ describe('MediaMatcher', () => {
2121 expect ( mediaMatcher . matchMedia ( '(max-width: 1px)' ) . matches ) . toBeFalsy ( ) ;
2222 } ) ;
2323
24- it ( 'should add CSS rules for provided queries when the platform is webkit' ,
24+ it ( 'should add CSS rules for provided queries when the platform is webkit or blink ' ,
2525 inject ( [ Platform ] , ( platform : Platform ) => {
2626 const randomWidth = `${ Math . random ( ) } px` ;
2727
2828 expect ( getStyleTagByString ( randomWidth ) ) . toBeFalsy ( ) ;
2929 mediaMatcher . matchMedia ( `(width: ${ randomWidth } )` ) ;
3030
31- if ( platform . WEBKIT ) {
31+ if ( platform . WEBKIT || platform . BLINK ) {
3232 expect ( getStyleTagByString ( randomWidth ) ) . toBeTruthy ( ) ;
3333 } else {
3434 expect ( getStyleTagByString ( randomWidth ) ) . toBeFalsy ( ) ;
You can’t perform that action at this time.
0 commit comments