Merge branch '3-change-testing-framework-to-jest' into 'main'
Resolve "Change testing framework to Jest" Closes #3 See merge request !1
No related branches found
No related tags found
Showing
- .gitignore 2 additions, 1 deletion.gitignore
- jest.config.js 5 additions, 0 deletionsjest.config.js
- jest.setup.js 0 additions, 0 deletionsjest.setup.js
- package.json 4 additions, 6 deletionspackage.json
- pnpm-lock.yaml 3965 additions, 1216 deletionspnpm-lock.yaml
- src/App.test.tsx 0 additions, 1 deletionsrc/App.test.tsx
- src/App.tsx 1 addition, 30 deletionssrc/App.tsx
- src/Features.tsx 0 additions, 31 deletionssrc/Features.tsx
- web-test-runner.config.js 0 additions, 6 deletionsweb-test-runner.config.js
jest.config.js
0 → 100644
jest.setup.js
0 → 100644
... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
"scripts": { | "scripts": { | ||
"start": "snowpack dev", | "start": "snowpack dev", | ||
"build": "snowpack build", | "build": "snowpack build", | ||
"test": "web-test-runner \"src/**/*.test.tsx\"", | "test": "jest \"src/**/*.test.tsx\" --coverage --watchAll", | ||
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"", | "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"", | ||
"lint": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"" | "lint": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"" | ||
}, | }, | ||
... | @@ -21,18 +21,16 @@ | ... | @@ -21,18 +21,16 @@ |
"react-dom": "^17.0.0" | "react-dom": "^17.0.0" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@snowpack/app-scripts-react": "^2.0.0", | |||
"@snowpack/plugin-dotenv": "^2.0.5", | "@snowpack/plugin-dotenv": "^2.0.5", | ||
"@snowpack/plugin-react-refresh": "^2.4.0", | "@snowpack/plugin-react-refresh": "^2.4.0", | ||
"@snowpack/plugin-typescript": "^1.2.0", | "@snowpack/plugin-typescript": "^1.2.0", | ||
"@snowpack/web-test-runner-plugin": "^0.2.0", | |||
"@testing-library/react": "^11.0.0", | "@testing-library/react": "^11.0.0", | ||
"@types/chai": "^4.2.13", | "@types/jest": "^26.0.20", | ||
"@types/mocha": "^8.2.0", | |||
"@types/react": "^17.0.0", | "@types/react": "^17.0.0", | ||
"@types/react-dom": "^17.0.0", | "@types/react-dom": "^17.0.0", | ||
"@types/snowpack-env": "^2.3.2", | "@types/snowpack-env": "^2.3.2", | ||
"@web/test-runner": "^0.12.0", | "jest-cli": "^26.6.3", | ||
"chai": "^4.2.0", | |||
"prettier": "^2.0.5", | "prettier": "^2.0.5", | ||
"rxjs": "^6.6.3", | "rxjs": "^6.6.3", | ||
"snowpack": "^3.0.11", | "snowpack": "^3.0.11", | ||
... | ... |
This diff is collapsed.
src/Features.tsx
deleted
100644 → 0
web-test-runner.config.js
deleted
100644 → 0
Please register or sign in to comment