react-select-event
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -46,3 +46,3 @@ /** Simulate user events on react-select dropdowns */ | ||
export declare const clearAll: (input: HTMLElement) => Promise<void>; | ||
declare const _default: { | ||
declare const selectEvent: { | ||
select: (input: HTMLElement, optionOrOptions: string | RegExp | (string | RegExp)[], config?: Config) => Promise<void>; | ||
@@ -54,2 +54,2 @@ create: (input: HTMLElement, option: string, config?: CreateConfig) => Promise<void>; | ||
}; | ||
export default _default; | ||
export default selectEvent; |
@@ -113,3 +113,3 @@ 'use strict'; | ||
}; | ||
var index = { | ||
const selectEvent = { | ||
select, | ||
@@ -125,4 +125,4 @@ create, | ||
exports.create = create; | ||
exports.default = index; | ||
exports.default = selectEvent; | ||
exports.openMenu = openMenu; | ||
exports.select = select; |
@@ -109,3 +109,3 @@ import { fireEvent, findByText, wait } from '@testing-library/dom'; | ||
}; | ||
var index = { | ||
const selectEvent = { | ||
select, | ||
@@ -118,3 +118,3 @@ create, | ||
export default index; | ||
export default selectEvent; | ||
export { clearAll, clearFirst, create, openMenu, select }; |
{ | ||
"name": "react-select-event", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "Simulate react-select events for react-testing-library", | ||
@@ -5,0 +5,0 @@ "main": "lib/react-select-event.cjs.js", |
@@ -128,2 +128,3 @@ /** Simulate user events on react-select dropdowns */ | ||
export default { select, create, clearFirst, clearAll, openMenu }; | ||
const selectEvent = { select, create, clearFirst, clearAll, openMenu }; | ||
export default selectEvent; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38755
707