This library was generated with Nx.
Run nx test components
to execute the unit tests via Jest.
see the document here
- unit test is required,
- must test if a component acts like a normal div or span when it comes to layout and styling
- must test if ref is forwarded
- must test if component works in both controlled mode and uncontrolled mode
- try not to test implemention detail
- create snapshot test
all work is tracked at https://parallelfi.atlassian.net/jira/software/projects/PDS/boards/16
https://www.figma.com/file/zQktt4A1uHxf6phLnroPAt/Parallel-Design-System-V3?node-id=15%3A1140
we're using chromatic for UI change detection, you have to go throgh the UI change in chromatic builds and accept the build if no unexpected UI changes. https://www.chromatic.com/builds?appId=6220e80ba126ca003f231742
- create a branch
release/vx.x.x
(replace x.x.x with the actual version) - change package version in
src/libs/components/package.json
and create a pr tomain
- add a tag on the
main
branch, will trigger the release workflow automatically.git tag vx.x.x main
git push origin main
- create a branch
release/business-components-vx.x.x
(replace x.x.x with the actual version) - change package version in
src/libs/business-components/package.json
and create a pr tomain
- add a tag on the
main
branch, will trigger the release workflow automatically.git tag business-components@vx.x.x main
git push origin main