@nuxt/test-utils
    TypeScript icon, indicating that this package has built-in type declarations

    0.2.2 • Public • Published

    @nuxt/test-utils

    @nuxt/test-utils

    npm version npm downloads Checks Codecov

    Test utilities for Nuxt.js

    Features

    • Easy to setup tests
    • Test in browser
    • Extend Jest matchers
    • Written in TypeScript

    📖 Read more

    Usage

    1. Add @nuxt/test-utils devDependency to your project
    yarn add --dev @nuxt/test-utils # or npm install --save-dev @nuxt/test-utils
    1. Add @nuxt/test-utils to the preset section of jest.config.js
    module.exports = {
      preset: '@nuxt/test-utils'
    }

    📖 Read more about setup and configuration

    Development

    1. Clone this repository
    2. Install dependencies using yarn install

    📑 License

    MIT License

    Copyright (c) Nuxt.js Team

    Keywords

    none

    Install

    npm i @nuxt/test-utils

    DownloadsWeekly Downloads

    7,331

    Version

    0.2.2

    License

    MIT

    Unpacked Size

    24 kB

    Total Files

    7

    Last publish

    Collaborators

    • antfu
    • atinux
    • pi0
    • clarkdo
    • danielroe