Skip to content

Commit

Permalink
Fixed DebugTest (stream trace changed for JS)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhungerford committed Jan 22, 2025
1 parent e58dec8 commit fef8d73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kyo-kernel/js/src/main/scala/kyo/kernel/Platform.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ object Platform:
val isNative: Boolean = false
val isDebugEnabled: Boolean = false
def exit(code: Int): Unit =
scala.scalajs.js.Dynamic.global.process.exitCode = code
scala.scalajs.js.Dynamic.global.process.exitCode = code
end Platform
4 changes: 2 additions & 2 deletions kyo-prelude/shared/src/test/scala/kyo/debug/DebugTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@ class DebugTest extends Test:

"with Stream JS" taggedAs jsOnly in
testOutput(
"DebugTest.scala:55:36",
"true",
"DebugTest.scala:54:28",
"undefined",
"DebugTest.scala:55:36",
"Seq(Seq(6))",
"DebugTest.scala:56:21",
"Seq(6)"
) {
Expand Down

0 comments on commit fef8d73

Please sign in to comment.