eslint-plugin-playwright
eslint-plugin-playwright copied to clipboard
[`playwright/no-conditional-in-test`]: Avoid having conditionals in tests
const {x = 0, y = 0, width = 0, height = 0} = (await button.boundingBox()) ?? {};
Is it false positive?
Yeah, we shouldn't mark nullish coallesing as a failure