@@ -93,7 +93,7 @@ describe('The withBreakpointObserver decorator', () => {
93
93
it ( 'should re-mount component when deleting both breakpoint options' , async ( ) => {
94
94
const { fooResponsive, matchMedia } = await getContext ( ) ;
95
95
matchMedia . useMediaQuery ( '(min-width: 48rem)' ) ;
96
- await resizeWindow ( { width : 768 } ) ;
96
+ await resizeWindow ( { width : 766 } ) ;
97
97
98
98
expect ( fooResponsive [ 1 ] . $isMounted ) . toBe ( true ) ;
99
99
matchMedia . useMediaQuery ( '(min-width: 64rem)' ) ;
@@ -103,7 +103,7 @@ describe('The withBreakpointObserver decorator', () => {
103
103
fooResponsive [ 1 ] . $el . removeAttribute ( 'data-option-active-breakpoints' ) ;
104
104
fooResponsive [ 1 ] . $el . removeAttribute ( 'data-option-inactive-breakpoints' ) ;
105
105
matchMedia . useMediaQuery ( '(min-width: 48rem)' ) ;
106
- await resizeWindow ( { width : 768 } ) ;
106
+ await resizeWindow ( { width : 766 } ) ;
107
107
108
108
expect ( fooResponsive [ 1 ] . $isMounted ) . toBe ( true ) ;
109
109
} ) ;
@@ -181,7 +181,7 @@ describe('The withBreakpointObserver decorator', () => {
181
181
` ;
182
182
183
183
matchMedia . useMediaQuery ( '(min-width: 64rem)' ) ;
184
- await resizeWindow ( { width : 1024 } ) ;
184
+ await resizeWindow ( { width : 1025 } ) ;
185
185
186
186
await new App1 ( root ) . $mount ( ) ;
187
187
expect ( fn . mock . calls ) . toMatchInlineSnapshot ( `
@@ -195,7 +195,7 @@ describe('The withBreakpointObserver decorator', () => {
195
195
fn . mockClear ( ) ;
196
196
197
197
matchMedia . useMediaQuery ( '(min-width: 48rem)' ) ;
198
- await resizeWindow ( { width : 768 } ) ;
198
+ await resizeWindow ( { width : 769 } ) ;
199
199
200
200
expect ( fn . mock . calls ) . toMatchInlineSnapshot ( `
201
201
[
@@ -212,7 +212,7 @@ describe('The withBreakpointObserver decorator', () => {
212
212
fn . mockClear ( ) ;
213
213
214
214
matchMedia . useMediaQuery ( '(min-width: 64rem)' ) ;
215
- await resizeWindow ( { width : 1024 } ) ;
215
+ await resizeWindow ( { width : 1025 } ) ;
216
216
217
217
expect ( fn . mock . calls ) . toMatchInlineSnapshot ( `
218
218
[
0 commit comments