Skip to content

Commit 313ca47

Browse files
Update vitest.config.shared.mts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7f8d2bc commit 313ca47

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

vitest.config.shared.mts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
77
export default defineConfig({
88
test: {
99
projects: [
10-
defineProject({
11-
test: {
12-
name: '@instructure.ai/shared-configs',
13-
include: ['tests/**/*.{test,spec}.{ts,tsx,js,cjs,mjs}'],
14-
}
15-
}),
16-
'apps/*/vitest.config.mts',
17-
'packages/*/vitest.config.mts',
18-
],
19-
coverage: {
20-
provider: 'istanbul',
10+
test: {
11+
include: ['tests/**/*.{test,spec}.{ts,tsx,js,cjs,mjs}'],
12+
projects: [
13+
defineProject({
14+
test: {
15+
name: '@instructure.ai/shared-configs',
16+
include: ['tests/**/*.{test,spec}.{ts,tsx,js,cjs,mjs}'],
17+
}
18+
}),
19+
'apps/*/vitest.config.mts',
20+
'packages/*/vitest.config.mts',
21+
],
22+
coverage: {
23+
provider: 'istanbul',
2124
reporter: [
2225
'text',
23-
[
24-
path.resolve(
25-
process.cwd(),
26-
'plugins/vitest.plugin.coverageReporter.cjs'
27-
),
28-
{ file: path.resolve(__dirname, 'coverage.yml' )}
29-
],
26+
[
27+
path.resolve(process.cwd(), 'plugins/coverageReporter.cjs'),
28+
{ file: path.resolve(__dirname, 'coverage.yml' )}
29+
],
3030
],
31-
}
31+
}
3232
}
3333
});

0 commit comments

Comments
 (0)