File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
scalatest.js/src/main/scala/org/scalatest/tools Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import org.scalatest.events.{TestFailed,
26
26
SeeStackDepthException }
27
27
import org .scalatest .tools .StringReporter ._
28
28
import sbt .testing ._
29
- import org .scalajs .testinterface . TestUtils
29
+ import scala .scalajs .reflect . Reflect
30
30
import org .scalatest ._
31
31
import java .util .concurrent .atomic .AtomicInteger
32
32
import scala .concurrent .Promise
@@ -78,7 +78,7 @@ println("GOT TO THIS RECOVER CALL")
78
78
79
79
def executionFuture (eventHandler : EventHandler , loggers : Array [Logger ]): Future [Unit ] = {
80
80
val suiteStartTime = Platform .currentTime
81
- val suite = TestUtils .newInstance (task.fullyQualifiedName, cl, Seq .empty)( Seq .empty ).asInstanceOf [Suite ]
81
+ val suite = Reflect .lookupInstantiatableClass (task.fullyQualifiedName).getOrElse( throw new RuntimeException ( " Cannot load suite class: " + task.fullyQualifiedName)).newInstance( ).asInstanceOf [Suite ]
82
82
val sbtLogInfoReporter = new SbtLogInfoReporter (
83
83
loggers,
84
84
presentAllDurations,
You can’t perform that action at this time.
0 commit comments