You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switching to jest-light-runner with tests that use import {it, expect} from "@jest/globals" currently doesn't work. It's easily fixed by just removing this import and using those magically injected globals, but this way ESLint reports undefined variables and I lose my IDE's type features.
So could you either inject your own globals into from "@jest/globals" imports or expose your own globals, so I can use import {it, expect} from "jest-light-runner"?
The text was updated successfully, but these errors were encountered:
Jaid
added a commit
to Jaid/eslint-config-jaid
that referenced
this issue
Jun 14, 2022
Switching to jest-light-runner with tests that use
import {it, expect} from "@jest/globals"
currently doesn't work. It's easily fixed by just removing this import and using those magically injected globals, but this way ESLint reports undefined variables and I lose my IDE's type features.So could you either inject your own globals into
from "@jest/globals"
imports or expose your own globals, so I can useimport {it, expect} from "jest-light-runner"
?The text was updated successfully, but these errors were encountered: