Skip to content

Commit b7efd53

Browse files
committed
Fix tests
1 parent 39a4400 commit b7efd53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/jest/setupTests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ if (process.env.REACT_CLASS_EQUIVALENCE_TEST) {
169169
if (!message) {
170170
return message;
171171
}
172-
const re = /error-decoder.html\?invariant=(\d+)([^\s]*)/;
172+
const re = /react.dev\/errors\/(\d+)?([^\s]*)/;
173173
const matches = message.match(re);
174174
if (!matches || matches.length !== 3) {
175175
return message;

0 commit comments

Comments
 (0)