type check tests (and convert next-test-utils.js to ts) (#51071)
Enables type checking for tests in CI and fixes a bunch of things related to that
Showing
| ... | ... | @@ -26,6 +26,7 @@ |
| "genstats": "cross-env LOCAL_STATS=true node .github/actions/next-stats-action/src/index.js", | ||
| "git-reset": "git reset --hard HEAD", | ||
| "git-clean": "git clean -d -x -e node_modules -e packages -f", | ||
| "typescript": "tsc --noEmit", | ||
| "lint-typescript": "turbo run typescript", | ||
| "lint-eslint": "eslint . --ext js,jsx,ts,tsx --max-warnings=0 --config .eslintrc.json --no-eslintrc", | ||
| "lint-no-typescript": "run-p prettier-check lint-eslint lint-language", | ||
| ... | ... | @@ -84,7 +85,10 @@ |
| "@swc/helpers": "0.5.1", | ||
| "@testing-library/react": "13.0.0", | ||
| "@types/cheerio": "0.22.16", | ||
| "@types/cookie": "0.3.3", | ||
| "@types/cross-spawn": "6.0.0", | ||
| "@types/fs-extra": "8.1.0", | ||
| "@types/glob": "7.1.1", | ||
| "@types/html-validator": "5.0.3", | ||
| "@types/http-proxy": "1.17.3", | ||
| "@types/jest": "24.0.13", | ||
| ... | ... | @@ -171,6 +175,7 @@ |
| "open": "9.0.0", | ||
| "outdent": "0.8.0", | ||
| "pixrem": "5.0.0", | ||
| "playwright-core": "1.28.1", | ||
| "playwright-chromium": "1.28.1", | ||
| "plop": "3.0.5", | ||
| "postcss": "8.4.14", | ||
| ... | ... |
This diff is collapsed.
test/lib/turbo.ts
0 → 100644
Please
register
or
sign in
to comment