Files
flyer-crawler.projectium.com/vitest.workspace.ts
Torben Sorensen 97bb1a3966
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 41s
unit tests fixin
2025-11-22 00:17:05 -08:00

14 lines
665 B
TypeScript

// vitest.workspace.ts
// The `defineWorkspace` helper provides type-safety, but we can export the array
// directly to bypass any lingering TypeScript server issues.
/**
* Defines the workspace for Vitest, separating unit and integration test projects.
* This is the primary entry point for the `vitest` command.
* - Unit tests are defined in `vite.config.ts` and run in a 'jsdom' environment.
* - Integration tests are defined in `vitest.config.integration.ts` and run in a 'node' environment.
*/
export default [
'vite.config.ts', // Defines the 'unit' test project
'vitest.config.integration.ts', // Defines the 'integration' test project
];