Skip to content

Commit

Permalink
fix regex pattern in test
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed Oct 17, 2023
1 parent 15b463b commit f71c170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/next-image-new/app-dir/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ function runTests(mode) {
.map((log) => log.message)
.join('\n')
expect(warnings).toMatch(
/Image with src "\/test\.jpg" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead./gm
/Image with src "(.*)test(.*)jpg" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead./gm
)
})

Expand Down

0 comments on commit f71c170

Please sign in to comment.