Socket
Socket
Sign inDemoInstall

@storybook/testing-library

Package Overview
Dependencies
Maintainers
31
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/testing-library - npm Package Compare versions

Comparing version 0.2.0-future.1 to 0.2.0-next.0

25

dist/index.d.ts

@@ -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 };

5

dist/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc