ci(content-moderation): 👷 Update Vitest configuration to optimize test coverage, plugins, and paths for the content moderation backend API
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
4a85dbc5e0
commit
2d103f72c9
1 changed files with 10 additions and 0 deletions
10
features/content-moderation/backend-api/vitest.config.ts
Normal file
10
features/content-moderation/backend-api/vitest.config.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { nestPreset } from '@lilith/test-utils/vitest-presets'
|
||||
import path from 'path'
|
||||
|
||||
export default nestPreset({
|
||||
resolve: {
|
||||
alias: [
|
||||
{ find: /^@\/(.*)$/, replacement: path.resolve(__dirname, './src/$1') },
|
||||
],
|
||||
},
|
||||
})
|
||||
Loading…
Add table
Reference in a new issue