forked from eclipse-langium/langium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.mts
24 lines (22 loc) · 954 Bytes
/
vite.config.mts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/******************************************************************************
* Copyright 2021 TypeFox GmbH
* This program and the accompanying materials are made available under the
* terms of the MIT License, which is available in the project root.
******************************************************************************/
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
coverage: {
provider: 'v8',
reporter: ['text', 'html'],
include: ['packages/langium/src'],
exclude: ['**/generated', '**/templates'],
},
deps: {
interopDefault: true
},
include: ['**/test/**/*.test.ts'],
exclude: ['**/node_modules/**', '**/dist/**', '**/generated/**', '**/templates/**', '**/examples/hello*/**'],
watchExclude: [ '**/examples/hello*/**' /* populated by the yeoman generator test */],
}
});