From f7fd2c52905952ceb74ff64b61f7dd5a4f80f407 Mon Sep 17 00:00:00 2001 From: Levent Anil Ozen Date: Thu, 11 Jan 2024 15:58:01 +0300 Subject: [PATCH] fix: missing imports --- package-lock.json | 18 +++++++++--------- package.json | 2 +- .../group/bl-dropdown-group.stories.mdx | 2 ++ 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8e910f4e..9468c947 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ "@storybook/addon-mdx-gfm": "^7.4.3", "@storybook/addon-viewport": "^7.4.3", "@storybook/jest": "^0.2.2", - "@storybook/testing-library": "^0.2.0", + "@storybook/testing-library": "^0.2.2", "@storybook/web-components": "7.4.3", "@storybook/web-components-vite": "^7.4.3", "@trivago/prettier-plugin-sort-imports": "^4.1.1", @@ -6654,13 +6654,13 @@ } }, "node_modules/@storybook/testing-library": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@storybook/testing-library/-/testing-library-0.2.1.tgz", - "integrity": "sha512-AdbfLCm1C2nEFrhA3ScdicfW6Fjcorehr6RlGwECMiWwaXisnP971Wd4psqtWxlAqQo4tYBZ0f6rJ3J78JLtsg==", + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@storybook/testing-library/-/testing-library-0.2.2.tgz", + "integrity": "sha512-L8sXFJUHmrlyU2BsWWZGuAjv39Jl1uAqUHdxmN42JY15M4+XCMjGlArdCCjDe1wpTSW6USYISA9axjZojgtvnw==", "dev": true, "dependencies": { "@testing-library/dom": "^9.0.0", - "@testing-library/user-event": "~14.4.0", + "@testing-library/user-event": "^14.4.0", "ts-dedent": "^2.2.0" } }, @@ -30501,13 +30501,13 @@ } }, "@storybook/testing-library": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@storybook/testing-library/-/testing-library-0.2.1.tgz", - "integrity": "sha512-AdbfLCm1C2nEFrhA3ScdicfW6Fjcorehr6RlGwECMiWwaXisnP971Wd4psqtWxlAqQo4tYBZ0f6rJ3J78JLtsg==", + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@storybook/testing-library/-/testing-library-0.2.2.tgz", + "integrity": "sha512-L8sXFJUHmrlyU2BsWWZGuAjv39Jl1uAqUHdxmN42JY15M4+XCMjGlArdCCjDe1wpTSW6USYISA9axjZojgtvnw==", "dev": true, "requires": { "@testing-library/dom": "^9.0.0", - "@testing-library/user-event": "~14.4.0", + "@testing-library/user-event": "^14.4.0", "ts-dedent": "^2.2.0" } }, diff --git a/package.json b/package.json index ce549dad..155020c8 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "@storybook/addon-mdx-gfm": "^7.4.3", "@storybook/addon-viewport": "^7.4.3", "@storybook/jest": "^0.2.2", - "@storybook/testing-library": "^0.2.0", + "@storybook/testing-library": "^0.2.2", "@storybook/web-components": "7.4.3", "@storybook/web-components-vite": "^7.4.3", "@trivago/prettier-plugin-sort-imports": "^4.1.1", diff --git a/src/components/dropdown/group/bl-dropdown-group.stories.mdx b/src/components/dropdown/group/bl-dropdown-group.stories.mdx index 62577fa0..6815915f 100644 --- a/src/components/dropdown/group/bl-dropdown-group.stories.mdx +++ b/src/components/dropdown/group/bl-dropdown-group.stories.mdx @@ -7,6 +7,8 @@ import { Story, } from '@storybook/addon-docs'; +import { userEvent } from '@storybook/testing-library'; +