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
__esModule
It is common when mocking modules in Jest tests to use a property of __esModule: true:
__esModule: true
jest.mock('@metamask/eth-sig-util', () => { return { // eslint-disable-next-line @typescript-eslint/naming-convention __esModule: true, ...jest.requireActual('@metamask/eth-sig-util'), }; });
We should allow this as a property name so that we don't need an ESLint override.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It is common when mocking modules in Jest tests to use a property of
__esModule: true
:We should allow this as a property name so that we don't need an ESLint override.
The text was updated successfully, but these errors were encountered: