I have built a chrome extension that uses native messaging to run a python script in the client machine. I am now trying to test everything and although I think I can do unit testing with sinon-chrome I'm not entirely sure if I can do integration testing since i can't manage to get chrome.runtime.connectNative(...) to return a port instance.
Hello,
I have built a chrome extension that uses native messaging to run a python script in the client machine. I am now trying to test everything and although I think I can do unit testing with sinon-chrome I'm not entirely sure if I can do integration testing since i can't manage to get chrome.runtime.connectNative(...) to return a port instance.
Any help?
Thank you!