PR-188649:

Adding Test to proyect.
This commit is contained in:
2022-05-30 17:25:45 +00:00
parent 55b0b9f2c3
commit c693b4f6a2
6 changed files with 5816 additions and 1 deletions

View File

@ -5,7 +5,10 @@
"main": "dist/index.js",
"scripts": {
"build": "webpack",
"test": "echo \"Error: no test specified\" && exit 1"
"lint": "eslint ./ --ext .js --ext .ts --ext .jsx --ext .tsx",
"lint:fix": "eslint ./ --ext .js --ext .ts --ext .jsx --ext .tsx --fix",
"test": "jest",
"test:watch": "jest --watch"
},
"repository": {
"type": "git",
@ -30,6 +33,10 @@
"@babel/preset-react": "^7.17.12",
"@babel/preset-typescript": "^7.17.12",
"@babel/register": "^7.17.7",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.2.0",
"@types/jest": "^27.5.1",
"@types/node": "^17.0.36",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.5",
@ -42,6 +49,10 @@
"eslint": "^8.16.0",
"eslint-plugin-react": "^7.30.0",
"eslint-webpack-plugin": "^3.1.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"jest-fetch-mock": "^3.0.3",
"mini-css-extract-plugin": "^2.6.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",