File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
packages/plugin-legacy/src
playground/html/__tests__ Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -464,7 +464,7 @@ function viteLegacyPlugin(options: Options = {}): Plugin[] {
464
464
return null
465
465
}
466
466
467
- // On first run, intialize the map with sorted chunk file names
467
+ // On first run, initialize the map with sorted chunk file names
468
468
let chunkFileNameToPolyfills = outputToChunkFileNameToPolyfills . get ( opts )
469
469
if ( chunkFileNameToPolyfills == null ) {
470
470
chunkFileNameToPolyfills = new Map ( )
Original file line number Diff line number Diff line change @@ -295,8 +295,8 @@ describe.runIf(isServe)('invalid', () => {
295
295
expect ( errorOverlay ) . toBeTruthy ( )
296
296
297
297
await page . click ( 'html' )
298
- const isVisbleOverlay = await errorOverlay . isVisible ( )
299
- expect ( isVisbleOverlay ) . toBeFalsy ( )
298
+ const isVisibleOverlay = await errorOverlay . isVisible ( )
299
+ expect ( isVisibleOverlay ) . toBeFalsy ( )
300
300
} )
301
301
302
302
test ( 'should close overlay when escape key is pressed' , async ( ) => {
@@ -305,8 +305,8 @@ describe.runIf(isServe)('invalid', () => {
305
305
expect ( errorOverlay ) . toBeTruthy ( )
306
306
307
307
await page . keyboard . press ( 'Escape' )
308
- const isVisbleOverlay = await errorOverlay . isVisible ( )
309
- expect ( isVisbleOverlay ) . toBeFalsy ( )
308
+ const isVisibleOverlay = await errorOverlay . isVisible ( )
309
+ expect ( isVisibleOverlay ) . toBeFalsy ( )
310
310
} )
311
311
312
312
test ( 'stack is updated' , async ( ) => {
You can’t perform that action at this time.
0 commit comments