mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 11:20:11 +00:00
17 lines
397 B
TypeScript
17 lines
397 B
TypeScript
import { defineWorkspace } from 'vitest/config';
|
|
|
|
export default defineWorkspace([
|
|
'packages/*/vitest.config.{e2e,unit}.ts',
|
|
{
|
|
test: {
|
|
include: ['**/__tests__/**/*.spec.{ts?(x),js?(x)}'],
|
|
alias: {
|
|
'@alilc/lowcode-shared': 'packages/shared',
|
|
},
|
|
name: 'unit test',
|
|
environmentMatchGlobs: [['packages/**', 'jsdom']],
|
|
globals: true,
|
|
},
|
|
},
|
|
]);
|