joescii / sbt-js-test

sbt plugin for running JavaScript tests on the JVM with browser APIs
Apache License 2.0
13 stars 9 forks source link

Console Hang when you don´t set value in the jsAsyncWaitTimeout key #9

Closed Jhara closed 8 years ago

Jhara commented 8 years ago

If you don´t use the key jsAsyncWaitTimeout with a value and an error occurs the console hang

I must kill process than runs console.

console

joescii commented 8 years ago

That is precisely the expected behavior per the README. Either jsAsyncWaitTimeout must be configured or (preferably) window.sbtJsTest.readyForTestsToRun needs to be set to true in the javascript environment once assets are loaded.