feat: establish TypeScript-aware frontend tooling
This commit is contained in:
@@ -69,12 +69,12 @@ field/documentation 단계를 구성한다.
|
||||
|
||||
### 2.3 확인된 공백
|
||||
|
||||
#### 테스트 TypeScript가 typecheck 대상이 아니다
|
||||
#### 테스트 TypeScript typecheck 기반
|
||||
|
||||
현재 `check:types`는 `tsconfig.json`의 include 범위에 의존하며 tests 전체의
|
||||
callback, mock, fixture, custom matcher type을 별도 프로젝트로 검사하지 않는다.
|
||||
TypeScript 전환 뒤 Vitest가 test file을 변환해 실행할 수 있다는 사실은
|
||||
`tsc` typecheck를 대체하지 않는다.
|
||||
`check:types`는 app, Node scripts/config, tests project를 순서대로 검사한다.
|
||||
테스트 project는 JS/JSX/TS/TSX의 callback, mock, fixture와 config type을
|
||||
검사하되 실패를 의도한 `tests/fixtures`는 별도 negative command가 소유한다.
|
||||
Vitest의 변환 성공을 TypeScript typecheck의 대체물로 취급하지 않는다.
|
||||
|
||||
#### 실제 bootstrap integration test가 없다
|
||||
|
||||
|
||||
Reference in New Issue
Block a user