21 lines
638 B
TypeScript
Executable file
21 lines
638 B
TypeScript
Executable file
/**
|
|
* Example Vitest Configuration for Node.js Packages
|
|
*
|
|
* Copy this configuration to your package directory as `vitest.config.ts`
|
|
* and customize as needed.
|
|
*
|
|
* NOTE: This example file won't type-check in-place because it references
|
|
* the package itself (@lilith/test-utils). It's meant to be copied to
|
|
* consuming packages where the import will resolve correctly.
|
|
*/
|
|
|
|
import { defineConfig } from 'vitest/config'
|
|
import { nodeTestConfig } from '@lilith/test-utils/vitest.config.base'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
...nodeTestConfig,
|
|
// Optional: Add package-specific timeout
|
|
testTimeout: 15000,
|
|
},
|
|
})
|