diff options
author | 2023-09-07 10:09:09 -0700 | |
---|---|---|
committer | 2023-09-07 10:09:09 -0700 | |
commit | 5424ea3403df9cd4672290865f12b6f5b01cf2d0 (patch) | |
tree | 27e19a70fba49ffdd944c190163f5e8322d7a32f /docs/test | |
parent | 4b63ced72dc1b304e737d9ea055c8b6e75f46119 (diff) | |
download | bun-5424ea3403df9cd4672290865f12b6f5b01cf2d0.tar.gz bun-5424ea3403df9cd4672290865f12b6f5b01cf2d0.tar.zst bun-5424ea3403df9cd4672290865f12b6f5b01cf2d0.zip |
Doc updates for v1.0 (#4485)
* Remove v0.x messages
* Add windows section to Installatino
* update
* update
* Update
* Comment out windows
Diffstat (limited to 'docs/test')
-rw-r--r-- | docs/test/coverage.md | 4 | ||||
-rw-r--r-- | docs/test/dom.md | 2 | ||||
-rw-r--r-- | docs/test/time.md | 2 | ||||
-rw-r--r-- | docs/test/writing.md | 8 |
4 files changed, 6 insertions, 10 deletions
diff --git a/docs/test/coverage.md b/docs/test/coverage.md index 503b5abf6..4a9beeb9d 100644 --- a/docs/test/coverage.md +++ b/docs/test/coverage.md @@ -43,10 +43,6 @@ coverageSkipTestFiles = true # default false ### Coverage thresholds -{% callout %} -**Note** — Support for coverage reporting was added in Bun v0.7.3. -{% /callout %} - It is possible to specify a coverage threshold in `bunfig.toml`. If your test suite does not meet or exceed this threshold, `bun test` will exit with a non-zero exit code to indicate the failure. ```toml diff --git a/docs/test/dom.md b/docs/test/dom.md index 3eb897745..98ab8101c 100644 --- a/docs/test/dom.md +++ b/docs/test/dom.md @@ -55,7 +55,7 @@ Let's run this test with `bun test`: ```bash $ bun test -bun test v0.x.y +bun test v1.x dom.test.ts: ✓ dom test [0.82ms] diff --git a/docs/test/time.md b/docs/test/time.md index 4a0f98407..15c8778ad 100644 --- a/docs/test/time.md +++ b/docs/test/time.md @@ -1,4 +1,4 @@ -`bun:test` lets you change what time it is in your tests. This was introduced in Bun v0.6.13. +`bun:test` lets you change what time it is in your tests. This works with any of the following: diff --git a/docs/test/writing.md b/docs/test/writing.md index a99af8b90..f5024a369 100644 --- a/docs/test/writing.md +++ b/docs/test/writing.md @@ -300,12 +300,12 @@ Bun implements the following matchers. Full Jest compatibility is on the roadmap --- - 🟢 -- [`.resolves()`](https://jestjs.io/docs/expect#resolves) (since Bun v0.6.12+) +- [`.resolves()`](https://jestjs.io/docs/expect#resolves) --- - 🟢 -- [`.rejects()`](https://jestjs.io/docs/expect#rejects) (since Bun v0.6.12+) +- [`.rejects()`](https://jestjs.io/docs/expect#rejects) --- @@ -385,7 +385,7 @@ Bun implements the following matchers. Full Jest compatibility is on the roadmap --- - 🟢 -- [`.toBeInstanceOf()`](https://jestjs.io/docs/expect#tobeinstanceofclass) (Bun v0.5.8+) +- [`.toBeInstanceOf()`](https://jestjs.io/docs/expect#tobeinstanceofclass) --- @@ -405,7 +405,7 @@ Bun implements the following matchers. Full Jest compatibility is on the roadmap --- - 🟢 -- [`.toMatchSnapshot()`](https://jestjs.io/docs/expect#tomatchsnapshotpropertymatchers-hint) (Bun v0.5.8+) +- [`.toMatchSnapshot()`](https://jestjs.io/docs/expect#tomatchsnapshotpropertymatchers-hint) --- |