Fix lint.
This commit is contained in:
parent
28d3c18aba
commit
1d0d1f895a
|
@ -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}\\]$`)
|
||||||
|
|
Loading…
Reference in New Issue