-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ScalaJS artifact #97
base: master
Are you sure you want to change the base?
ScalaJS artifact #97
Conversation
f.map(_ => throw NoError).recover { | ||
case NoError => throw new IllegalStateException("A failure was expected.") | ||
case e: T => None | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll prepare a pull request to utest
to introduce support for Future
to intercept
. This is a temporary solution.
Using scalatest http://mvnrepository.com/artifact/org.scalatest/scalatest_2.11/3.0.0-M4 will make the transition easier! |
+1 for scalatest |
+2 for scalatest On Fri, Jun 26, 2015, 05:15 William Boxhall [email protected]
|
@ngbinh I couldn't find documentation saying that ScalaTest is compatible with ScalaJS. Are you sure it is possible to use ScalaTest for the cross compilation? |
@fwbrasil scalatest |
scala.js artifact http://mvnrepository.com/artifact/org.scalatest/scalatest-all_sjs0.6_2.10/3.0.0-M4 "org.scalatest" %%% "scalatest" % "3.0.0-M4" % Test should pull in the right ones. |
any update here? I would love to try Clump on scala.js |
I'd like to be able to use clump from ScalaJS. The cross build itself is simple, but the pull request has many changes because
specs2
isn't compatible with ScalaJS so I had to migrate the tests to use http://github.com/lihaoyi/utest.