Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: drop old @types/jest^27 #3513

Merged
merged 2 commits into from Jun 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion e2e/ast-transformers/transformer-options/tsconfig.json
Expand Up @@ -2,5 +2,6 @@
"compilerOptions": {
"jsx": "react",
"esModuleInterop": true
}
},
"files": ["../../../globals.d.ts"]
}
3 changes: 2 additions & 1 deletion e2e/custom-compiler/ttypescript/tsconfig.json
Expand Up @@ -10,5 +10,6 @@
"transform": "typescript-transform-paths",
}
]
}
},
"files": ["../../../globals.d.ts"]
}
3 changes: 2 additions & 1 deletion e2e/native-esm-js/tsconfig.json
Expand Up @@ -6,5 +6,6 @@
"checkJs": false,
"esModuleInterop": true,
"moduleResolution": "Node"
}
},
"files": ["../../globals.d.ts"]
}
3 changes: 2 additions & 1 deletion e2e/transform-js/tsconfig.json
Expand Up @@ -3,5 +3,6 @@
"allowJs": true,
"esModuleInterop": true,
"sourceMap": false
}
},
"files": ["../../globals.d.ts"]
}
3 changes: 2 additions & 1 deletion e2e/transform-tsx/tsconfig.json
Expand Up @@ -2,5 +2,6 @@
"compilerOptions": {
"module": "CommonJS",
"jsx": "react"
}
},
"files": ["../../globals.d.ts"]
}
18 changes: 18 additions & 0 deletions examples/js-with-babel/globals.d.ts
@@ -0,0 +1,18 @@
declare global {
const beforeAll: typeof import('@jest/globals').beforeAll
const beforeEach: typeof import('@jest/globals').beforeEach
const afterAll: typeof import('@jest/globals').afterAll
const afterEach: typeof import('@jest/globals').afterEach
const describe: typeof import('@jest/globals').describe
const fdescribe: typeof import('@jest/globals').fdescribe
const xdescribe: typeof import('@jest/globals').xdescribe
const it: typeof import('@jest/globals').it
const fit: typeof import('@jest/globals').fit
const xit: typeof import('@jest/globals').xit
const test: typeof import('@jest/globals').test
const xtest: typeof import('@jest/globals').xtest
const expect: typeof import('@jest/globals').expect
const jest: typeof import('@jest/globals').jest
}

export {}