chore(tests): add js validation tests
These are the first javascript unit tests. Added them to the CI worflow. Closes #2930
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
"lint": "eslint --ext .js,.ts,.tsx types/ pages/ components/ stories/",
|
||||
"storybook": "start-storybook -p 6006",
|
||||
"build-storybook": "build-storybook",
|
||||
"build-styles": "cd ./style-definitions && style-dictionary build && ./build.sh && cd -"
|
||||
"build-styles": "cd ./style-definitions && style-dictionary build && ./build.sh && cd -",
|
||||
"test": "jest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ant-design/icons": "4.8.0",
|
||||
@@ -78,6 +79,7 @@
|
||||
"@svgr/webpack": "7.0.0",
|
||||
"@types/chart.js": "2.9.37",
|
||||
"@types/classnames": "2.3.1",
|
||||
"@types/jest": "^29.5.0",
|
||||
"@types/markdown-it": "12.2.3",
|
||||
"@types/node": "18.15.11",
|
||||
"@types/prop-types": "15.7.5",
|
||||
@@ -118,6 +120,7 @@
|
||||
"storybook-preset-less": "1.1.3",
|
||||
"style-dictionary": "3.7.2",
|
||||
"style-loader": "3.3.2",
|
||||
"ts-jest": "^29.1.0",
|
||||
"typescript": "4.9.5"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user