Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vue/cli-plugin-unit-mocha

Package Overview
Dependencies
Maintainers
3
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/cli-plugin-unit-mocha

mocha unit testing plugin for vue-cli

  • 5.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@vue/cli-plugin-unit-mocha

unit-mocha plugin for vue-cli

Injected Commands

  • 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.

Installing in an Already Created Project

vue add unit-mocha

Keywords

FAQs

Package last updated on 07 Jul 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc