Skip to content

Commit 15e250c

Browse files
committed
Link to SelTest for Sel examples
1 parent 88459d5 commit 15e250c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

HISTORY.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ History
2727
* Added `ScalazReact.ReactS.liftR` of type `(S ⇒ ReactST[M,S,A]) ⇒ ReactST[M,S,A]`.
2828
* `ScalazReact`'s `~~>` and `runState` functions are now lazy.
2929
* Upgrade [Scalatags](https://github.com/lihaoyi/scalatags) to 0.4.2.
30-
* Added `Sel` to easily lookup DOM in your tests.
31-
Eg. `Sel("div.inner a.active.blue span") find c`
30+
* Added `Sel` to easily lookup DOM in your tests. [Examples](https://github.com/japgolly/scalajs-react/blob/master/test/src/test/scala/japgolly/scalajs/react/test/SelTest.scala).
3231

3332
### 0.4.1 ([commit log](https://github.com/japgolly/scalajs-react/compare/v0.4.0...v0.4.1))
3433

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ s run component
141141

142142
DOM lookup is much easier than using `ReactTestUtils` directly by instead using `Sel`.
143143
`Sel` allows you to use a jQuery/CSS-like selector to lookup a DOM element or subset.
144-
Example:
144+
Full examples can be [seen here](https://github.com/japgolly/scalajs-react/blob/master/test/src/test/scala/japgolly/scalajs/react/test/SelTest.scala); this is a sample:
145145
```scala
146146
val dom = Sel(".inner a.active.new") find myComponent
147147
```

0 commit comments

Comments
 (0)