Closed NikitaTanwani closed 7 years ago
What does your intern.json
file look like? Note that the tunnel names in Intern 4 have changed.
This is what my intern.json file holds right now: (I added tunnel and capabilities though the tutorial doesn't mention it)
{
"browser": {
"loader": {
"script": "systemjs"
},
"plugins": "_dist/src/system.config.js"
},
"environments": { "browserName": "chrome" },
"suites": "_dist/tests/unit/hello.js",
"tunnel": "NullTunnel",
"capabilities": {
"selenium-version": "3.5.3"
}
}
As the docs mention, tunnel should be 'null'
. You probably don't need capabilities
in this case since the remote system will likely be determining what selenium version is used (assuming there are even multiple versions available).
It solved the problem. Thanks alot :)
While running npm test(yarn test) after creating the unit test as mentioned in the tutorial, I am getting the following error. How do I resolve this ?