UNPKG

@minna-ui/jest-config

Version:

Jest config preset for use in Minna UI projects.

42 lines (27 loc) 991 B
[![NPM version](https://img.shields.io/npm/v/@minna-ui/jest-config.svg)](https://www.npmjs.com/package/@minna-ui/jest-config) [![Licence](https://img.shields.io/npm/l/@minna-ui/jest-config.svg)](https://github.com/WeAreGenki/minna-ui/blob/master/LICENCE) # `@minna-ui/jest-config` Jest config preset for use when testing in [`Minna UI`](https://github.com/WeAreGenki/minna-ui) projects. ## Usage TODO: Write me :) For any project: ```sh yarn add @minna-ui/jest-config jest ``` For Svelte projects: ```sh yarn add @minna-ui/jest-config jest svelte ``` Add tasks to your `package.json`: ```json { "scripts": { "test": "jest --notify --watch", "test-ci": "jest --coverage --runInBand --ci" } } ``` ## Licence `@minna-ui/jest-config` is part of [`Minna UI`](https://github.com/WeAreGenki/minna-ui), an Apache-2.0 licensed open source project. See [LICENCE](https://github.com/WeAreGenki/minna-ui/blob/master/LICENCE). --- © 2020 [We Are Genki](https://wearegenki.com)