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

@dnlup/vue-cli-plugin-unit-ava

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dnlup/vue-cli-plugin-unit-ava

@vue/cli plugin to run unit tests with ava

  • 1.0.0-rc.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
increased by83.33%
Maintainers
1
Weekly downloads
 
Created
Source

npm version Build Status Greenkeeper badge Maintainability Test Coverage

@dnlup/vue-cli-plugin-unit-ava

unit-ava plugin for vue-cli

Table of contents

Injected commands

  • vue-cli-service test:unit

    Run unit tests with ava

    Note the tests are run inside Node.js with browser environment simulated with browser-env.

    Usage: vue-cli-service test:unit [options] [<file|directory|glob> ...]
    
    Options:
    
      --watch, -w              Re-run tests when tests and source files change
      --match, -m              Only run tests with matching title (Can be repeated)
      --update-snapshots, -u   Update snapshots
      --fail-fast              Stop after first test failure
      --timeout, -T            Set global timeout
      --serial, -s             Run tests serially
      --concurrency, -c        Max number of test files running at the same time (Default: CPU cores)
      --verbose, -v            Enable verbose output
      --tap, -t                Generate TAP output
      --color                  Force color output
      --no-color               Disable color output
    

    Default files matches are: any files in tests/unit that end in .spec.(ts|js).

    All command line options are supported.

Installing in an Already Created Project

$ vue add @dnlup/unit-ava
Prompts

prompt_1

Will merge or create a new configuration in the selected destination. It will fail if the project is already configured in the destination not selected.

prompt_2

Will add support for a specific UI Framework. It currently supports only the latest version of Vuetify.

prompt_3

Will ask if you want to add style loaders.

Contributing

  • Make your changes
  • Test them with npm test
  • Add them
    $ git add <your files>
    
  • Commit (uses commitizen)
    $ git commit
    
Note

Tests now are a bit heavy because I am actually creating a considerable amount of projects in parallel to test different configurations. All configurations cannot be tested, it would be too expensive.

Keywords

FAQs

Package last updated on 10 Sep 2019

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