blob: 23e240d4e9f808c52d4e94c4d5f737e6e9914619 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package scala.scalajs.sbtplugin.test.env
import scala.scalajs.sbtplugin.env.phantomjs.PhantomJSEnv
import org.junit.Test
class PhantomJSTest extends JSEnvTest with ComTests {
protected def newJSEnv = new PhantomJSEnv
@Test
def failureTest = {
"""
var a = {};
a.foo();
""".fails()
}
}
|