1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00
metamask-extension/test/jest/setup.js
2022-08-23 23:27:55 +05:30

11 lines
251 B
JavaScript

// 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 }),
},
};
});