Skip to content

Conversation

@dajimenezriv-internxt
Copy link
Collaborator

No description provided.

@dajimenezriv-internxt dajimenezriv-internxt self-assigned this Oct 29, 2025

vi.mock(import('node:os'), () => ({
homedir: vi.fn(() => 'C:/Users/user'),
}));
Copy link
Collaborator Author

@dajimenezriv-internxt dajimenezriv-internxt Oct 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since homedir() is happening when the file loads we need to use vi.mock in this way

@github-actions
Copy link

github-actions bot commented Oct 29, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 20.57% 626 / 3042
🔵 Statements 20.57% 626 / 3042
🔵 Functions 65.65% 65 / 99
🔵 Branches 83.79% 181 / 216
File CoverageNo changed files found.
Generated in workflow #251 for commit f09beb3 by the Vitest Coverage Report Action

cg-shokworks
cg-shokworks previously approved these changes Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants