packages/scripts/e2e/bootstrap.js
Function toMatchStringWithQuotes
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async toMatchStringWithQuotes( received, expected ) {
received = received.replace( /[“”]/g, '"' ).replace( /[‘’]/g, "'" );
const options = {
comment: 'String with quotes equality',
Avoid too many return
statements within this function. Open
Open
return true;