When I run a test case in scalajs it prints the full trace of the failure as below with line numbers
==> X basic.BasicSuite.renders empty elements 0.02s munit.FailException: /Users/mallru/workspace/front-end/calico-dom-utils/calicotestcases/src/test/scala/basic/BasicSuite.scala:51 querySelector returned null check if the query is correct
50: val actual = dom.document.querySelector("#app > td")
51: assert(actual != null, "querySelector returned null check if the query is correct")
52: assertEquals(actual.outerHTML, expectedEl.outerHTML)
Above test case runs NodeJs internally.
When I run the same test case which uses PlayWright internally the trace is not displayed
==> X basic.BasicSuite.renders empty elements 0.01s munit.FailException:
When I run a test case in scalajs it prints the full trace of the failure as below with line numbers
Above test case runs
NodeJs
internally.When I run the same test case which uses
PlayWright
internally the trace is not displayedWhy is munit loosing the details ?