@storybook/testing-library
Advanced tools
Comparing version 0.2.0-future.1 to 0.2.0-next.0
@@ -1,11 +0,3 @@ | ||
import * as _testing_library_user_event_dist_keyboard from '@testing-library/user-event/dist/keyboard'; | ||
import * as _testing_library_user_event_dist_paste from '@testing-library/user-event/dist/paste'; | ||
import * as _testing_library_user_event_dist_utils from '@testing-library/user-event/dist/utils'; | ||
import * as _testing_library_user_event_dist_upload from '@testing-library/user-event/dist/upload'; | ||
import * as _testing_library_user_event_dist_hover from '@testing-library/user-event/dist/hover'; | ||
import * as _testing_library_user_event_dist_tab from '@testing-library/user-event/dist/tab'; | ||
import * as _testing_library_user_event_dist_clear from '@testing-library/user-event/dist/clear'; | ||
import * as _testing_library_user_event_dist_type from '@testing-library/user-event/dist/type'; | ||
import * as _testing_library_user_event_dist_click from '@testing-library/user-event/dist/click'; | ||
import * as domTestingLibrary from '@testing-library/dom'; | ||
import _userEventObj from '@testing-library/user-event'; | ||
@@ -84,17 +76,4 @@ declare const buildQueries: typeof domTestingLibrary.buildQueries; | ||
declare const prettyFormat: typeof domTestingLibrary.prettyFormat; | ||
declare const userEvent: { | ||
click: typeof _testing_library_user_event_dist_click.click; | ||
dblClick: typeof _testing_library_user_event_dist_click.dblClick; | ||
type: typeof _testing_library_user_event_dist_type.type; | ||
clear: typeof _testing_library_user_event_dist_clear.clear; | ||
tab: typeof _testing_library_user_event_dist_tab.tab; | ||
hover: typeof _testing_library_user_event_dist_hover.hover; | ||
unhover: typeof _testing_library_user_event_dist_hover.unhover; | ||
upload: typeof _testing_library_user_event_dist_upload.upload; | ||
selectOptions: (args_0: Element, args_1: string | HTMLElement | HTMLElement[] | string[], args_2?: MouseEventInit | undefined, args_3?: _testing_library_user_event_dist_utils.PointerOptions | undefined) => void; | ||
deselectOptions: (args_0: Element, args_1: string | HTMLElement | HTMLElement[] | string[], args_2?: MouseEventInit | undefined, args_3?: _testing_library_user_event_dist_utils.PointerOptions | undefined) => void; | ||
paste: typeof _testing_library_user_event_dist_paste.paste; | ||
keyboard: typeof _testing_library_user_event_dist_keyboard.keyboard; | ||
}; | ||
declare const userEvent: typeof _userEventObj; | ||
export { buildQueries, configure, createEvent, findAllByAltText, findAllByDisplayValue, findAllByLabelText, findAllByPlaceholderText, findAllByRole, findAllByTestId, findAllByText, findAllByTitle, findByAltText, findByDisplayValue, findByLabelText, findByPlaceholderText, findByRole, findByTestId, findByText, findByTitle, fireEvent, getAllByAltText, getAllByDisplayValue, getAllByLabelText, getAllByPlaceholderText, getAllByRole, getAllByTestId, getAllByText, getAllByTitle, getByAltText, getByDisplayValue, getByLabelText, getByPlaceholderText, getByRole, getByTestId, getByText, getByTitle, getConfig, getDefaultNormalizer, getElementError, getNodeText, getQueriesForElement, getRoles, getSuggestedQuery, isInaccessible, logDOM, logRoles, prettyDOM, prettyFormat, queries, queryAllByAltText, queryAllByAttribute, queryAllByDisplayValue, queryAllByLabelText, queryAllByPlaceholderText, queryAllByRole, queryAllByTestId, queryAllByText, queryAllByTitle, queryByAltText, queryByAttribute, queryByDisplayValue, queryByLabelText, queryByPlaceholderText, queryByRole, queryByTestId, queryByText, queryByTitle, queryHelpers, screen, userEvent, waitFor, waitForElementToBeRemoved, within }; |
@@ -548,2 +548,5 @@ "use strict"; | ||
prettyFormat | ||
} = testingLibrary, { userEvent } = instrument({ userEvent: _userEvent }, { intercept: !0 }); | ||
} = testingLibrary, userEvent = instrument( | ||
{ userEvent: _userEvent }, | ||
{ intercept: !0 } | ||
).userEvent; |
{ | ||
"name": "@storybook/testing-library", | ||
"version": "0.2.0-future.1", | ||
"version": "0.2.0-next.0", | ||
"description": "Instrumented version of Testing Library for Storybook Interactions", | ||
@@ -27,4 +27,4 @@ "repository": { | ||
"dependencies": { | ||
"@testing-library/dom": "^8.3.0", | ||
"@testing-library/user-event": "^13.2.1", | ||
"@testing-library/dom": "^9.3.1", | ||
"@testing-library/user-event": "^14.4.3", | ||
"ts-dedent": "^2.2.0" | ||
@@ -31,0 +31,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
66445
1178
+ Added@testing-library/dom@9.3.4(transitive)
+ Added@testing-library/user-event@14.5.2(transitive)
- Removed@testing-library/dom@8.20.1(transitive)
- Removed@testing-library/user-event@13.5.0(transitive)
Updated@testing-library/dom@^9.3.1