aboutsummaryrefslogtreecommitdiff
path: root/docs/nav.ts
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2023-07-11 19:14:34 -0700
committerGravatar GitHub <noreply@github.com> 2023-07-11 19:14:34 -0700
commitcbb88672f217a90db1aa1eb29cd92d5d9035b22b (patch)
tree43a00501f3cde495967e116f0b660777051551f8 /docs/nav.ts
parent1f900cff453700b19bca2acadfe26da4468c1282 (diff)
parent34b0e7a2bbd8bf8097341cdb0075d0908283e834 (diff)
downloadbun-jarred/esm-conditions.tar.gz
bun-jarred/esm-conditions.tar.zst
bun-jarred/esm-conditions.zip
Merge branch 'main' into jarred/esm-conditionsjarred/esm-conditions
Diffstat (limited to 'docs/nav.ts')
-rw-r--r--docs/nav.ts18
1 files changed, 12 insertions, 6 deletions
diff --git a/docs/nav.ts b/docs/nav.ts
index 12333e6da..5b35036d3 100644
--- a/docs/nav.ts
+++ b/docs/nav.ts
@@ -135,13 +135,13 @@ export default {
description:
"Install all dependencies with `bun install`, or manage dependencies with `bun add` and `bun remove`.",
}),
- page("install/workspaces", "Workspaces", {
- description: "Bun's package manager supports workspaces and mono-repo development workflows.",
- }),
page("install/cache", "Global cache", {
description:
"Bun's package manager installs all packages into a shared global cache to avoid redundant re-downloads.",
}),
+ page("install/workspaces", "Workspaces", {
+ description: "Bun's package manager supports workspaces and mono-repo development workflows.",
+ }),
page("install/lockfile", "Lockfile", {
description:
"Bun's binary lockfile `bun.lockb` tracks your resolved dependency ytrr, making future installs fast and repeatable.",
@@ -180,6 +180,9 @@ export default {
page("cli/test", "`bun test`", {
description: "Bun's test runner uses Jest-compatible syntax but runs 100x faster.",
}),
+ page("test/hot", "Watch mode", {
+ description: "Reload your tests automatically on change.",
+ }),
page("test/writing", "Writing tests", {
description:
"Write your tests using Jest-like expect matchers, plus setup/teardown hooks, snapshot testing, and more",
@@ -187,15 +190,18 @@ export default {
page("test/lifecycle", "Lifecycle hooks", {
description: "Add lifecycle hooks to your tests that run before/after each test or test run",
}),
+ page("test/mocks", "Mocks", {
+ description: "Mocks functions and track method calls",
+ }),
page("test/snapshots", "Snapshots", {
description: "Add lifecycle hooks to your tests that run before/after each test or test run",
}),
+ page("test/time", "Dates and times", {
+ description: "Control the date & time in your tests for more reliable and deterministic tests",
+ }),
page("test/dom", "DOM testing", {
description: "Write headless tests for UI and React/Vue/Svelte/Lit components with happy-dom",
}),
- page("test/hot", "Watch mode", {
- description: "Reload your tests automatically on change.",
- }),
divider("Package runner"),
page("cli/bunx", "`bunx`", {