Skip to content

Commit

Permalink
Update ReactDOMServerIntegrationUntrustedURL-test.internal.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Aug 17, 2020
1 parent deacf08 commit f49dd52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ describe('ReactDOMServerIntegration - Untrusted URLs - disableJavaScriptURLs', (

const e = await render(<a href={firstIsSafe} />);
expect(toStringCalls).toBe(expectedToStringCalls);
expect(e.href).toBe('https://freactjs.org/');
expect(e.href).toBe('https://reactjs.org/');
});

it('rejects a javascript protocol href if it is added during an update twice', () => {
Expand Down

0 comments on commit f49dd52

Please sign in to comment.