Alpha stage commit
This commit is contained in:
17
services/api/vitest.config.ts
Normal file
17
services/api/vitest.config.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import { dirname, resolve } from 'node:path';
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
const here = dirname(fileURLToPath(import.meta.url));
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'@pikebacker/shared': resolve(here, '../../packages/shared/src/index.ts')
|
||||
}
|
||||
},
|
||||
test: {
|
||||
environment: 'node',
|
||||
include: ['src/**/*.test.ts']
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user