Skip to content

Commit b44e3d4

Browse files
authored
chore: fix typos (#19398)
1 parent aff7812 commit b44e3d4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/plugin-legacy/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ function viteLegacyPlugin(options: Options = {}): Plugin[] {
464464
return null
465465
}
466466

467-
// On first run, intialize the map with sorted chunk file names
467+
// On first run, initialize the map with sorted chunk file names
468468
let chunkFileNameToPolyfills = outputToChunkFileNameToPolyfills.get(opts)
469469
if (chunkFileNameToPolyfills == null) {
470470
chunkFileNameToPolyfills = new Map()

playground/html/__tests__/html.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ describe.runIf(isServe)('invalid', () => {
295295
expect(errorOverlay).toBeTruthy()
296296

297297
await page.click('html')
298-
const isVisbleOverlay = await errorOverlay.isVisible()
299-
expect(isVisbleOverlay).toBeFalsy()
298+
const isVisibleOverlay = await errorOverlay.isVisible()
299+
expect(isVisibleOverlay).toBeFalsy()
300300
})
301301

302302
test('should close overlay when escape key is pressed', async () => {
@@ -305,8 +305,8 @@ describe.runIf(isServe)('invalid', () => {
305305
expect(errorOverlay).toBeTruthy()
306306

307307
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()
310310
})
311311

312312
test('stack is updated', async () => {

0 commit comments

Comments
 (0)