Skip to content

Commit

Permalink
chore: fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Feb 18, 2022
1 parent 3e5a634 commit 3f57092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vitest/src/integrations/env/utils.ts
Expand Up @@ -8,9 +8,9 @@ export function getWindowKeys(global: any, win: any) {
const keys = new Set(KEYS.concat(Object.getOwnPropertyNames(win))
.filter((k) => {
if (k.startsWith('_')) return false
if (k in global) {
if (k in global)
return allowRewrite.has(k)
}

return true
}))

Expand Down

0 comments on commit 3f57092

Please sign in to comment.