attributes.d.ts 453 B

1234567891011121314
  1. export declare function toEqualAttribute(elm: HTMLElement, expectAttrName: string, expectAttrValue: string): {
  2. message: () => string;
  3. pass: boolean;
  4. };
  5. export declare function toEqualAttributes(elm: HTMLElement, expectAttrs: {
  6. [attrName: string]: any;
  7. }): {
  8. message: () => string;
  9. pass: boolean;
  10. };
  11. export declare function toHaveAttribute(elm: HTMLElement, expectAttrName: string): {
  12. message: () => string;
  13. pass: boolean;
  14. };