Nx+Vitest ignores root vitest.config.ts
Lonli-Lokli opened this issue · 4 comments
Lonli-Lokli commented
Current Behavior
Any settings specified in root vitest.config.ts are ignored
Expected Behavior
Settings from root vitest.config.ts should be applied
GitHub Repo
No response
Steps to Reproduce
- Create any Nx + Vitest repo
- Remove existing test
- Add root vitest.config.ts with
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
passWithNotTests: true
}
})
- Run npx nx proj:test
Nx Report
NX Report complete - copy this into the issue template
Node : 18.18.2
OS : win32-x64
npm : 9.8.1
nx : 19.0.2
@nx/js : 19.0.2
@nx/linter : 19.0.2
@nx/eslint : 19.0.2
@nx/workspace : 19.0.2
@nx/devkit : 19.0.2
@nx/eslint-plugin : 19.0.2
@nx/react : 19.0.2
@nrwl/tao : 19.0.2
@nx/vite : 19.0.2
@nx/web : 19.0.2
typescript : 5.4.5
Failure Logs
No response
Package Manager Version
No response
Operating System
- macOS
- Linux
- Windows
- Other (Please specify)
Additional Information
No response