Skip to content

Commit b899fb8

Browse files
committed
Remove obsolete React 0.14 workaround
1 parent bbc600a commit b899fb8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

__tests__/renderEmail.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ describe('renderEmail', () => {
2525
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>'
2626
expect(actualOutput).toBe(expectedOutput)
2727
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')
3029
})
3130
})

0 commit comments

Comments
 (0)