# Testing signals — nuxt/nuxt

> Canonical page: https://codevetter.com/unpack/nuxt/testing-signals

# Testing signals — nuxt/nuxt

Scanned commit 3fde4d625cc353e83ac10f6b75db8ca480167be4 (2026-10-01). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

Tests and CI were inspected, not executed; their existence and assertions establish intended coverage, not passing results. Vitest separates unit, renderer, Nuxt-environment, fixture-matrix, bundle, and type-performance projects, while Playwright drives browser scenarios. CI schedules type/API checks, runtime/unit tests, fixture tests, browser tests, and security analysis with event-specific gates. The inspection is bounded, and explicit exclusions, disabled jobs, and a fixme prevent treating the configured suite as exhaustive coverage.
- The unit Vitest project discovers package test/spec files and supplies generated-module/runtime aliases; Nuxt-environment projects run test/nuxt with @nuxt/test-utils configuration and fixture preparation. — [vitest.config.ts#L259-283](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/vitest.config.ts#L259-L283) [vitest.config.ts#L298-315](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/vitest.config.ts#L298-L315)
- Fixture projects exercise Vite dev/built, async/default context, and manifest-on/off combinations; Nitro-Vite, Rspack, and Webpack intentionally use smaller matrices, with additional legacy-error projects. — [vitest.config.ts#L99-119](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/vitest.config.ts#L99-L119) [vitest.config.ts#L122-142](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/vitest.config.ts#L122-L142)
- Renderer tests prepare standalone generated artifacts and inject renderer configuration; standalone.test.ts asserts HTML, asset URL helpers, SPA route behavior, hooks, and isolation between renderer options. — [vitest.config.ts#L148-175](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/vitest.config.ts#L148-L175) [test/renderer/standalone.test.ts#L40-106](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/test/renderer/standalone.test.ts#L40-L106)
- Inline-error tests assert preservation of Set-Cookie and middleware headers, static fallback after an error-page failure, rejection rather than HTML for payload failures, and 404 handling for the retired error route. — [test/renderer/inline-errors.test.ts#L119-171](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/test/renderer/inline-errors.test.ts#L119-L171)
- Session unit tests use synthetic Web Request events and mocked runtime config to check cookie flags, cross-request round trips, tampering, expiry, format rejection, cookie-size limits, and missing appSecret failures. — [packages/nuxt/test/server-session.test.ts#L1-43](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/packages/nuxt/test/server-session.test.ts#L1-L43) [packages/nuxt/test/server-session.test.ts#L92-99](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/packages/nuxt/test/server-session.test.ts#L92-L99) [packages/nuxt/test/server-session.test.ts#L143-191](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/packages/nuxt/test/server-session.test.ts#L143-L191) [packages/nuxt/test/server-session.test.ts#L224-267](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/packages/nuxt/test/server-session.test.ts#L224-L267)
- Nuxt runtime fetching tests register local endpoints and inspect payload entries, computed request equivalence, removed params handling, serialize:false, reactive keys, basic async-data return shape, and shallow refs. — [test/nuxt/use-fetch.test.ts#L21-110](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/test/nuxt/use-fetch.test.ts#L21-L110) [test/nuxt/use-async-data.test.ts#L45-95](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/test/nuxt/use-async-data.test.ts#L45-L95)
- Builder tests create temporary applications and exercise chokidar, granular chokidar, and Parcel watcher strategies, including parent-path changes and selective template recompilation. — [packages/nuxt/test/builder.test.ts#L11-71](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/packages/nuxt/test/builder.test.ts#L11-L71) [packages/nuxt/test/builder.test.ts#L74-115](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/packages/nuxt/test/builder.test.ts#L74-L115)
- Playwright uses Desktop Chrome across Vite dev/built, Nitro-Vite dev/built, and built Webpack/Rspack projects; it excludes dev-only, build-only, Vite-only, shared-fixture mutation, and Rspack chunk-error scenarios as configured. — [playwright.config.ts#L9-50](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/playwright.config.ts#L9-L50) [playwright.config.ts#L80-102](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/playwright.config.ts#L80-L102)
- Streaming browser tests assert redirects, pre-shell error fallback, mid-stream error payloads/client error pages, and late-status behavior; the dev SFC stylesheet-before-shell scenario is explicitly test.fixme. — [test/e2e/ssr-streaming.test.ts#L254-275](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/test/e2e/ssr-streaming.test.ts#L254-L275) [test/e2e/ssr-streaming.test.ts#L332-389](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/test/e2e/ssr-streaming.test.ts#L332-L389)
- CI defines built-type/public-API checks, prepared runtime/unit/no-Jiti tests, Linux/Windows fixture projects, and Linux/Windows Playwright runs; these workflow definitions were read without executing or retrieving run results. — [.github/workflows/ci.yml#L97-104](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/.github/workflows/ci.yml#L97-L104) [.github/workflows/ci.yml#L275-298](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/.github/workflows/ci.yml#L275-L298) [.github/workflows/ci.yml#L395-418](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/.github/workflows/ci.yml#L395-L418) [.github/workflows/ci.yml#L473-510](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/.github/workflows/ci.yml#L473-L510)
- The benchmark CI job is disabled with if:false pending CodSpeed's Vitest 5 support. Root test:unit includes unit and renderer but omits the separately configured renderer-legacy-errors project. — [.github/workflows/ci.yml#L370-391](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/.github/workflows/ci.yml#L370-L391) [package.json#L37-39](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/package.json#L37-L39) [vitest.config.ts#L181-184](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/vitest.config.ts#L181-L184)
- Security/documentation checks include CodeQL for JavaScript/TypeScript and Actions, OpenSSF SARIF analysis, and Lychee checks that limit pull requests to internal docs links but expand scheduled/manual runs. — [.github/workflows/ci.yml#L174-207](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/.github/workflows/ci.yml#L174-L207) [.github/workflows/scorecards.yml#L39-57](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/.github/workflows/scorecards.yml#L39-L57) [.github/workflows/docs-check-links.yml#L38-70](https://github.com/nuxt/nuxt/blob/3fde4d625cc353e83ac10f6b75db8ca480167be4/.github/workflows/docs-check-links.yml#L38-L70)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
