I am using google's api webkitSpeechRecognition
and because this is a chrome browser only api, when I run tests on my application it fails because it cannot find the webkitSpeechRecognition
variable. When I run the tests on chrome they pass fine, but when I run them in the terminal it fails because of this. I am trying to make a build for the application but this problem is not letting me do so.
Anyone has any experience in this? Or have any suggestions?