@cat-org/jestdeprecated

Jest setup files

Usage no npm install needed!

<script type="module">
  import catOrgJest from 'https://cdn.skypack.dev/@cat-org/jest';
</script>

README

@cat-org/jest ยท npm npm-size

Jest setup files.

Install

yarn add @cat-org/jest --dev

Add default jest setup file to jest config

...
  setupFiles: ['@cat-org/jest']
...

Add react jest setup file to jest config

You should install enzyme-adapter-react-16, react, react-dom before using ths config file

...
  setupFiles: ['@cat-org/jest/lib/react']
...