File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ describe('renderEmail', () => {
25
25
const expectedOutput = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><a href="#test" target="_blank" style="text-decoration:underline;list-style-position:inside;"></a>'
26
26
expect ( actualOutput ) . toBe ( expectedOutput )
27
27
expect ( spy ) . toHaveBeenCalled ( )
28
- // The exact content of this message varies between React 0.14.9 and 15.6.1
29
- expect ( spy . calls . argsFor ( 0 ) [ 0 ] ) . toContain ( 'Style property `list-style-position` supplied to `A` unsupported in: outlook, outlook-web.' )
28
+ expect ( spy ) . toHaveBeenCalledWith ( 'Warning: Failed prop type: Style property `list-style-position` supplied to `A` unsupported in: outlook, outlook-web.\n in A' )
30
29
} )
31
30
} )
You can’t perform that action at this time.
0 commit comments