Skip to content

Commit 4f1de4a

Browse files
committed
README: Update test SBT instructions
1 parent 67541bb commit 4f1de4a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,15 @@ In order to test React and use `ReactTestUtils` you will need to make a few chan
157157
```scala
158158
jsDependencies += "org.webjars" % "react" % "0.11.1" % "test"
159159
/ "react-with-addons.js" commonJSName "React"
160+
161+
requiresDOM := true
162+
163+
test in Test := (test in(Test, fastOptStage)).value
164+
165+
testOnly in Test := (testOnly in(Test, fastOptStage)).evaluated
166+
167+
testQuick in Test := (testQuick in(Test, fastOptStage)).evaluated
160168
```
161-
* Add: `requiresDOM := true`
162169
* Install PhantomJS.
163170

164171
Extensions

0 commit comments

Comments
 (0)