Fixed broken scala-js build.
Fixed broken scala-js build.

dotty-staging/scalatest,dotty-staging/scalatest,dotty-staging/scalatest,cheeseng/scalatest,cheeseng/scalatest,cheeseng/scalatest,scalatest/scalatest,scalatest/scalatest,scalatest/scalatest