Skip to content

cli: use npx for local mocha/ts-mocha - #432

Merged
armaniferrante merged 4 commits into
otter-sec:masterfrom
fanatid:test-npx
Jun 27, 2021
Merged

armaniferrante merged 4 commits into
otter-sec:masterfrom
fanatid:test-npx

Conversation

@fanatid

@fanatid fanatid commented Jun 27, 2021

Copy link
Copy Markdown
Contributor

#267 added flag --yarn which allow to use mocha/ts-mocha which installed locally (pinned version in package.json) through yarn. Without this flag mocha/ts-mocha still requires to be installed globally (or locally but PATH should be patched).

npx installed with node/npm and can be used in same way as yarn for locally installed mocha/ts-mocha.

@armaniferrante

Copy link
Copy Markdown
Contributor

Can we remove the yarn flag with this change?

@fanatid

fanatid commented Jun 27, 2021

Copy link
Copy Markdown
Contributor Author

Removed.

@armaniferrante
armaniferrante merged commit dc6227f into otter-sec:master Jun 27, 2021
@fanatid
fanatid deleted the test-npx branch June 28, 2021 04:49
akash-osec pushed a commit to akash-osec/anchor that referenced this pull request Mar 25, 2026
@jamie-osec jamie-osec added this to the Pre-1.0 milestone Jun 24, 2026
akash-osec pushed a commit to akash-osec/anchor that referenced this pull request Jul 25, 2026
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.

3 participants