We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39a4400 commit b7efd53Copy full SHA for b7efd53
1 file changed
scripts/jest/setupTests.js
@@ -169,7 +169,7 @@ if (process.env.REACT_CLASS_EQUIVALENCE_TEST) {
169
if (!message) {
170
return message;
171
}
172
- const re = /error-decoder.html\?invariant=(\d+)([^\s]*)/;
+ const re = /react.dev\/errors\/(\d+)?([^\s]*)/;
173
const matches = message.match(re);
174
if (!matches || matches.length !== 3) {
175
0 commit comments