Skip to content

Commit

Permalink
chore: fix typos (vitejs#19398)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximevtush authored Feb 10, 2025
1 parent aff7812 commit b44e3d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-legacy/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ function viteLegacyPlugin(options: Options = {}): Plugin[] {
return null
}

// On first run, intialize the map with sorted chunk file names
// On first run, initialize the map with sorted chunk file names
let chunkFileNameToPolyfills = outputToChunkFileNameToPolyfills.get(opts)
if (chunkFileNameToPolyfills == null) {
chunkFileNameToPolyfills = new Map()
Expand Down
8 changes: 4 additions & 4 deletions playground/html/__tests__/html.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,8 @@ describe.runIf(isServe)('invalid', () => {
expect(errorOverlay).toBeTruthy()

await page.click('html')
const isVisbleOverlay = await errorOverlay.isVisible()
expect(isVisbleOverlay).toBeFalsy()
const isVisibleOverlay = await errorOverlay.isVisible()
expect(isVisibleOverlay).toBeFalsy()
})

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

await page.keyboard.press('Escape')
const isVisbleOverlay = await errorOverlay.isVisible()
expect(isVisbleOverlay).toBeFalsy()
const isVisibleOverlay = await errorOverlay.isVisible()
expect(isVisibleOverlay).toBeFalsy()
})

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

0 comments on commit b44e3d4

Please sign in to comment.