All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m16s
14 lines
634 B
TypeScript
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
|
|
]; |