fix(types): toHaveAttribute had its signature backwards (#8314)
This commit is contained in:
parent
ddcdb6d413
commit
5357b2f280
2
types/testExpect.d.ts
vendored
2
types/testExpect.d.ts
vendored
|
|
@ -117,7 +117,7 @@ declare global {
|
|||
/**
|
||||
* Asserts element's attributes `name` matches expected value.
|
||||
*/
|
||||
toHaveAttribute(expected: string | RegExp, name: string, options?: { timeout?: number }): Promise<R>;
|
||||
toHaveAttribute(name: string, expected: string | RegExp, options?: { timeout?: number }): Promise<R>;
|
||||
|
||||
/**
|
||||
* Asserts that DOM node has a given CSS class.
|
||||
|
|
|
|||
Loading…
Reference in a new issue