Skip to content

Documentation

Test-to-Docs Cross-Reference

Every test suite and its corresponding documentation — keep them in sync when modifying tests.

11/13/2026
12 min read Edit on GitHub
Tip

Every test suite has corresponding documentation. When modifying tests, update the linked docs.

Test File Documentation
tests/unit/api/collections.test.ts docs/tests/api-testing.mdx, docs/reference/architecture/collection-store-dataflow.mdx
tests/unit/api/yjs-acl.test.ts docs/project/achievements-2026.mdx (§3.16 / §4.6), docs/reference/security/api-security.mdx
tests/unit/api/authz-bypass-guard.test.ts docs/reference/security/api-security.mdx, docs/reference/security/tested-security-features.mdx
tests/unit/api/dispatcher-body-limit.test.ts docs/reference/security/api-security.mdx, docs/reference/api/media.mdx
tests/unit/api/graphql-apq.test.ts docs/reference/api/graphql.mdx, docs/reference/security/api-security.mdx
tests/unit/utils/api-params.test.ts docs/reference/security/api-security.mdx, docs/reference/database/database-methods.mdx
tests/unit/utils/point-read-payload.test.ts docs/reference/api/collections.mdx (GET entry payload contract), docs/reference/architecture/server-hooks.mdx
tests/unit/databases/db-local-socket.test.ts docs/project/achievements-2026.mdx (§3.16), docs/reference/database/performance-architecture.mdx
tests/unit/utils/hardware-profile-memory.test.ts docs/reference/database/performance-architecture.mdx (§ Hardware-adaptive profile: tiers, derived memory budgets, cgroup-aware CPU)
tests/unit/services/memory-governor-profile-target.test.ts docs/reference/database/performance-architecture.mdx (§ Memory governor: one RSS-target derivation)
tests/unit/services/memory-governor.test.ts docs/reference/database/performance-architecture.mdx (§ Memory governor)
tests/unit/core/response-cache-l1-budget.test.ts docs/reference/database/performance-architecture.mdx (§ Memory governor: L1 byte budgets)
tests/unit/core/response-cache-read-after-write.test.ts docs/reference/architecture/cache-system.mdx (evict-on-write + generation fence), docs/reference/database/performance-architecture.mdx
tests/unit/hooks/api-requests.test.ts docs/reference/architecture/cache-system.mdx (plain-API cache generation), docs/reference/database/performance-architecture.mdx
tests/unit/sdk/revision-history-sqlite.test.ts docs/reference/api/collections.mdx (§ Entry revisions), docs/project/achievements-2026.mdx (§3.65)
tests/unit/setup/preset-collections.test.ts docs/guides/configuration/setup-wizard.mdx (revision defaults in presets), docs/reference/api/collections.mdx
tests/unit/routes/collectionbuilder-action-page-server.test.ts docs/reference/architecture/collection-builder-architecture.mdx, docs/reference/api/collections.mdx (revision toggle/round-trip)
tests/unit/routes/trash-page-server.test.ts docs/reference/api/utility.mdx (trash title/date/author fallbacks)
tests/unit/databases/soft-delete-write.test.ts docs/reference/api/utility.mdx (soft-delete audit columns)
tests/integration/databases/differential-parity.test.ts docs/reference/database/performance-architecture.mdx, docs/reference/api/utility.mdx (four-engine soft-delete parity)
tests/unit/utils/trash-item.test.ts docs/reference/api/utility.mdx (shared trash projection + actor labels)
tests/unit/api/trash-utility.test.ts docs/reference/api/utility.mdx (GET /api/trash envelope/fallbacks)
tests/unit/databases/cache-service-epoch-propagation.test.ts docs/reference/architecture/cache-system.mdx (cross-node epoch propagation), docs/reference/database/performance-architecture.mdx
tests/e2e/routes/collection-builder/kitchen-sink.spec.ts docs/reference/architecture/collection-builder-architecture.mdx, docs/reference/api/collections.mdx (existing-blueprint save, revision flags)
tests/unit/databases/content-drafts-adapter.test.ts docs/reference/api/collections.mdx (§ Draft autosave), docs/reference/database/mongodb-implementation.mdx
tests/unit/databases/mongo-drafts-parity.test.ts docs/reference/api/collections.mdx (§ Draft autosave), docs/reference/database/mongodb-implementation.mdx
tests/unit/sdk/drafts-namespace-sqlite.test.ts docs/reference/api/collections.mdx (§ Draft autosave)
tests/unit/sdk/populate-policy.test.ts docs/reference/security/security-posture.mdx (relation-target read policy)
tests/unit/routes/mediagallery-grid-window.test.ts docs/reference/architecture/media-system.mdx (§ Listing, server search & the windowed grid)
tests/unit/routes/mediagallery-search-query.test.ts docs/reference/architecture/media-system.mdx (§ Listing, server search & the windowed grid)
tests/unit/components/dom/media-grid-virtual-window.test.ts docs/reference/architecture/media-system.mdx (§ Listing, server search & the windowed grid)
tests/unit/components/dom/media-details-alt-generation.test.ts docs/reference/architecture/ai-client-lite-rt.mdx (§ Media details modal), docs/project/achievements-2026.mdx (Media at scale and on-device alt text)
tests/unit/api/drafts-routes.test.ts docs/reference/api/collections.mdx (§ Draft autosave), docs/reference/security/api-security.mdx
tests/unit/utils/entry-drafts.test.ts docs/reference/components/fields.mdx (§ Autosave / navigation guard)
tests/unit/utils/entry-drafts-server.test.ts docs/reference/components/fields.mdx (§ Autosave / navigation guard)
tests/unit/components/dom/collection-entry-drafts.test.ts docs/reference/components/fields.mdx (§ Autosave / navigation guard)
tests/unit/components/dom/draft-resume-banner.test.ts docs/reference/components/fields.mdx (§ Draft resume banner)
tests/unit/components/dom/entry-actions-draft-events.test.ts docs/reference/components/fields.mdx (§ Discard on save/publish)
tests/unit/databases/system-schema-sqlite-bootstrap.test.ts docs/reference/database/performance-architecture.mdx (node:sqlite boot provisioning, FTS mirror rowid triggers)
tests/unit/widgets/core/rich-text.test.ts src/widgets/core/rich-text/rich-text.mdx (HTML comparison normalizer)
tests/unit/utils/format-uptime.test.ts docs/reference/architecture/dashboard-system.mdx (uptime units), docs/reference/api/dashboard.mdx
tests/unit/security/system-tenant-scope.test.ts docs/reference/architecture/multi-tenancy.mdx, docs/project/achievements-2026.mdx (§3.16)
tests/integration/api/collections-mutations.test.ts docs/tests/api-testing.mdx (create/update/delete/clone/schedule HTTP contract)
tests/integration/api/optimistic-lock.test.ts docs/reference/api/collections.mdx (optimistic locking, revision restore, filter validation), docs/project/achievements-2026.mdx (§3.56)
tests/unit/utils/optimistic-lock.test.ts docs/reference/api/collections.mdx (§ Optimistic locking)
tests/unit/utils/collection-query-filters.test.ts docs/reference/api/collections.mdx (§ Filter validation), docs/reference/api/content.mdx
tests/unit/databases/filter-vocabulary.test.ts docs/reference/api/collections.mdx (§ Filter validation), docs/reference/database/performance-architecture.mdx
tests/unit/sdk/collections-namespace-perf.test.ts docs/reference/database/performance-architecture.mdx (§ Pre-compiled collection execution plans & single-query update gate)
tests/unit/core/relational-utils.test.ts docs/reference/database/performance-architecture.mdx (row conversion), docs/project/achievements-2026.mdx (§3.56 snapshot tables)
tests/unit/services/commerce/price.test.ts docs/guides/content/ecommerce.mdx
tests/unit/plugins/commerce.test.ts docs/guides/content/ecommerce.mdx
tests/unit/hooks/defense-in-depth.test.ts docs/reference/security/index.mdx, docs/tests/security-testing.mdx
tests/unit/hooks/authentication.test.ts docs/reference/security/login-security.mdx, docs/tests/hook-test-coverage.mdx
tests/unit/hooks/authorization.test.ts docs/tests/rbac-testing.mdx, docs/reference/security/index.mdx
tests/unit/hooks/system-state.test.ts docs/tests/hook-test-coverage.mdx, docs/reference/architecture/state-management.mdx
tests/unit/hooks/setup.test.ts docs/tests/hook-test-coverage.mdx, docs/guides/configuration/setup-wizard.mdx
tests/unit/hooks/security-headers.test.ts docs/tests/hook-test-coverage.mdx, docs/reference/security/index.mdx
tests/unit/hooks/collection-read-lane.test.ts docs/reference/architecture/cache-system.mdx, docs/reference/database/performance-architecture.mdx
tests/unit/hooks/rate-limit.test.ts docs/reference/security/rate-limiting.mdx
tests/unit/hooks/ws-ratelimit.test.ts docs/reference/security/rate-limiting.mdx
tests/unit/rate-limit/token-bucket.test.ts docs/reference/security/rate-limiting.mdx
tests/unit/rate-limit/adaptive.test.ts docs/reference/security/rate-limiting.mdx
tests/unit/rate-limit/redis-client.test.ts docs/reference/security/rate-limiting.mdx
tests/unit/rate-limit/engine-fallback.test.ts docs/reference/security/rate-limiting.mdx
tests/unit/rate-limit/system-pressure.test.ts docs/reference/security/rate-limiting.mdx
tests/unit/rate-limit/request-clock.test.ts docs/reference/security/rate-limiting.mdx
tests/unit/rate-limit/request-velocity.test.ts docs/reference/security/rate-limiting.mdx
tests/unit/rate-limit/endpoint-cost.test.ts docs/reference/security/rate-limiting.mdx
tests/unit/rate-limit/memory-store.test.ts docs/reference/security/rate-limiting.mdx
tests/unit/rate-limit/async-remote.test.ts docs/reference/security/rate-limiting.mdx
tests/unit/rate-limit/request-clock-slot-sums.test.ts docs/reference/security/rate-limiting.mdx
tests/unit/auth/revocation-epoch.test.ts docs/reference/security/authentication-system.mdx (§ Revocation epoch), docs/reference/security/security-posture.mdx
tests/unit/hooks/session-cache-tenant-key.test.ts docs/reference/security/authentication-system.mdx (§ Session caching), docs/reference/architecture/multi-tenancy.mdx
tests/unit/services/audit-chain-anchor.test.ts docs/reference/enterprise-identity-audit-inventory.mdx (§ 3 tamper-evidence), docs/project/roadmap-2026.mdx (anchor)
tests/unit/databases/rls-scoped-crud.test.ts docs/reference/architecture/multi-tenancy.mdx (§ PostgreSQL RLS), docs/reference/enterprise-tenancy-inventory.mdx (§ 3)
tests/integration/databases/tenant-rls-request-path.test.ts docs/reference/architecture/multi-tenancy.mdx (§ PostgreSQL RLS prerequisites + verification)
tests/unit/auth/sso-distributed-logout.test.ts docs/reference/security/authentication-system.mdx (§ Multi-node logout), docs/reference/enterprise-identity-audit-inventory.mdx (§ 1.3), docs/security/threat-models/auth-session.mdx
tests/unit/services/audit-chain-checkpoint-health.test.ts docs/reference/enterprise-identity-audit-inventory.mdx (§ 3.1 tamper-evidence), docs/project/roadmap-2026.mdx (independent anchor)
tests/unit/security/egress-guard.test.ts docs/reference/security/security-posture.mdx (§ DNS-pinned egress), docs/reference/architecture/utils-system.mdx
tests/unit/sdk/compiled-validation-plan.test.ts docs/reference/security/security-posture.mdx (§ Ahead-of-time validation plans), docs/reference/architecture/content-system.mdx
tests/unit/hooks/csp-headers.test.ts docs/reference/security/content-security-policy.mdx (§ Admin GUI pages)
tests/unit/scripts/security-assurance.test.ts docs/reference/security/security-case.mdx (§ Evidence map)
tests/unit/scripts/advisory-ledger.test.ts docs/reference/security/advisory-process.mdx, docs/reference/security/patch-latency.mdx, docs/security/advisories/readme.mdx
tests/unit/scripts/check-test-strength.test.ts docs/reference/security/test-strength.mdx
tests/unit/scripts/threat-model-drift.test.ts docs/reference/security/threat-models.mdx, docs/security/threat-model.json
tests/unit/scripts/external-validation.test.ts docs/reference/security/security-case.mdx, docs/security/external-validation.json
tests/unit/security/red-team-corpus.test.ts docs/reference/security/test-strength.mdx (§ Executable corpus)
tests/unit/security/invariants.test.ts docs/reference/security/threat-models.mdx, docs/reference/security/security-case.mdx
tests/unit/utils/property-based.test.ts docs/tests/test-status.mdx, docs/reference/security/api-security.mdx
tests/unit/utils/filter-property-based.test.ts docs/reference/api/collections.mdx (filter/sort/pagination contract), docs/tests/test-status.mdx
tests/unit/plugins/wasm-plugin-pool.test.ts docs/development/plugins/architecture.mdx (§ Dual-track execution), docs/reference/security/security-posture.mdx
tests/unit/plugins/post-write-wasm-dual-track.test.ts docs/development/plugins/architecture.mdx (§ Dual-track execution)
tests/unit/plugins/editable-website/capabilities.test.ts src/plugins/editable-website/editable-website.mdx (§ Dashboards), docs/reference/architecture/live-preview-architecture.mdx (§ Where this sits against the market)
tests/unit/plugins/editable-website/preview-dashboards.test.ts src/plugins/editable-website/editable-website.mdx (§ Dashboards), docs/reference/architecture/live-preview-architecture.mdx
tests/unit/plugins/editable-website/protocol-hardening.test.ts docs/reference/architecture/live-preview-architecture.mdx (§ Bridge hardening)
tests/unit/plugins/wasm-stress-load.test.ts docs/development/plugins/architecture.mdx (§ Dual-track execution)
tests/unit/hooks/response-compression-stash.test.ts docs/reference/architecture/server-hooks.mdx, docs/reference/architecture/cache-system.mdx
tests/unit/hooks/collection-write-lane.test.ts docs/reference/database/write-path.mdx, docs/reference/database/performance-architecture.mdx
tests/unit/hooks/handle-turbo-get-lane.test.ts docs/reference/architecture/cache-system.mdx, docs/reference/database/performance-architecture.mdx
tests/unit/auth/roles/role-permission-access.test.ts docs/tests/rbac-testing.mdx
tests/unit/api/media-security.test.ts docs/reference/security/widget-security.mdx
tests/unit/services/media-manipulation.test.ts docs/tests/utility-test-coverage.mdx, docs/reference/architecture/live-preview-architecture.mdx
tests/unit/services/media-service.test.ts docs/tests/utility-test-coverage.mdx
tests/benchmarks/security-audit.test.ts docs/reference/security/quantum-security.mdx, docs/project/benchmarks/index.mdx
tests/benchmarks/statistics-accuracy.test.ts docs/tests/benchmark-matrix.mdx, docs/tests/ci-performance-metrics.mdx (harness statistics contract)
tests/benchmarks/build-analysis.test.ts docs/tests/benchmark-matrix.mdx, docs/tests/ci-performance-metrics.mdx (bundle size + eager admin-shell tracking)
tests/unit/utils/static-aes-key.test.ts docs/reference/architecture/cryptography-module.mdx, docs/reference/security/quantum-security.mdx
tests/unit/services/bulk-import.test.ts docs/reference/database/performance-architecture.mdx, docs/reference/database/database-methods.mdx
tests/unit/databases/lookup-query.test.ts docs/reference/database/performance-architecture.mdx
tests/unit/databases/sql-query-builder-read.test.ts docs/reference/database/performance-architecture.mdx, docs/reference/database/sql-query-builder.mdx
tests/unit/databases/sql-query-builder-operators.test.ts docs/reference/database/sql-query-builder.mdx, docs/reference/database/performance-architecture.mdx
tests/unit/databases/sql-query-builder-compile.test.ts docs/reference/database/sql-query-builder.mdx
tests/unit/databases/sql-query-builder-differential-fuzz.test.ts docs/reference/database/sql-query-builder.mdx, docs/reference/database/performance-architecture.mdx
tests/unit/databases/mongo-query-builder-sort.test.ts docs/reference/database/performance-architecture.mdx
tests/unit/databases/drizzle-order-by-direction.test.ts docs/reference/database/performance-architecture.mdx
tests/unit/databases/mongo-upsert-one-rt.test.ts docs/reference/database/performance-architecture.mdx
tests/unit/databases/mongo-reorder-structure.test.ts docs/reference/database/performance-architecture.mdx, docs/reference/architecture/content-system.mdx
tests/unit/databases/content-node-batching.test.ts docs/reference/database/performance-architecture.mdx
tests/unit/databases/media-gallery-indexes.test.ts docs/reference/architecture/media-system.mdx, docs/reference/database/performance-architecture.mdx
tests/unit/databases/unfiltered-delete.test.ts docs/project/roadmap-2026.mdx
tests/unit/media/replace-size-cap.test.ts docs/project/roadmap-2026.mdx
tests/unit/sdk/bulk-delete-empty.test.ts docs/project/roadmap-2026.mdx
tests/unit/core/auth-row-converter-parity.test.ts docs/reference/database/performance-architecture.mdx
tests/unit/widgets/fetch-related.test.ts docs/development/local-vs-http-api.mdx, docs/reference/database/performance-architecture.mdx
tests/unit/utils/session-reauth.test.ts docs/reference/security/authentication-system.mdx
tests/unit/utils/user-attribute-update.test.ts docs/development/local-vs-http-api.mdx, docs/reference/security/authentication-system.mdx
tests/unit/graphql/fast-path.test.ts docs/reference/database/performance-architecture.mdx, docs/reference/api/graphql.mdx
tests/unit/services/automation-service.test.ts docs/reference/database/performance-architecture.mdx
tests/unit/hooks/compression-negotiate.test.ts docs/guides/deployment/scaling-layers.mdx, docs/reference/architecture/cryptography-module.mdx
tests/unit/services/backup-encryption.test.ts docs/reference/architecture/cryptography-module.mdx, docs/reference/security/quantum-security.mdx
tests/unit/plugins/settings-crypto.test.ts docs/reference/architecture/cryptography-module.mdx
tests/unit/auth/totp/totp-encryption.test.ts docs/reference/api/auth.mdx, docs/reference/security/quantum-security.mdx
tests/unit/utils/field-encryption.test.ts docs/reference/security/field-level-encryption.mdx, docs/reference/architecture/cryptography-module.mdx
tests/unit/services/field-encryption-pipeline.test.ts docs/reference/security/field-level-encryption.mdx, docs/reference/database/write-path.mdx
tests/unit/services/collection-etag.test.ts docs/reference/api/collections.mdx, docs/reference/database/performance-architecture.mdx
tests/unit/utils/export-encode.test.ts docs/reference/api/collections.mdx, docs/reference/security/index.mdx
tests/unit/utils/guarded-query.test.ts docs/reference/security/field-level-access-control.mdx, docs/reference/security/index.mdx
tests/unit/services/scheduler-job.test.ts docs/reference/security/index.mdx, docs/reference/security/tested-security-features.mdx
tests/unit/services/migration-rename-exempt.test.ts docs/reference/architecture/schema-model.mdx, docs/guides/configuration/upgrading.mdx
tests/unit/api/streaming-json-response.test.ts docs/reference/api/collections.mdx, docs/reference/database/performance-architecture.mdx (unbuffered chunked dispatch)
tests/unit/api/content-sse.test.ts docs/reference/api/content.mdx (SSE), docs/reference/database/performance-architecture.mdx (on-demand flush batching)
tests/unit/auth/authenticate-hash-count.test.ts docs/reference/security/login-security.mdx (§6 timing-safe normalization), docs/security/threat-models/auth-session.mdx
tests/unit/scripts/lint-widgets.test.ts docs/development/widgets/development.mdx (three-pillar contract), docs/contributing/accessibility.mdx (widget a11y rules)
tests/unit/scripts/run-source-lints.test.ts docs/tests/testing-scripts.mdx (thirteen source rules over one tree read), AGENTS.md (§4 drift gates)
tests/unit/scripts/rule-registry.test.ts docs/tests/testing-scripts.mdx (18-entry fast-check registry), docs/contributing/validation-pipeline.mdx (Tier 1)
tests/unit/graphql/loader-batching.test.ts docs/reference/api/graphql.mdx (request-scoped DataLoader batching), docs/reference/database/performance-architecture.mdx
tests/unit/databases/sql-crud-read.test.ts docs/reference/database/database-methods.mdx (streamMany), docs/reference/database/performance-architecture.mdx (keyset paging)
tests/unit/databases/sql-stream-keyset-sqlite.test.ts docs/reference/database/performance-architecture.mdx (keyset streaming), docs/reference/database/database-methods.mdx
tests/unit/benchmarks/ci-regression-gate.test.ts docs/tests/benchmark-matrix.mdx, docs/tests/testing-scripts.mdx (budget + drift policy)
tests/benchmarks/**/*.test.ts docs/tests/benchmark-matrix.mdx, docs/project/benchmarks/index.mdx
tests/e2e/accessibility.spec.ts docs/tests/accessibility-audit.mdx
tests/e2e/routes/login/branding.spec.ts docs/reference/architecture/multi-tenancy.mdx
tests/e2e/routes/admin-theme/visual-regression.spec.ts docs/tests/accessibility-audit.mdx
tests/unit/security/token-secret-leakage.test.ts docs/reference/security/secrets-inventory.mdx
tests/unit/scripts/scan-secret-misuse.test.ts docs/reference/security/secrets-inventory.mdx
tests/unit/widgets/core/*.test.ts docs/tests/widget-test-coverage.mdx
tests/unit/dashboard/dashboard-runtime.test.ts docs/development/dashboard/architecture.mdx, docs/reference/api/dashboard.mdx
tests/unit/dashboard/dashboard-sandbox.test.ts docs/development/dashboard/index.mdx (sandbox/RBAC contract), docs/reference/architecture/dashboard-system.mdx (security model)
tests/unit/dashboard/dashboard-storage.test.ts docs/development/dashboard/index.mdx (storage scope + quota)
tests/unit/dashboard/dashboard-presets.test.ts docs/reference/architecture/dashboard-system.mdx (layout presets)
tests/unit/dashboard/dashboard-contract.test.ts docs/development/dashboard/architecture.mdx (widget.json schema)
tests/unit/components/dom/base-widget-interaction.test.ts docs/development/dashboard/development.mdx, docs/development/dashboard/index.mdx
tests/unit/routes/dashboard-page-server.test.ts docs/development/dashboard/architecture.mdx, docs/development/dashboard/index.mdx
tests/unit/routes/access-management-page-server.test.ts docs/tests/routes/access-management.mdx, docs/guides/configuration/access-management.mdx
tests/unit/api/user.test.ts docs/tests/routes/access-management.mdx, docs/reference/security/tested-security-features.mdx
tests/e2e/routes/dashboard/dashboard.spec.ts docs/development/dashboard/development.mdx, docs/project/achievements-2026.mdx (AUD-001: every add-widget trigger opens a menu that survives the click)
tests/e2e/routes/mediagallery/media-pagination.spec.ts docs/reference/architecture/media-system.mdx (server pagination + preserved total)
tests/e2e/routes/mediagallery/media-bulk-partial-failure.spec.ts docs/tests/routes/mediagallery.mdx (per-file delete outcomes)
tests/e2e/routes/mediagallery/remote-upload-contract.spec.ts docs/tests/routes/mediagallery.mdx (native field, no markup residue)
tests/e2e/routes/config/access-drafts.spec.ts docs/tests/routes/access-management.mdx (draft baseline + confirmed navigation)
tests/e2e/routes/config/design-system-discard.spec.ts docs/tests/theme-visual-consistency.mdx (discard restores draft and live chrome)
tests/e2e/routes/collection-builder/confirm-migration.spec.ts docs/development/ui/shells.mdx (migration plan → confirm → resubmit)
tests/e2e/routes/user/management-race.spec.ts docs/tests/routes/access-management.mdx (superseded request guard)
tests/unit/components/setup-navigation-a11y.test.ts docs/contributing/accessibility.mdx (progressbar accessible name)
tests/unit/security/permission-registry-consistency.test.ts docs/reference/security/tested-security-features.mdx (catalog-vs-registry acceptance)
tests/unit/media/media-utils.test.ts docs/guides/content/image-editor.mdx, docs/tests/routes/mediagallery.mdx, docs/reference/architecture/media-system.mdx
tests/unit/media/slim-sniffer.test.ts docs/reference/architecture/media-system.mdx, docs/reference/security/widget-security.mdx
tests/unit/media/processing/media-svg-ssrf-regression.test.ts docs/reference/security/widget-security.mdx, docs/reference/architecture/media-system.mdx
tests/unit/media/gallery-list-item.test.ts docs/tests/routes/mediagallery.mdx
tests/unit/media/media-reference-index.test.ts docs/tests/routes/mediagallery.mdx
tests/unit/media/streaming-upload.test.ts docs/reference/architecture/media-system.mdx, docs/reference/api/media.mdx
tests/unit/components/image-editor/editor-shortcuts.test.ts docs/guides/content/image-editor.mdx
tests/unit/components/image-editor/tool-controls.test.ts docs/guides/content/image-editor.mdx
tests/unit/media/focal-point.test.ts docs/guides/content/image-editor.mdx, docs/reference/api/media.mdx
tests/unit/utils/hotkeys-plus.test.ts docs/guides/content/image-editor.mdx
tests/integration/api/media-manipulate.test.ts docs/guides/content/image-editor.mdx, docs/reference/api/media.mdx, docs/tests/routes/mediagallery.mdx
tests/e2e/routes/mediagallery/image-editor.spec.ts docs/guides/content/image-editor.mdx, docs/tests/routes/mediagallery.mdx
tests/e2e/routes/mediagallery/large-library.spec.ts docs/reference/architecture/media-system.mdx (batched grid rendering), docs/project/achievements-2026.mdx
tests/e2e/routes/mediagallery/upload-optimization.spec.ts docs/reference/architecture/media-system.mdx (pre-upload optimization), docs/guides/content/image-editor.mdx
tests/e2e/routes/mediagallery/remote-ingestion.spec.ts docs/reference/architecture/media-system.mdx (remote ingest + SSRF), docs/reference/security/api-security.mdx
tests/integration/api/media-folder-rbac.test.ts docs/reference/api/media.mdx, docs/reference/architecture/media-system.mdx
tests/integration/databases/result-shape-contract.test.ts docs/reference/database/database-agnostic-verification.mdx, docs/reference/database/write-path.mdx
tests/unit/databases/rows-affected.test.ts docs/reference/database/write-path.mdx, docs/tests/adr-testing-2026.mdx
tests/unit/databases/mariadb-wire-etag.test.ts docs/reference/database/mariadb-implementation.mdx, docs/reference/database/write-path.mdx
tests/unit/scripts/lint-e2e-hydration.test.ts docs/tests/adr-testing-2026.mdx
tests/unit/ci/ci-tier-contract.test.ts docs/tests/adr-testing-2026.mdx, AGENTS.md (CI tiers)
tests/unit/databases/role-permissions-reconcile.test.ts docs/reference/api/auth.mdx, docs/reference/api/media.mdx
tests/unit/graphql/graphql-server.test.ts docs/reference/api/graphql.mdx
tests/unit/services/api-spec-service.test.ts docs/reference/api/index.mdx (REST/OpenAPI coverage incl. webhooks, workflows, automations), docs/tests/test-status.mdx (curated-subset + namespace inventory)
tests/unit/api/openapi.test.ts docs/reference/api/index.mdx, docs/tests/test-status.mdx
tests/unit/api/openapi-contract-coverage.test.ts docs/reference/api/index.mdx (curated-subset inventory), docs/tests/test-status.mdx (OpenAPI honesty gate)
tests/unit/scripts/marketplace-conformance.test.ts docs/development/plugins/testing.mdx (§10 conformance audit), docs/development/plugins/marketplace.mdx
tests/unit/scripts/check-coverage-budget.test.ts docs/tests/coverage-budget.mdx
tests/unit/services/webhook-dispatch.test.ts docs/guides/content/automations.mdx (durable webhook delivery), docs/tests/routes/webhooks.mdx
tests/unit/routes/system-shared-guards.test.ts docs/reference/security/api-security.mdx (admin gate + tenant override)
tests/unit/utils/api-unwrap-list.test.ts docs/reference/api/index.mdx (envelope normalization)
tests/unit/scripts/lint-global-timers.test.ts AGENTS.md (drift gates), docs/troubleshooting.mdx (HMR teardown)
tests/unit/scripts/lint-live-paths.test.ts docs/tests/benchmark-isolation.mdx, AGENTS.md (drift gates)
tests/unit/scripts/lint-transient-classification.test.ts docs/tests/benchmark-isolation.mdx, AGENTS.md (drift gates)
tests/unit/scripts/lint-date-helpers.test.ts AGENTS.md (drift gates), docs/reference/architecture/content-system.mdx
tests/unit/scripts/lint-silent-catch.test.ts AGENTS.md (errors & logging)
tests/unit/scripts/lint-locale-format.test.ts docs/tests/testing-scripts.mdx (§ pinned locale formatting), AGENTS.md (drift gates)
tests/unit/scripts/lint-css-tokens.test.ts docs/tests/testing-scripts.mdx (§ tokens that can exist at runtime), docs/contributing/style-guide-gui.mdx
tests/unit/scripts/lint-click-away.test.ts docs/tests/testing-scripts.mdx (§ containment guards on document clicks), docs/project/achievements-2026.mdx (§3.79, AUD-001)
tests/unit/scripts/check-hardcoded-copy.test.ts docs/tests/testing-scripts.mdx (§ unlocalized-copy ratchet), docs/project/roadmap-2026.mdx (§7 i18n backlog)
tests/unit/scripts/lint-rule-budgets.test.ts AGENTS.md (errors & logging, code hygiene), docs/project/roadmap-2026.mdx
tests/unit/scripts/lint-e2e-actionability.test.ts docs/tests/adr-testing-2026.mdx, AGENTS.md (before you push)
tests/unit/content/sync-content-state.test.ts docs/reference/architecture/content-system.mdx, docs/reference/architecture/compilation-pipeline.mdx
tests/unit/content/collection-save-sync.test.ts docs/reference/architecture/compilation-pipeline.mdx, docs/reference/architecture/collection-builder-architecture.mdx
tests/unit/content/schema-contract.test.ts docs/reference/architecture/content-system.mdx
tests/unit/content/loader-utils.test.ts docs/reference/architecture/compilation-pipeline.mdx (load-time failure classification), docs/troubleshooting.mdx (Vite module-runner deferral)
tests/unit/content/content-reconcile.test.ts docs/reference/architecture/compilation-pipeline.mdx (transient scan deferral)
tests/unit/compilation/compile-manifest.test.ts docs/reference/architecture/compilation-pipeline.mdx
tests/unit/compilation/category-directories.test.ts docs/reference/architecture/collection-builder-architecture.mdx, docs/reference/architecture/compilation-pipeline.mdx
tests/integration/collectionbuilder/* docs/reference/architecture/collection-builder-architecture.mdx
tests/e2e/routes/collection-builder/builder.spec.ts docs/guides/content/collection-builder.mdx, docs/reference/architecture/collection-builder-architecture.mdx
tests/e2e/routes/collection-builder/sidebar-ssr.spec.ts docs/reference/architecture/collection-builder-architecture.mdx, docs/reference/architecture/content-system.mdx
tests/unit/auth/sso/oidc-pkce-jit.test.ts docs/reference/api/auth.mdx, docs/guides/configuration/access-management.mdx
tests/unit/auth/sso/sso-providers-handler.test.ts docs/reference/api/auth.mdx, docs/guides/configuration/access-management.mdx
tests/unit/auth/session-rotation.test.ts docs/reference/security/login-security.mdx (§ Token rotation: retire, not delete)
tests/unit/utils/layout-caches.server.test.ts docs/reference/security/login-security.mdx (§ Credential-free layout payload)
tests/unit/routes/layout-id-generator.test.ts docs/contributing/accessibility.mdx (generated-id ↔ label[for] linkage), docs/reference/architecture/index.mdx
tests/unit/routes/api-playground-page-server.test.ts docs/reference/api/index.mdx, docs/development/openapi-spec.mdx
tests/unit/services/workflow-service-completion.test.ts docs/guides/content/workflows.mdx, docs/reference/components/workflow-actions.mdx
tests/unit/services/seo-head.test.ts src/widgets/custom/seo/seo.mdx (head rendering), docs/development/site-starter.mdx
tests/unit/services/sitemap-builder.test.ts src/widgets/custom/seo/seo.mdx (sitemap & robots.txt), docs/development/site-starter.mdx
src/widgets/custom/*/tests/*.test.ts docs/tests/widget-test-coverage.mdx, docs/development/widgets/index.mdx
tests/unit/widgets/custom/block-builder.test.ts docs/reference/components/fields.mdx, docs/development/widgets/index.mdx
tests/unit/components/create-smart-table.test.ts docs/reference/components/smart-table.mdx, docs/project/achievements-2026.mdx
tests/unit/components/field-skeleton.test.ts docs/reference/components/fields.mdx (§ Render-safe form skeleton)
tests/unit/components/dom/entry-fields-create-skeleton.test.ts docs/reference/components/fields.mdx (§ Render-safe form skeleton)
tests/unit/components/dom/entry-fields-conditions-interaction.test.ts docs/reference/components/fields.mdx (showIf/requiredIf + TokenPicker insertion)
tests/unit/components/dom/user-modal-edit-interaction.test.ts docs/reference/architecture/user-management-overview.mdx, docs/project/achievements-2026.mdx (§3.64)
tests/unit/user/user-remote-helpers.test.ts docs/reference/architecture/user-management-overview.mdx, docs/reference/api/tokens.mdx
tests/unit/routes/access-management-page-server.test.ts docs/guides/configuration/access-management.mdx (§ server-rendered tabs), docs/reference/security/login-security.mdx (page data must not shadow the layout user)
tests/unit/api/ai-builder.test.ts docs/development/ai-builder-design.mdx
tests/unit/services/ai-builder/schema-ast.test.ts docs/development/ai-builder-design.mdx
tests/unit/utils/boolean-filter.test.ts docs/reference/components/smart-table.mdx, docs/reference/architecture/collection-filtering.mdx
tests/unit/services/marketplace-checksum.test.ts docs/reference/architecture/marketplace.mdx
tests/unit/setup/language-packs.test.ts docs/guides/configuration/system-languages.mdx
tests/unit/package-exports.test.ts docs/development/package-model.mdx
tests/unit/utils/entry-actions.test.ts docs/reference/architecture/content-system.mdx, docs/project/achievements-2026.mdx (§3.18)
tests/unit/widgets/custom-widget-sveltycms.test.ts docs/development/widgets/index.mdx, docs/reference/components/fields.mdx
tests/unit/databases/cache-service-l2-contract.test.ts docs/reference/architecture/cache-system.mdx, docs/reference/database/performance-architecture.mdx
tests/unit/databases/cache-warming-service.test.ts docs/reference/architecture/cache-system.mdx
tests/unit/media/derivative-ladder.test.ts docs/reference/architecture/media-system.mdx (#3 + derivative format), docs/project/achievements-2026.mdx
tests/unit/media/processing/media-storage.test.ts docs/reference/architecture/media-system.mdx (derivative format), docs/project/achievements-2026.mdx
tests/unit/media/upload-dedupe-order.test.ts docs/reference/architecture/media-system.mdx (#2 dedupe), docs/project/achievements-2026.mdx
tests/unit/media/video-thumbnail-pipe.test.ts docs/reference/architecture/media-system.mdx (Phase II video previews), docs/security/threat-models/media-files.mdx
tests/unit/services/outbox-service.test.ts docs/reference/architecture/background-jobs.mdx (outbox buffering + immediate kick), docs/project/achievements-2026.mdx
tests/unit/components/dom/tooltip-escape-dispatcher.test.ts docs/development/ui/primitives.mdx (tooltip), docs/contributing/accessibility.mdx (Escape + focus behaviour)
tests/unit/sdk/relation-warmup.test.ts docs/security/threat-models/content-write.mdx (deferred warm-up policy + cap), docs/reference/database/performance-architecture.mdx (L1+L2 write-through)
tests/unit/services/yjs-sync-server-awareness.test.ts docs/reference/architecture/collaborative-editing.mdx (presence cleanup + heartbeat)
tests/unit/utils/http-client.test.ts docs/development/local-vs-http-api.mdx (client transport split), docs/development/error-handling.mdx
tests/unit/services/webhook-circuit-breaker.test.ts docs/reference/architecture/background-jobs.mdx (per-origin circuit breaker)
tests/unit/components/column-window.test.ts docs/reference/components/smart-table.mdx (horizontal body-cell window), docs/project/achievements-2026.mdx
tests/unit/components/dom/entry-list-column-window.test.ts docs/reference/components/entry-list.mdx (wide-table windowing), docs/contributing/accessibility.mdx (keyboard column reveal)
tests/unit/plugins/plugin-client-catalog.test.ts docs/development/plugins/architecture.mdx (client catalog), docs/security/threat-models/admin-pages.mdx
tests/unit/databases/sqlite-statement-cache-lru.test.ts docs/reference/database/performance-architecture.mdx (prepared statements & caches)
tests/unit/content/content-write-prep-zero-alloc.test.ts docs/reference/database/performance-architecture.mdx (allocation pooling), docs/reference/api/collections.mdx
tests/integration/api/media-dedupe-derivatives.test.ts docs/reference/architecture/media-system.mdx (#2/#3), docs/project/achievements-2026.mdx
tests/benchmarks/media-performance.test.ts docs/reference/architecture/media-system.mdx (fan-out + duplicate benchmarks), docs/project/benchmarks/index.mdx
tests/e2e/routes/collection-builder/content-entries.spec.ts docs/reference/components/smart-table.mdx, docs/guides/content/collection-builder.mdx, docs/contributing/accessibility.mdx
tests/e2e/routes/collection-builder/kitchen-sink.spec.ts docs/tests/e2e-coverage-matrix.mdx (composite widget journey), docs/reference/components/fields.mdx, docs/project/achievements-2026.mdx (AUD-002/016 dirty state)
tests/e2e/routes/admin/editor-boundary.spec.ts docs/tests/rbac-testing.mdx, docs/guides/configuration/access-management.mdx
tests/e2e/browser-vitality.spec.ts docs/tests/benchmark-matrix.mdx (real-browser vitality), docs/reference/database/performance-architecture.mdx
tests/e2e/helpers/zero-error-guard.ts docs/tests/e2e-testing-guide.mdx (zero-error contract), docs/project/achievements-2026.mdx (§3.60)
tests/unit/components/dom/widget-inputs-interaction.test.ts docs/tests/widget-test-coverage.mdx, docs/development/widgets/index.mdx
tests/integration/routes/collection-page-load.test.ts docs/reference/architecture/url-pattern.mdx, docs/reference/api/collections.mdx
tests/unit/utils/error-display.test.ts docs/development/ui/shells.mdx, docs/contributing/accessibility.mdx
tests/e2e/routes/user/token-actions.spec.ts docs/reference/api/tokens.mdx, docs/guides/configuration/user-registration.mdx
tests/unit/routes/token-routes-handler.test.ts docs/reference/api/tokens.mdx
tests/integration/api/token.test.ts docs/reference/api/tokens.mdx, docs/guides/configuration/user-registration.mdx
tests/route-test-coverage.ts docs/tests/three-layer-completeness.mdx, docs/tests/e2e-coverage-matrix.mdx
tests/unit/route-test-coverage.test.ts docs/tests/three-layer-completeness.mdx, docs/tests/e2e-coverage-matrix.mdx
scripts/check/check-route-behaviour.ts docs/project/achievements-2026.mdx (route-behaviour gate), docs/tests/three-layer-completeness.mdx
tests/unit/scripts/check-route-behaviour.test.ts docs/project/achievements-2026.mdx (route-behaviour gate), docs/tests/three-layer-completeness.mdx
scripts/check/check-route-manifest.ts docs/project/achievements-2026.mdx (linkmap Phase 7), docs/tests/three-layer-completeness.mdx
tests/unit/scripts/route-manifest-check.test.ts docs/project/achievements-2026.mdx (linkmap Phase 7), docs/tests/three-layer-completeness.mdx
scripts/check/check-test-inventory.ts docs/project/achievements-2026.mdx (linkmap Phase 7), docs/tests/adr-testing-2026.mdx
scripts/test/run-unit-suite.ts docs/project/achievements-2026.mdx (linkmap Phase 7), AGENTS.md (CI gate parity)
tests/unit/scripts/test-inventory.test.ts docs/project/achievements-2026.mdx (linkmap Phase 7), docs/tests/adr-testing-2026.mdx
tests/unit/scripts/analyze-linkmap.test.ts docs/project/achievements-2026.mdx (linkmap Phases 6–9)
tests/unit/scripts/module-boundary.test.ts docs/project/achievements-2026.mdx (client→server boundary), docs/reference/security/security-posture.mdx (client→server leaks)
tests/unit/scripts/slop-scanner.test.ts docs/reference/security/security-case.mdx, docs/project/achievements-2026.mdx (rule enforcement)
scripts/lint/lint-trivially-true-assertions.ts docs/project/achievements-2026.mdx (unfailable-assertion lint)
scripts/lint/lint-duplicate-testids.ts docs/tests/adr-testing-2026.mdx (testid uniqueness rule)
tests/unit/scripts/lint-duplicate-testids.test.ts docs/tests/adr-testing-2026.mdx (testid uniqueness rule)
tests/mutation/seam-mutation.test.ts docs/tests/mutation-testing.mdx, docs/tests/three-layer-completeness.mdx
tests/unit/scripts/check-seam-assertions.test.ts docs/tests/three-layer-completeness.mdx, scripts/check/check-seam-assertions.ts
tests/unit/databases/in-memory-provision-lock.test.ts docs/tests/database-tests.mdx (§ Parallel worker isolation)
tests/unit/core/response-cache-worker-isolation.test.ts docs/reference/architecture/cache-system.mdx (§ E2E worker namespace), docs/tests/e2e-testing-guide.mdx (§ Worker isolation)
tests/unit/services/settings-service.test.ts docs/development/site-starter.mdx (SITE_STARTER_ENABLED sync snapshot)
tests/e2e/routes/site/commerce-golden.spec.ts docs/development/site-starter.mdx, docs/tests/e2e-testing-guide.mdx (§ Worker isolation)
testsdocumentationreference
Was this page helpful?