dom-testing-library
Advanced tools
Comparing version 3.12.1 to 3.12.2
{ | ||
"name": "dom-testing-library", | ||
"version": "3.12.1", | ||
"version": "3.12.2", | ||
"description": "Simple and complete DOM testing utilities that encourage good testing practices.", | ||
@@ -24,3 +24,3 @@ "main": "dist/index.js", | ||
"engines": { | ||
"node": ">=6" | ||
"node": ">=8" | ||
}, | ||
@@ -27,0 +27,0 @@ "scripts": { |
@@ -72,7 +72,7 @@ export type EventType = | ||
export type FireFunction = (element: HTMLElement, event: Event) => boolean | ||
export type FireFunction = (element: Element, event: Event) => boolean | ||
export type FireObject = { | ||
[K in EventType]: (element: HTMLElement, options?: {}) => boolean | ||
[K in EventType]: (element: Element, options?: {}) => boolean | ||
} | ||
export const fireEvent: FireFunction & FireObject |
1036212