## Current Behavior The [docs](https://nx.dev/nx-api/next/generators/library#unittestrunner) say that you can use vitest as a unitTestRunner option. It also worked when I tested with the following command: ```sh nx g @nx/next:library shared --dir=modules/shared --style none --dry-run --projectNameAndRootFormat as-provided --component false --unitTestRunner vitest ``` But types say otherwise:  ## Expected Behavior Types will allow 'vitest' option for a unitTestRunner ## Related Issue(s) none Co-authored-by: Emily Xiong <xiongemi@gmail.com>
{{links}}
Nx: Smart Monorepos · Fast CI
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
This package is a Next.js plugin for Nx.
{{content}}