Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

jest

v22.4.3arrow_drop_down
v22.4.3
v0.0.35
v0.0.34
v0.0.33
v0.0.32
v0.0.31
v0.0.30
v0.0.29
v0.0.28
v0.0.27
v0.0.26
v0.0.25
v0.0.24
v0.0.23
v0.0.22
v0.0.21
v0.0.20
v0.0.19
v0.0.18
v0.0.17
v0.0.16
v0.0.15
v0.0.14
v0.0.13
v0.0.12
v0.0.11
v0.0.10
v0.0.9
v0.0.8
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
28,394
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
A year ago
SIZE
N/A
Bit testing environment for testing of components using Jest.
4 contributors
Install jest as a package?
Copied
npm i @bit/bit.envs.testers.jest
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
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.