pontoon-addon
pontoon-addon copied to clipboard
Replace mockzilla by jest-webextension-mock
Mockzilla is not updated, and has issues with overloaded method with variable number of arguments in tests written in TypeScript.
- Use https://www.npmjs.com/package/jest-webextension-mock.
- or Use JS to write tests with Mockzilla to avoid TS errors when passing different number of arguments.
- (stretch) Improve missing test coverage.