skc-rcl v1.1.5
skc-rcl
React component library that will be used by SKC sites.
StoryBook
This repo has a corresponding StoryBook website that users can take advantage of and see all current components supported. If above badge is not green, then recent deployment of StoryBook components has failed.
Testing
Jest is used to run Unit tests. There are many dependencies used in testing and they will be explained below.
Library | Function |
---|---|
@testing-library/jest-dom | Allows tests to use HTML element matchers. This is imported for all tests using the file setupTests.ts and linked in the package.json file under Jest config named setupFilesAfterEnv |
@testing-library/react | Helper library for React apps. Allows us to render the DOM of react apps using the Component |
jest-environment-jsdom" | Since the default test environment is node, we need to install jsdom (this lib) and specify the environment in the package.json file under Jest config named testEnvironment . More info here |
jest-transform-css | Allows components within tests to import CSS files |
ts-jest | Allows jest to test TS files |
12 days ago
12 days ago
12 days ago
2 months ago
3 months ago
3 months ago
3 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
7 months ago
7 months ago
7 months ago
8 months ago
7 months ago
10 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
10 months ago
10 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago