Browse Source

update test case

pull/2452/head
afc163 8 years ago
parent
commit
72c431e791
  1. 2
      tests/popover.test.js

2
tests/popover.test.js

@ -21,7 +21,7 @@ describe('Popover', function() {
);
const popup = popover.getPopupDomNode();
expect(popup).not.toBe(undefined);
expect(popup).not.toBe(null);
expect(popup.className).toContain('ant-popover-placement-top');
expect(popup.innerHTML).toMatch(/<div class="ant-popover-title".*?>code<\/div>/);
expect(popup.innerHTML).toMatch(/<div class="ant-popover-inner-content".*?>console\.log\('hello world'\)<\/div>/);

Loading…
Cancel
Save