Skip to content

Commit

Permalink
Fix regex again
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhanlonii committed Jan 18, 2024
1 parent 0d415bb commit e42d72b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/jest/setupTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ if (process.env.REACT_CLASS_EQUIVALENCE_TEST) {
if (!message) {
return message;
}
const re = /react.dev\/errors\/(\d+)?\?([^\s]*)/;
const re = /react.dev\/errors\/(\d+)?\??([^\s]*)/;
const matches = message.match(re);
if (!matches || matches.length !== 3) {
return message;
Expand Down

0 comments on commit e42d72b

Please sign in to comment.