Here's what it looks like when I force it to throw an exception when run in my folder-with-space-in-name:
haoyi-mbp:scala-js-example-app haoyi$ sbt test
[info] Loading global plugins from /Users/haoyi/.sbt/0.13/plugins
[info] Loading project definition from /Users/haoyi/Dropbox (Personal)/Workspace/scala-js-example-app/project
[info] Set current project to Example (in build file:/Users/haoyi/Dropbox%20(Personal)/Workspace/scala-js-example-app/)
[error] Test framework scala.scalajs.test.JasmineTestFramework$ failed:
[error] lolz
[error] sjsr.StackTrace$.createException([stdin]:81418)
[error] sjsr.StackTrace$.captureState([stdin]:81414)
[error] jl.Throwable.fillInStackTrace([stdin]:86431)
[error] jl.Throwable.<init>([stdin]:86508)
[error] jl.Exception.<init>([stdin]:230724)
[error] Lexample.ScalaJSExampleTest$.<init>([stdin]:213440)
[error] <jscode>.ScalaJS.m.Lexample_ScalaJSExampleTest([stdin]:213476)
[error] sjs.test.JasmineTestFramework$.runTest([stdin]:168342)
[error] <jscode>.Object.ScalaJS.i.sjs_test_TestFramework$class__safeRunTest__sjs_test_TestFramework__sjs_test_TestOutput__sjs_js_Array__sjs_js_Function0__V([stdin]:11606)
[error] sjs.test.JasmineTestFramework$.safeRunTest([stdin]:168330)
[error] Error: Total 2, Failed 0, Errors 2, Passed 0
[error] Error during tests:
[error] example.ScalaJSExampleTest
[error] (test:test) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 26 s, completed Jun 1, 2014 2:56:27 PM
haoyi-mbp:scala-js-example-app haoyi$ sbt fastOptStage::test
[info] Loading global plugins from /Users/haoyi/.sbt/0.13/plugins
[info] Loading project definition from /Users/haoyi/Dropbox (Personal)/Workspace/scala-js-example-app/project
[info] Set current project to Example (in build file:/Users/haoyi/Dropbox%20(Personal)/Workspace/scala-js-example-app/)
[info] Fast optimizing /Users/haoyi/Dropbox (Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js
[error] Test framework scala.scalajs.test.JasmineTestFramework$ failed:
[error] lolz
[error] sjsr.StackTrace$.createException(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:15475)
[error] sjsr.StackTrace$.captureState(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:15471)
[error] jl.Throwable.fillInStackTrace(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:4474)
[error] jl.Throwable.<init>(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:4496)
[error] jl.Exception.<init>(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:17405)
[error] Lexample.ScalaJSExampleTest$.<init>(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:17212)
[error] <jscode>.ScalaJS.m.Lexample_ScalaJSExampleTest (/Users/haoyi/Dropbox(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:17249)
[error] sjs.test.JasmineTestFramework$.runTest(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:14711)
[error] <jscode>.Object.ScalaJS.i.sjs_test_TestFramework$class__safeRunTest__sjs_test_TestFramework__sjs_test_TestOutput__sjs_js_Array__sjs_js_Function0__V (/Users/haoyi/Dropbox(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:2495)
[error] sjs.test.JasmineTestFramework$.safeRunTest(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:14699)
[error] Error: Total 2, Failed 0, Errors 2, Passed 0
[error] Error during tests:
[error] example.ScalaJSExampleTest
[error] (test:fastOptStage::test) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 3 s, completed Jun 1, 2014 2:57:31 PM
PhantomJSEnv:
haoyi-mbp:scala-js-example-app haoyi$ sbt fastOptStage::test
[info] Loading global plugins from /Users/haoyi/.sbt/0.13/plugins
[info] Loading project definition from /Users/haoyi/Dropbox (Personal)/Workspace/scala-js-example-app/project
[info] Set current project to Example (in build file:/Users/haoyi/Dropbox%20(Personal)/Workspace/scala-js-example-app/)
[error] Test framework scala.scalajs.test.JasmineTestFramework$ failed:
[error] lolz
[error] sjsr.StackTrace$.createException(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:15475)
[error] sjsr.StackTrace$.captureState(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:15471)
[error] jl.Throwable.fillInStackTrace(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:4474)
[error] jl.Throwable.<init>(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:4496)
[error] jl.Exception.<init>(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:17405)
[error] Lexample.ScalaJSExampleTest$.<init>(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:17212)
[error] <jscode>.ScalaJS.m.Lexample_ScalaJSExampleTest (/Users/haoyi/Dropbox(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:17249)
[error] sjs.test.JasmineTestFramework$.runTest(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:14711)
[error] <jscode>.Object.ScalaJS.i.sjs_test_TestFramework$class__safeRunTest__sjs_test_TestFramework__sjs_test_TestOutput__sjs_js_Array__sjs_js_Function0__V (/Users/haoyi/Dropbox(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:2495)
[error] sjs.test.JasmineTestFramework$.safeRunTest(Personal)/Workspace/scala-js-example-app/target/scala-2.11/example-test-fastopt.js:14699)
[error] Error: Total 2, Failed 0, Errors 2, Passed 0
[error] Error during tests:
[error] example.ScalaJSExampleTest
[error] (test:fastOptStage::test) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 1 s, completed Jun 1, 2014 2:58:27 PM
Here it is dying with the same problem when running in a folder without a space in its path:
NodeJS
haoyi-mbp:scala-js-example-app haoyi$ sbt fastOptStage::test
[info] Loading global plugins from /Users/haoyi/.sbt/0.13/plugins
[info] Loading project definition from /Users/haoyi/work/scala-js-example-app/project
[info] Set current project to Example (in build file:/Users/haoyi/work/scala-js-example-app/)
[info] Updating {file:/Users/haoyi/work/scala-js-example-app/}scala-js-example-app...
[info] Resolving jline#jline;2.11 ...
[info] Done updating.
[info] Compiling 1 Scala source to /Users/haoyi/work/scala-js-example-app/target/scala-2.11/classes...
[info] Compiling 1 Scala source to /Users/haoyi/work/scala-js-example-app/target/scala-2.11/test-classes...
[info] Fast optimizing /Users/haoyi/work/scala-js-example-app/target/scala-2.11/example-test-fastopt.js
[error] Test framework scala.scalajs.test.JasmineTestFramework$ failed: