Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ import {
SelectorMatcherOptions as DTLSelectorMatcherOptions,
} from '@testing-library/dom'

export interface CTLMatcherOptions {
timeout?: number
export interface CTLMatcherOptions
extends Partial<Cypress.Timeoutable>,
Partial<Cypress.Loggable> {
container?: Element | JQuery<Element>
}

Expand Down Expand Up @@ -223,7 +224,10 @@ declare global {
* @see https://github.com/testing-library/cypress-testing-library#usage
* @see https://github.com/testing-library/dom-testing-library#table-of-contents
*/
findAllByRole(id: ByRoleMatcher, options?: ByRoleOptions): Chainable<JQuery>
findAllByRole(
id: ByRoleMatcher,
options?: ByRoleOptions,
): Chainable<JQuery>

/**
* dom-testing-library helpers for Cypress
Expand Down