We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now reloady doesn't work when run within jest with babel. require seems to get hijacked, and deleting require.cache doesn't do anything.
require
require.cache
Jest hijacks require and binds the actual require module to requireActual, so instead we need to
requireActual
This is necessary to be able to be used in browser tests written in jest.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now reloady doesn't work when run within jest with babel.
require
seems to get hijacked, and deletingrequire.cache
doesn't do anything.Jest hijacks
require
and binds the actualrequire
module torequireActual
, so instead we need toThis is necessary to be able to be used in browser tests written in jest.
The text was updated successfully, but these errors were encountered: