Integration with Google Chrome Extension using the Chrome API

I developed the Google Chrome extension. How can I check it? It is simple if there is only simple javaScript. But here, in my methods, a lot of links to the Chrome APIs are available. Unable to perform unit testing.

So, how can I test my extension using these API functions.

+6
source share
1 answer

Use DI to enter API methods so you can work on any other platform.

+2
source

Source: https://habr.com/ru/post/955856/


All Articles