* feat: migrate from jest to vitest Signed-off-by: Rui Chen <[email protected]> * chore: bump to node 24 and run build Signed-off-by: Rui Chen <[email protected]> * chore: specify es2022 target for ncc build Signed-off-by: Rui Chen <[email protected]> --------- Signed-off-by: Rui Chen <[email protected]>
12 lines
214 B
TypeScript
12 lines
214 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'node',
|
|
coverage: {
|
|
reporter: ['text', 'lcov'],
|
|
},
|
|
include: ['__tests__/**/*.ts'],
|
|
},
|
|
});
|