Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .config/vitest.config.isolated.mts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const projectRoot = path.resolve(__dirname, '..')
const toGlobPath = (pathLike: string): string => pathLike.replaceAll('\\', '/')

const vitestConfigIsolated = defineConfig({
cacheDir: path.resolve(projectRoot, '.cache/vitest-isolated'),
cacheDir: path.resolve(projectRoot, 'node_modules/.cache/vitest-isolated'),
resolve: {
preserveSymlinks: false,
extensions: ['.mts', '.ts', '.mjs', '.js', '.json'],
Expand Down
2 changes: 1 addition & 1 deletion .config/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const rootPkgJson = JSON.parse(
const toGlobPath = (pathLike: string): string => pathLike.replaceAll('\\', '/')

const vitestConfig = defineConfig({
cacheDir: path.resolve(projectRoot, '.cache/vitest'),
cacheDir: path.resolve(projectRoot, 'node_modules/.cache/vitest'),
resolve: {
// Use 'source' export condition so @socketsecurity/lib/* imports resolve
// to src/*.ts instead of dist/*.js. This enables proper v8 coverage
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ yarn.lock
# ============================================================================
# Build outputs and artifacts
# ============================================================================
**/.cache/
.type-coverage/
coverage/
dist/
Expand Down
Loading