8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ae2065 commit 8537befCopy full SHA for 8537bef
package.json
@@ -32,7 +32,9 @@
32
"src/"
33
],
34
"scripts": {
35
- "build": "rollup -c --bundleConfigAsCjs"
+ "build": "rollup -c --bundleConfigAsCjs",
36
+ "test": "jest --coverage",
37
+ "test:update": "jest --coverage --updateSnapshot"
38
},
39
"devDependencies": {
40
"@rollup/plugin-commonjs": "^24.0.1",
@@ -43,11 +45,15 @@
43
45
"@types/react": "^18.0.27",
44
46
"@types/react-dom": "^18.0.6",
47
"classnames": "^2.3.2",
48
+ "jest": "^29.4.1",
49
+ "jest-canvas-mock": "^2.4.0",
50
+ "jest-environment-jsdom": "^29.4.1",
51
"prop-types": "^15.8.1",
52
"react": "^18.2.0",
53
"react-dom": "^18.2.0",
54
"rollup": "^3.14.0",
55
"rollup-plugin-import-css": "^3.0.3",
56
+ "ts-jest": "^29.0.5",
57
"typescript": "^4.9.5"
58
59
"peerDependencies": {
0 commit comments