diff options
Diffstat (limited to 'docs/nav.ts')
-rw-r--r-- | docs/nav.ts | 18 |
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`", { |