pontoon-addon icon indicating copy to clipboard operation
pontoon-addon copied to clipboard

Replace mockzilla by jest-webextension-mock

Open MikkCZ opened this issue 1 year ago • 0 comments

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.

MikkCZ avatar Oct 13 '24 13:10 MikkCZ