New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@jest/globals alternative #42
Comments
…udo/jest-light-runner#42 Signed-off-by: Jaid <jaid.jsx@gmail.com>
How does I notice if I do not import directly from |
|
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: