Fix lint.

This commit is contained in:
Sam Rose 2025-03-03 14:59:44 +00:00
parent 28d3c18aba
commit 1d0d1f895a
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -2522,7 +2522,7 @@ if (descriptions.length) {
value: any, value: any,
isArray: boolean isArray: boolean
) => { ) => {
const objectMatcher = `{\"${key}\":\"${value[key]}\".*?}` const objectMatcher = `{"${key}":"${value[key]}".*?}`
if (isArray) { if (isArray) {
return expect.stringMatching( return expect.stringMatching(
new RegExp(`^\\[${objectMatcher}\\]$`) new RegExp(`^\\[${objectMatcher}\\]$`)