refactor: make each tsconfig explicitly declare module and include/exclude (#7443)

This commit is contained in:
Joshua Chen 2022-05-18 12:48:28 +08:00 committed by GitHub
parent a0b0477dee
commit a555fd1dcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 223 additions and 47 deletions

View file

@ -62,7 +62,9 @@ describe('packages', () => {
const packageJsonFiles = await getPackagesJsonFiles();
packageJsonFiles
.filter((packageJsonFile) => packageJsonFile.content.name.startsWith('@'))
.filter((packageJsonFile) =>
packageJsonFile.content.name?.startsWith('@'),
)
.forEach((packageJsonFile) => {
if (packageJsonFile) {
// Unfortunately jest custom message do not exist in loops,