# karma-vue-test-utils

> Karma - Vue-test-utils plugin

Latest version **0.1.0** (published 2018-10-15) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install karma-vue-test-utils
pnpm add karma-vue-test-utils
yarn add karma-vue-test-utils
bun add karma-vue-test-utils
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2018-10-15 |
| First published | 2018-10-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | coma |
| Maintainers | divasatanica |
| Keywords | karma-plugin, karma, vue-test-utils, unit test |

## Links

- npm: https://www.npmjs.com/package/karma-vue-test-utils
- npm.io page: https://npm.io/package/karma-vue-test-utils

## Recent versions

- 0.1.0 (latest) — 2018-10-15
- 0.0.1 — 2018-10-15

## README

# karma-vue-test-utils
Karma &amp; Vue-test-utils suite

This can help you when you want to integrate Karma and vue-test-utils together into some CLI tools.

## Installation

``npm i karma-vue-test-utils --save-dev``

## Usage

Add 'vue-test-utils' to 'framework' item.

```javascript
    // karma.conf.js
    config.set({
        // ...
        framework: ['vue-test-utils']
    })
```

In *.spec.js files, you can use vue-test-utils like with a global object ``VueTest``

```javascript
    describe('Count.vue', function () {
        let wrapper;
        beforeEach(function () {
            wrapper = VueTest.shallowMount(Count);
        })
        
        // ...
    })
```

---
_Source: https://npm.io/package/karma-vue-test-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
