mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
test: Clean up useless debug code
This commit is contained in:
parent
944f69c6a0
commit
9ff3ba2bd8
@ -818,13 +818,11 @@ describe('Form', () => {
|
|||||||
jest.advanceTimersByTime(1000);
|
jest.advanceTimersByTime(1000);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
console.log(container.innerHTML);
|
|
||||||
|
|
||||||
expect(container.querySelector('.ant-form-item-explain')?.textContent).toEqual('请输入Bamboo');
|
expect(container.querySelector('.ant-form-item-explain')?.textContent).toEqual('请输入Bamboo');
|
||||||
|
|
||||||
jest.clearAllTimers();
|
jest.clearAllTimers();
|
||||||
jest.useRealTimers();
|
jest.useRealTimers();
|
||||||
console.log('end!!!!!!!~~~~');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('`name` support template when label is not provided', async () => {
|
it('`name` support template when label is not provided', async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user