Files
flyer-crawler.projectium.com/vitest.workspace.ts
Torben Sorensen 2f0a114265
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m16s
upload file size limit increased in server.ts
2025-11-23 00:36:55 -08:00

14 lines
634 B
TypeScript

// vitest.workspace.ts
/**
* 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 [
// DEBUGGING LOG
((): string => { console.error('\n[DEBUG] Loading vitest.workspace.ts'); return ''; })(),
'vite.config.ts', // Defines the 'unit' test project
'vitest.config.integration.ts', // Defines the 'integration' test project
];