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:
Gabe Kangas
2023-04-16 14:30:56 -07:00
parent b3ac4e1a15
commit 5f2252f2a4
7 changed files with 4931 additions and 10 deletions

View File

@@ -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"
}
}
}