Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@vue/cli-plugin-unit-mocha
Advanced tools
unit-mocha plugin for vue-cli
vue-cli-service test:unit
Run unit tests with mochapack + chai.
Note the tests are run inside Node.js with browser environment simulated with JSDOM.
Usage: vue-cli-service test:unit [options] [...files]
Options:
--watch, -w run in watch mode
--grep, -g only run tests matching <pattern>
--slow, -s "slow" test threshold in milliseconds
--timeout, -t timeout threshold in milliseconds
--bail, -b bail after first test failure
--require, -r require the given module before running tests
--include include the given module into test bundle
--inspect-brk Enable inspector to debug the tests
Default files matches are: any files in tests/unit
that end in .spec.(ts|js)
.
All mochapack command line options are also supported.
vue add unit-mocha
FAQs
mocha unit testing plugin for vue-cli
We found that @vue/cli-plugin-unit-mocha demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.