Skip to content

Commit dd4fb6f

Browse files
committed
fix: remove extra dot
Related #638
1 parent ebe05ab commit dd4fb6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worker/collect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export function astParseFile(filepath: string, code: string) {
176176
// Vite SSR injects these
177177
.replace(/__vite_ssr_import_\d+__\./g, '')
178178
// Vitest module mocker injects these
179-
.replace(/__vi_import_\d+__/g, '')
179+
.replace(/__vi_import_\d+__\./g, '')
180180

181181
// cannot statically analyze, so we always skip it
182182
if (mode === 'skipIf' || mode === 'runIf') {

0 commit comments

Comments
 (0)