Skip to content

Commit

Permalink
Merge pull request #57 from OscarGarciaT/fork/oscar_dev
Browse files Browse the repository at this point in the history
jest removal
  • Loading branch information
OscarGarciaT authored Aug 18, 2023
2 parents ae8fb0c + 531ad70 commit 1779eb2
Show file tree
Hide file tree
Showing 10 changed files with 3,269 additions and 8,515 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,12 @@ dist-ssr
*.njsproj
*.sln
*.sw?

# Ignore Cypress generated files
/cypress/videos/
/cypress/screenshots/
/cypress/reports/
/cypress/results/

# Ignore temporary files
.cypress-*
Binary file modified cypress/videos/ficha.spec.js.mp4
Binary file not shown.
Binary file modified cypress/videos/indi.spec.js.mp4
Binary file not shown.
Binary file modified cypress/videos/login.spec.js.mp4
Binary file not shown.
11,636 changes: 3,259 additions & 8,377 deletions package-lock.json

Large diffs are not rendered by default.

29 changes: 1 addition & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"start": "vite",
"build": "vite build",
"test": "jest src/Pages/__tests__ && cypress run --spec 'cypress/integration/**/*.js'",
"test": "cypress run --spec 'cypress/integration/**/*.js'",
"test:cypress": "cypress",
"lint": "eslint src --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
Expand Down Expand Up @@ -35,17 +35,10 @@
"react-router-dom": "^6.14.0"
},
"devDependencies": {
"@babel/preset-env": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^4.0.0",
"autoprefixer": "^10.4.14",
"babel-jest": "^29.6.2",
"babel-plugin-transform-import-meta": "^2.2.1",
"cypress": "^12.17.3",
"cypress-mochawesome-reporter": "^3.5.1",
Expand All @@ -55,7 +48,6 @@
"eslint-plugin-react-refresh": "^0.3.4",
"esm": "^3.2.25",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"mocha": "^10.2.0",
"mocha-junit-reporter": "^2.2.1",
Expand All @@ -69,24 +61,5 @@
"redux-mock-store": "^1.5.4",
"tailwindcss": "^3.3.2",
"vite": "^4.3.2"
},
"jest": {
"setupFilesAfterEnv": [
"./test/setup.js"
],
"testEnvironment": "jest-environment-jsdom",
"testEnvironmentOptions": {
"url": "http://localhost:5173/login"
},
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"transformIgnorePatterns": [],
"moduleFileExtensions": [
"js",
"jsx",
"json",
"node"
]
}
}
77 changes: 0 additions & 77 deletions src/Pages/__tests__/Login.test.js

This file was deleted.

29 changes: 0 additions & 29 deletions src/Pages/__tests__/Pacientes.test.js

This file was deleted.

1 change: 0 additions & 1 deletion test/setup.js

This file was deleted.

0 comments on commit 1779eb2

Please sign in to comment.