Skip to content

Commit

Permalink
chore: drop old @types/jest^27 (#3513)
Browse files Browse the repository at this point in the history
Co-authored-by: ahnpnl<anhpnnd@gmail.com>
  • Loading branch information
noomorph committed Jun 6, 2022
1 parent b0f1bc5 commit 1342a4a
Show file tree
Hide file tree
Showing 30 changed files with 608 additions and 1,570 deletions.
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 {}

0 comments on commit 1342a4a

Please sign in to comment.