Move over to jest, removed rxjs for now, fixed the simplest test.
parent
14e0ed81
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 @@ |
"scripts": { | ||
"start": "snowpack dev", | ||
"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}\"", | ||
"lint": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"" | ||
}, | ||
... | ... | @@ -21,18 +21,16 @@ |
"react-dom": "^17.0.0" | ||
}, | ||
"devDependencies": { | ||
"@snowpack/app-scripts-react": "^2.0.0", | ||
"@snowpack/plugin-dotenv": "^2.0.5", | ||
"@snowpack/plugin-react-refresh": "^2.4.0", | ||
"@snowpack/plugin-typescript": "^1.2.0", | ||
"@snowpack/web-test-runner-plugin": "^0.2.0", | ||
"@testing-library/react": "^11.0.0", | ||
"@types/chai": "^4.2.13", | ||
"@types/mocha": "^8.2.0", | ||
"@types/jest": "^26.0.20", | ||
"@types/react": "^17.0.0", | ||
"@types/react-dom": "^17.0.0", | ||
"@types/snowpack-env": "^2.3.2", | ||
"@web/test-runner": "^0.12.0", | ||
"chai": "^4.2.0", | ||
"jest-cli": "^26.6.3", | ||
"prettier": "^2.0.5", | ||
"rxjs": "^6.6.3", | ||
"snowpack": "^3.0.11", | ||
... | ... |
source diff could not be displayed: it is too large. Options to address this: view the blob.
src/Features.tsx
deleted
100644 → 0
web-test-runner.config.js
deleted
100644 → 0
Please register or sign in to comment