Skip to content

Commit fc7b98e

Browse files
committed
Conditionally compile away serializeRoundTrip method calls in UltimatelySpec for Scala.js.
1 parent a99bea4 commit fc7b98e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scalatest-test/src/test/scala/org/scalatest/concurrent/UltimatelySpec.scala

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ import time.{Millisecond, Span, Millis}
2222
import org.scalatest.exceptions.TestFailedException
2323
import org.scalatest.exceptions.TestPendingException
2424
import org.scalatest.exceptions.TestFailedDueToTimeoutException
25+
// SKIP-SCALATESTJS-START
2526
import SharedHelpers.serializeRoundtrip
27+
// SKIP-SCALATESTJS-END
2628
import scala.concurrent.Future
2729

30+
2831
class UltimatelySpec extends AsyncFunSpec with Matchers with OptionValues {
2932

3033
describe("The ultimately construct") {
@@ -256,7 +259,8 @@ class UltimatelySpec extends AsyncFunSpec with Matchers with OptionValues {
256259
}
257260
}
258261

259-
// TODO: This is failing and I'm not sure why. Figure it out.
262+
// SKIP-SCALATESTJS-START
263+
// TODO: This is failing (on the JVM) and I'm not sure why. Figure it out.
260264
ignore("should blow up with a TFE that is serializable") {
261265
recoverToExceptionIf[TestFailedException] {
262266
ultimately {
@@ -267,6 +271,7 @@ class UltimatelySpec extends AsyncFunSpec with Matchers with OptionValues {
267271
succeed
268272
}
269273
}
274+
// SKIP-SCALATESTJS-END
270275
}
271276
}
272277

0 commit comments

Comments
 (0)