From d9ce1ad14c8a7c90221f30eff5b6b3062b270b85 Mon Sep 17 00:00:00 2001 From: zpc7 Date: Fri, 6 May 2022 12:48:50 +0800 Subject: [PATCH] ci: trigger the pr check --- components/tooltip/__tests__/tooltip.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tooltip/__tests__/tooltip.test.js b/components/tooltip/__tests__/tooltip.test.js index 6c16abc5a3..bfa287b69f 100644 --- a/components/tooltip/__tests__/tooltip.test.js +++ b/components/tooltip/__tests__/tooltip.test.js @@ -346,7 +346,7 @@ describe('Tooltip', () => { const button = container.getElementsByTagName('span')[0]; fireEvent.mouseEnter(button); await sleep(500); - expect(ref.current.getPopupDomNode().className).toContain('placement-topRight'); + expect(ref.current.getPopupDomNode().className).toBe('placement-topRight'); }); it('should works for mismatch placement', async () => {