Skip to content

Should not install mocha module on test running - #258

Merged
aleks-pro merged 3 commits into
masterfrom
aleks-pro-patch-1
Nov 2, 2026
Merged

aleks-pro merged 3 commits into
masterfrom
aleks-pro-patch-1

Conversation

@aleks-pro

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The command passes --no to Mocha rather than npx, so a missing local Mocha can still trigger an installation prompt or installation; --no-install must precede mocha.

1 open issue
What changed in this PR

This PR aims to prevent automatic Mocha installation when running the Gulp test task.

Changes:

  • Adds --no to the existing npx mocha invocation while preserving the test options and file pattern.
File Description
Gulpfile.js Updates the Mocha command to attempt to disable installation during test runs.

Review effort: Balanced

Comment thread Gulpfile.js Resolved
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: aleks-pro <14822473+aleks-pro@users.noreply.github.com>
@aleks-pro

Copy link
Copy Markdown
Contributor Author

@dependabot rebase

@aleks-pro
aleks-pro requested a review from Bayheck November 2, 2026 15:15
@aleks-pro aleks-pro closed this Nov 2, 2026
@aleks-pro aleks-pro reopened this Nov 2, 2026
@aleks-pro
aleks-pro merged commit 8de74d9 into master Nov 2, 2026
7 checks passed
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.

4 participants