Skip to content

Repository files navigation

rc-test

Ant Design Part of the Ant Design ecosystem.

🧪 Shared Jest workflow and test runner for rc-component packages.

NPM version npm downloads bundle size build status Codecov

English | 简体中文

Highlights

Area Support
Purpose Shared Jest workflow and test runner for rc-component packages.
Package rc-test
Release @rc-component/np / rc-np

Install

npm install rc-test --save-dev

Usage

npx rc-test --coverage

API

Command Description
rc-test Run Jest with rc-component defaults.
rc-test --coverage Run tests and collect coverage.

Development

npm install
npm run compile
npm run test:only

Release

npm run prepublishOnly

The release flow is handled by @rc-component/np through the rc-np command when the package uses the shared release flow.

License

rc-test is released under the MIT license.

About

test react component

Resources

Stars

13 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages