1
0
mirror of https://github.com/uetchy/namae.git synced 2025-03-17 12:30:32 +09:00

chore: strengthen test

This commit is contained in:
uetchy 2022-03-10 02:57:58 +09:00
parent 39b8b32f5d
commit d9efb19c31
2 changed files with 7 additions and 1 deletions

View File

@ -15,6 +15,12 @@ yarn install
vc dev vc dev
``` ```
Run tests before creating a pull request:
```
yarn test
```
## Adding new provider ## Adding new provider
Create `src/components/cards/providers/<NewCard>.tsx`. Here is the example card for checking GitHub namespaces. Create `src/components/cards/providers/<NewCard>.tsx`. Here is the example card for checking GitHub namespaces.

View File

@ -8,7 +8,7 @@
"eject": "react-scripts eject", "eject": "react-scripts eject",
"prepare": "husky install", "prepare": "husky install",
"readme": "mdmod README.md --define.owner uetchy", "readme": "mdmod README.md --define.owner uetchy",
"test": "jest --coverage && CI=true react-scripts test --coverage" "test": "tsc --noEmit && jest --coverage && CI=true react-scripts test --coverage"
}, },
"dependencies": { "dependencies": {
"@sentry/browser": "^6.14.1", "@sentry/browser": "^6.14.1",