Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.65 KB

README.md

File metadata and controls

61 lines (42 loc) · 1.65 KB

@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