Skip to content

Commit 5c62fa6

Browse files
committed
Use something other than anon to showcase keying
1 parent 82d10cf commit 5c62fa6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-dom/src/__tests__/ReactDOMFloat-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3972,13 +3972,13 @@ body {
39723972
);
39733973
});
39743974

3975-
it('does not include crossOrigin when keying image preloads', async () => {
3975+
it.only('does not include crossOrigin when keying image preloads', async () => {
39763976
function App() {
39773977
return (
39783978
<html>
39793979
<body>
39803980
<img src="foo.png" crossOrigin="" />
3981-
<img src="foo.png" crossOrigin="anonymous" />
3981+
<img src="foo.png" crossOrigin="use-credentials" />
39823982
</body>
39833983
</html>
39843984
);
@@ -3994,7 +3994,7 @@ body {
39943994
</head>
39953995
<body>
39963996
<img src="foo.png" crossorigin="" />
3997-
<img src="foo.png" crossorigin="anonymous" />
3997+
<img src="foo.png" crossorigin="use-credentials" />
39983998
</body>
39993999
</html>,
40004000
);

0 commit comments

Comments
 (0)