Some checks failed
📦 Build / build (push) Has been cancelled
🧪 CI Test / test shard (1/4) (push) Has been cancelled
🧪 CI Test / test shard (2/4) (push) Has been cancelled
🧪 CI Test / test shard (3/4) (push) Has been cancelled
🧪 CI Test / test shard (4/4) (push) Has been cancelled
🧪 CI Test / test (push) Has been cancelled
🧪 CI Test / eslint (push) Has been cancelled
🧪 CI Test / typecheck (push) Has been cancelled
🔫 Sync to Pro / dispatch-sync (push) Has been cancelled
🔮 Sync Mirror / sync (push) Has been cancelled
13 lines
319 B
TypeScript
13 lines
319 B
TypeScript
import path from 'node:path';
|
|
import createConfig from '@univerjs-infra/shared/vitest';
|
|
|
|
export default createConfig({
|
|
test: {
|
|
setupFiles: [
|
|
path.resolve(__dirname, './jest.setup.ts'),
|
|
path.resolve(__dirname, './vitest.setup.ts'),
|
|
],
|
|
environment: 'jsdom',
|
|
},
|
|
});
|