mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 19:10:22 +01:00
Jest configuration fix (#15673)
This commit is contained in:
parent
6185cc6e5e
commit
5a25084eab
@ -1,2 +1,10 @@
|
||||
// This file is for Jest-specific setup only and runs before our Jest tests.
|
||||
import '@testing-library/jest-dom';
|
||||
|
||||
jest.mock('webextension-polyfill', () => {
|
||||
return {
|
||||
runtime: {
|
||||
getManifest: () => ({ manifest_version: 2 }),
|
||||
},
|
||||
};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user