jest-workspace

v1.0.4arrow_drop_down
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
STATUS
Passing
DOWNLOADS
36
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
1 contributor
Install jest-workspace as a package?
Copied
npm i @bit/yalo.design-system.jest-workspace
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right

A testing environment for React components using Jest.

  • Bit’s Jest testing environment for components.

How to use?

import the environment

bit import bit.envs/testers/jest -t

What’s inside

  • Test components using jest framework (version 22.4.3).
  • js/jsx/ts/tsx support.

Reconfiguring this environment

In case the configuration presets in the jest.config.js file of this component are not well suited to your needs, follow these steps to modify it.

Got any issues or questions?

Collaboration on this Bit environment happens in this repository. Please open an issue or submit pull request there.

Help and resources