mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 23:46:28 +08:00
chore: use ts-expect-error (#24378)
This commit is contained in:
parent
1bba2ef65e
commit
8b9a005c1f
@ -60,8 +60,7 @@ describe('Alert', () => {
|
||||
|
||||
const testIt = process.env.REACT === '15' ? it.skip : it;
|
||||
testIt('ErrorBoundary', () => {
|
||||
// TODO: Change to @ts-expect-error once typescript is at 3.9
|
||||
// @ts-ignore
|
||||
// @ts-expect-error
|
||||
// eslint-disable-next-line react/jsx-no-undef
|
||||
const ThrowError = () => <NotExisted />;
|
||||
const wrapper = mount(
|
||||
|
Loading…
Reference in New Issue
Block a user