diff --git a/tests/popover.test.js b/tests/popover.test.js index 0504ef90dc..ef42c84481 100644 --- a/tests/popover.test.js +++ b/tests/popover.test.js @@ -23,6 +23,6 @@ describe('Popover', function() { expect(popup).not.toBe(undefined); expect(popup.className).toContain('ant-popover-placement-top'); expect(popup.innerHTML).toMatch(/
code<\/div>/); - expect(popup.innerHTML).toMatch(/
console\.log\('hello world'\)<\/div>/); + expect(popup.innerHTML).toMatch(/
console\.log\('hello world'\)<\/div>/); }); });