Skip to content

Commit 980c9c8

Browse files
committed
remove console
1 parent 9055ff7 commit 980c9c8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

jest/ComponentBus.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ test('ComponentBus Test 2 ', () => {
3030
const mockOnClick = jest.fn();
3131
ComponentBus.getInstance().removeAllComponent();
3232
const Button = ComponentBus.getInstance().getComponent('Button') as React.ComponentType<MyButtonProps>;
33-
console.log(Button)
3433
//断言按钮不存在
3534
expect(Button).toBeUndefined();
3635
});

0 commit comments

Comments
 (0)