UNPKG

eslint-plugin-sonarjs

Version:
8 lines (7 loc) 379 B
import type estree from 'estree'; import type { Assertion } from './assertions.js'; /** * Covers Cypress chain assertions like `cy.wrap(value).should('be.true')` or `cy.wrap(value).and('be.null')`. * The predicate is a Chai assertion string (dot-separated, optional `not.` prefix). */ export declare function extractCypressChainAssertion(node: estree.Node): Assertion | null;