Jest configuration fix (#15673)

feature/default_network_editable
Jyoti Puri 2 years ago committed by GitHub
parent 6185cc6e5e
commit 5a25084eab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      test/jest/setup.js

@ -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…
Cancel
Save