Is there something special one needs to configure ...
# javascript
f
Is there something special one needs to configure to get
jsBrowserTest
to work on a Mac? The headless chrome that is started by default does not seem to work at all: https://github.com/Fleshgrinder/kotlin-uuid/runs/464690932?check_suite_focus=true
s
As far as I recall the system you’d like to run the tests on needs to have a Chrome installed – it’s currently not bundled. Right, @Ilya Goncharov [JB]?
👍 1
i
Yes, it is Chrome is necessary to run tests by default, but if you want to run tests somewhere else, you can configure it in build script
f
Do you mean with "somewhere else" another browser or is there a way to automatically download the required dependencies?
i
I meant another browser via
Copy code
kotlin {
   target {
       browser {
           testTask {
               useKarma {
                 useFirefox() // for example
               }
           }
       }
   }
}
We tested downloading of browser, but it was a big lack of performance
f
👍