mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
Fix popover test.
The class name was renamed in 6c913d7
, so update the test to match.
This commit is contained in:
parent
a760e74734
commit
a9afa97e8b
@ -23,6 +23,6 @@ describe('Popover', function() {
|
||||
expect(popup).not.toBe(undefined);
|
||||
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-content".*?>console\.log\('hello world'\)<\/div>/);
|
||||
expect(popup.innerHTML).toMatch(/<div class="ant-popover-inner-content".*?>console\.log\('hello world'\)<\/div>/);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user