Back to Gems
react-component/rc-test(opens in a new tab)
Language: JavaScript
test react component
- stars
- 13
- watchers
- 1
- forks
- 7
- open issues
- 25
- Last updated
- 08/07/2026
Language: JavaScript
test react component
English | 简体中文
| Area | Support |
|---|---|
| Purpose | Shared Jest workflow and test runner for rc-component packages. |
| Package | rc-test |
| Release | @rc-component/np / rc-np |
npm install rc-test --save-dev
npx rc-test --coverage
| Command | Description |
|---|---|
rc-test |
Run Jest with rc-component defaults. |
rc-test --coverage |
Run tests and collect coverage. |
npm install npm run compile npm run test:only
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.
rc-test is released under the MIT license.