mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-17 22:48:35 +00:00
4005a51db2
* fix handleSubmit * update handleAddModelSubmit * add jest testing for ui * add step for running ui unit tests * add validate json step to add model * ui jest testing fixes * update package lock * ci/cd run again * fix antd import * run jest tests first * fix antd install * fix ui unit tests * fix unit test ui
26 lines
699 B
JSON
26 lines
699 B
JSON
{
|
|
"name": "ui-unit-tests",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"test": "jest",
|
|
"test:watch": "jest --watch"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "^14.0.0",
|
|
"@testing-library/jest-dom": "^6.0.0",
|
|
"@types/jest": "^29.5.0",
|
|
"@types/react": "^18.2.0",
|
|
"@types/react-dom": "^18.2.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^29.5.0",
|
|
"jest-environment-jsdom": "^29.5.0",
|
|
"ts-jest": "^29.1.0",
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"dependencies": {
|
|
"antd": "^5.12.5",
|
|
"@ant-design/icons": "^5.0.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
}
|
|
} |