From a9afa97e8b1bbd6d72dd5bf8d2371ca03c5e81b5 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sun, 20 Mar 2016 19:37:36 +0700 Subject: [PATCH] Fix popover test. The class name was renamed in 6c913d7, so update the test to match. --- tests/popover.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>/); }); });