1.0.0-1 • Published 1 year ago

@codeplant-de/jest-config v1.0.0-1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@codeplant-de/jest-config

Basic shared jest preset

How to use

Install package

yarn install @codeplant-de/jest-config

Create a jest config file extending preset in your preferred flavor

const buildConfig = () => ({
  preset: '@codeplant-de/jest-config',
  testEnvironment: 'node', // or 'jsdom'
})

module.exports = buildConfig()

Configuration options

Notes

  • automatically adds jest-styled-components to setupFilesAfterEnv if styled-components is installed