1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2026-08-16 05:54:53 +02:00

Jest: bump to v20

This commit is contained in:
Rico Sta. Cruz
2017-09-01 05:46:19 +08:00
parent ace66a931c
commit f9c0724b0c

View File

@@ -42,6 +42,8 @@ describe('My work', () => {
})
```
See: [describe()](http://facebook.github.io/jest/docs/en/api.html#describename-fn), [test()](http://facebook.github.io/jest/docs/en/api.html#testname-fn), [expect()](http://facebook.github.io/jest/docs/en/expect.html#content)
### BDD syntax
```js
@@ -349,6 +351,6 @@ fn() // → 2
## References
{: .-one-column}
- Based on Jest v19.
- Based on Jest v20.
- <http://facebook.github.io/jest/>
{: .-also-see}