I've developed a Google Chrome extension. How can I test it ? It is straight forward if there are only plain javaScript. But here in my methods there are lot of Chrome API references available. It is not possible to do unit testing as well.
So how can I test my extension with those API features. ?
Use DI to inject API methods so that you can work on any other platforms.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With