Skip to content

Commit

Permalink
fix: svelte wasn't included in code coverage by default (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaSachs committed Feb 25, 2022
1 parent 7c7525d commit 41025cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/defaults.ts
Expand Up @@ -27,7 +27,7 @@ const coverageConfigDefaults = {
allowExternal: false,
// default extensions used by c8, plus '.vue' and '.svelte'
// see https://github.com/istanbuljs/schema/blob/master/default-extension.js
extension: ['.js', '.cjs', '.mjs', '.ts', '.tsx', '.jsx', '.vue', 'svelte'],
extension: ['.js', '.cjs', '.mjs', '.ts', '.tsx', '.jsx', '.vue', '.svelte'],
} as ResolvedC8Options

export const configDefaults: UserConfig = Object.freeze({
Expand Down

0 comments on commit 41025cb

Please sign in to comment.