Skip to content

Commit 3d9a6cd

Browse files
committed
refactor: fix vitest path
1 parent 1e72b0e commit 3d9a6cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/plugin-coverage/src/lib/nx/coverage-paths.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@ export async function getCoveragePathForVitest(
112112
project: ProjectConfiguration,
113113
target: string,
114114
) {
115-
const {
116-
default: { normalizeViteConfigFilePathWithTree },
117-
} = await import('@nx/vite');
115+
const { normalizeViteConfigFilePathWithTree } = await import('@nx/vite');
118116
const config = normalizeViteConfigFilePathWithTree(
119117
// HACK: only tree.exists is called, so injecting existSync from node:fs instead
120118
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions

0 commit comments

Comments
 (0)