Skip to content

Fix vitest specs crashing on environments without npx#881

Open
PsickOSSH wants to merge 1 commit intovim-test:masterfrom
PsickOSSH:fix_vitest_spec
Open

Fix vitest specs crashing on environments without npx#881
PsickOSSH wants to merge 1 commit intovim-test:masterfrom
PsickOSSH:fix_vitest_spec

Conversation

@PsickOSSH
Copy link
Copy Markdown
Contributor

Fixes a crash in spec/vitest_spec.vim when running tests on a machine without npx installed.

Previously, g:expectedExecutable was undefined in that case, causing E121 errors. This PR adds a fallback to ensure the variable is always initialized.

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.

1 participant