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-devnpx 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:onlynpm run prepublishOnlyThe 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.