diff --git a/packages/core/.eslintrc.js b/packages/core/.eslintrc.js index 22d991d846..de90d218e7 100644 --- a/packages/core/.eslintrc.js +++ b/packages/core/.eslintrc.js @@ -59,7 +59,7 @@ const commonExtends = ["plugin:react/recommended", "plugin:react-hooks/recommend module.exports = { overrides: [ { - files: ["*.jest.js", "jest.setup.js", "jest.init.js"], + files: ["*.test.js", "jest.init.js"], env: { jest: true, "jest/globals": true @@ -118,7 +118,7 @@ module.exports = { }, settings: { jest: { - version: 27 + version: 29 }, react: { version: "detect" diff --git a/packages/core/TESTING_README.md b/packages/core/TESTING_README.md index 7a266a3705..6258cf89b0 100644 --- a/packages/core/TESTING_README.md +++ b/packages/core/TESTING_README.md @@ -2,13 +2,15 @@ As this library is the base of all monday's ui and an open source library, its components should be very well tested. In order to do so we've chosen the following test stack. -### Stack +### Stack + 1. Jest as of our test runner and framework 2. [React testing library](https://testing-library.com/docs/react-testing-library/intro) as our components testing library 3. Storybook interaction tests for scenarios which require real browser instead of JSDom simulation. More information about this [here](./src/tests/readme.md). ### Snapshot tests -- Each component will have a snapshot test file named according to the following convention: *component-name*-snapshot-tests.jest.tsx. + +- Each component will have a snapshot test file named according to the following convention: _component-name_-snapshot-tests.test.tsx. - The snapshot tests file will be located under the component's `__tests__` folder. - This file will contain a snapshot test for the component with empty props and a snapshot test for each prop. - Snapshot files will be implemented with Jest, as shown in the following example: @@ -27,11 +29,12 @@ describe("Chips renders correctly", () => { ``` ### Behaviour tests + - Every interactive component will contain a behaviour tests file. -- The component behaviour tests file will named according to the following convention: *component-name*-tests.jest.tsx. +- The component behaviour tests file will named according to the following convention: _component-name_-tests.test.tsx. - The behaviour tests file will be located under the component's `__tests__` folder. - This tests file will contain all the non-snapshot unit tests. This file should contain a test for each possible user interaction with the component. -- Behaviour files will be implemented with Jest and [React Testing Library]((https://testing-library.com/docs/react-testing-library/intro)) when needed, as shown in the following example: +- Behaviour files will be implemented with Jest and [React Testing Library](<(https://testing-library.com/docs/react-testing-library/intro)>) when needed, as shown in the following example: ```tsx import { fireEvent, render } from "@testing-library/react"; @@ -41,11 +44,11 @@ describe("Tipseen tests", () => { it("call onClose function when click on close button", () => { const onClickMock = jest.fn(); const { getByLabelText } = render( - -
- + +
+ ); - + fireEvent.click(getByLabelText("Close")); expect(onClickMock.mock.calls.length).toBe(1); }); @@ -53,28 +56,32 @@ describe("Tipseen tests", () => { ``` ### Storybook interaction tests -- Every interactive component will contain a storybook interaction tests file according to the following name convention: *component-name*-interactions.tsx. -- The storybook interaction tests file will be located under the component's `__tests__` folder. + +- Every interactive component will contain a storybook interaction tests file according to the following name convention: _component-name_-interactions.tsx. +- The storybook interaction tests file will be located under the component's `__tests__` folder. - This tests file will contain all tests which require real browser instead of JSDOM simulation. - Snapshot files will be implemented with Jest and React Testing library when needed, as shown in the following example: - Every storybook interaction test suite is linked to a specific component story. - You can read more about storybook interaction tests and our recommended practices [here](./src/tests/readme.md). ### Running Vibe tests + **Snapshot and Behavior Tests:** To run all snapshot and behavior tests locally, use the command: `yarn test`. **Local Storybook Interaction Tests:** To check interaction tests for a specific story in Storybook: + 1. Open the Sandbox section of Storybook. 2. Select the desired story. 3. Click on the "Interactions" tab in the story's footer tabs panel. - ### Testing best practices -1. **Always test the expected behavior and not implementation details**. This approach helps us ensure test resilience, enabling easier refactoring and maintenance. It also enhances flexibility, improves communication, and future-proofs our tests. Overall, focusing on expected behavior leads to more robust test suites. + +1. **Always test the expected behavior and not implementation details**. This approach helps us ensure test resilience, enabling easier refactoring and maintenance. It also enhances flexibility, improves communication, and future-proofs our tests. Overall, focusing on expected behavior leads to more robust test suites. 2. Whenever possible, in your unit tests, prefer to query a specific component using its data-testid instead of other methods. ### Creating test files from scratch + When implementing new tests for a component from scratch, please use our plop code generator. Use our plop, which automatically generates the proper folder structure. Snapshot tests and jest behavior testes files should end with .test.tsx, and storybook interaction tests files with .interactions.tsx diff --git a/packages/core/__mocks__/fileMock.js b/packages/core/__mocks__/fileMock.js index 6df9a67d4e..bc73ccec6c 100644 --- a/packages/core/__mocks__/fileMock.js +++ b/packages/core/__mocks__/fileMock.js @@ -2,6 +2,8 @@ const path = require("path"); module.exports = { process(src, filename) { - return `module.exports = ${JSON.stringify(path.basename(filename))};`; + return { + code: `module.exports = ${JSON.stringify(path.basename(filename))};` + }; } }; diff --git a/packages/core/jest.config.js b/packages/core/jest.config.js deleted file mode 100644 index 7f7e06f21a..0000000000 --- a/packages/core/jest.config.js +++ /dev/null @@ -1,200 +0,0 @@ -/* - * For a detailed explanation regarding each configuration property, visit: - * https://jestjs.io/docs/en/configuration.html - */ - -const JEST_END_FILES = process.env.TEST_END_FILES || "jest"; - -module.exports = { - // All imported modules in your tests should be mocked automatically - // automock: false, - - // Stop running tests after `n` failures - // bail: 0, - - // The directory where Jest should store its cached dependency information - // cacheDirectory: "/private/var/folders/cc/y9txhz0x3k32xxwxbcc92b7m0000gn/T/jest_dx", - - // Automatically clear mock calls and instances between every test - clearMocks: true, - - // Indicates whether the coverage information should be collected while executing the test - // collectCoverage: false, - - // An array of glob patterns indicating a set of files for which coverage information should be collected - // collectCoverageFrom: undefined, - - // The directory where Jest should output its coverage files - coverageDirectory: "coverage", - - // An array of regexp pattern strings used to skip coverage collection - // coveragePathIgnorePatterns: [ - // "/node_modules/" - // ], - coveragePathIgnorePatterns: ["node_modules/", "src/components/Icon/Icons/"], - - // Indicates which provider should be used to instrument code for coverage - // coverageProvider: "babel", - - // A list of reporter names that Jest uses when writing coverage reports - // coverageReporters: [ - // "json", - // "text", - // "lcov", - // "clover" - // ], - - // An object that configures minimum threshold enforcement for coverage results - // coverageThreshold: undefined, - - // A path to a custom dependency extractor - // dependencyExtractor: undefined, - - // Make calling deprecated APIs throw helpful error messages - // errorOnDeprecated: false, - - // Force coverage collection from ignored files using an array of glob patterns - // forceCoverageMatch: [], - - // A path to a module which exports an async function that is triggered once before all test suites - // globalSetup: undefined, - - // A path to a module which exports an async function that is triggered once after all test suites - // globalTeardown: undefined, - - // A set of global variables that need to be available in all test environments - globals: { - extensionsToTreatAsEsm: [".ts", ".tsx", ".js", ".jsx"], - "ts-jest": { - useESM: true - } - }, - - // The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers. - // maxWorkers: "50%", - - // An array of directory names to be searched recursively up from the requiring module's location - // moduleDirectories: [ - // "node_modules" - // ], - - // An array of file extensions your modules use - moduleFileExtensions: ["js", "json", "jsx", "ts", "tsx", "node", "mdx"], - - // A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module - moduleNameMapper: { - "\\.(css|less|sass|scss)$": "identity-obj-proxy" - }, - - modulePaths: ["/src"], - - // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader - // modulePathIgnorePatterns: [], - - // Activates notifications for test results - // notify: false, - - // An enum that specifies notification mode. Requires { notify: true } - // notifyMode: "failure-change", - - // A preset that is used as a base for Jest's configuration - preset: "ts-jest/presets/default", - - // Run tests from one or more projects - // projects: undefined, - - // Use this configuration option to add custom reporters to Jest - // reporters: undefined, - - // Automatically reset mock state between every test - // resetMocks: false, - - // Reset the module registry before running each individual test - // resetModules: false, - - // A path to a custom resolver - // resolver: undefined, - - // Automatically restore mock state between every test - // restoreMocks: false, - - // The root directory that Jest should scan for tests and modules within - // rootDir: undefined, - - // A list of paths to directories that Jest should use to search for files in - roots: [""], - - // Allows you to use a custom runner instead of Jest's default test runner - // runner: "jest-runner", - - // The paths to modules that run some code to configure or set up the testing environment before each test - setupFiles: ["/jest.init.js"], - - // A list of paths to modules that run some code to configure or set up the testing framework before each test - setupFilesAfterEnv: ["/jest/jest.setup.js"], - - // The number of seconds after which a test is considered as slow and reported as such in the results. - // slowTestThreshold: 5, - - // A list of paths to snapshot serializer modules Jest should use for snapshot testing - snapshotSerializers: [require.resolve("snapshot-diff/serializer.js")], - - // The test environment that will be used for testing - testEnvironment: "jsdom", - - // Options that will be passed to the testEnvironment - // testEnvironmentOptions: {}, - - // Adds a location field to test results - // testLocationInResults: false, - - // The glob patterns Jest uses to detect test files - testMatch: [`**/__tests__/**/*.${JEST_END_FILES}.[jt]s?(x)`], - - // An array of regexp pattern strings that are matched against all test paths, matched tests are skipped - // testPathIgnorePatterns: [ - // "/node_modules/" - // ], - - // The regexp pattern or array of patterns that Jest uses to detect test files - // testRegex: [], - - // This option allows the use of a custom results processor - // testResultsProcessor: undefined, - - // This option allows use of a custom test runner - // testRunner: "jasmine2", - - // This option sets the URL for the jsdom environment. It is reflected in properties such as location.href - // testURL: "http://localhost", - - // Setting this value to "fake" allows the use of fake timers for functions such as "setTimeout" - // timers: "real", - - // A map from regular expressions to paths to transformers - transform: { - "^.+\\.[j]sx?$": "babel-jest", - "^.+\\.mdx?$": "@storybook/addon-docs/jest-transform-mdx", - "^.+\\.(tx|tsx)$": "ts-jest", - "\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|svg)$": - "/__mocks__/fileMock.js" - }, - - // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation - transformIgnorePatterns: [ - "node_modules/(?!monday-ui-style)/" - // "\\.pnp\\.[^\\/]+$" - ] - - // An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them - // unmockedModulePathPatterns: undefined, - - // Indicates whether each individual test should be reported during the run - // verbose: undefined, - - // An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode - // watchPathIgnorePatterns: [], - - // Whether to use watchman for file crawling - // watchman: true, -}; diff --git a/packages/core/jest.config.ts b/packages/core/jest.config.ts new file mode 100644 index 0000000000..f632535cb9 --- /dev/null +++ b/packages/core/jest.config.ts @@ -0,0 +1,37 @@ +import type { Config } from "jest"; + +const config: Config = { + clearMocks: true, + coverageDirectory: "coverage", + coveragePathIgnorePatterns: ["node_modules/", "src/components/Icon/Icons/"], + globals: { + extensionsToTreatAsEsm: [".ts", ".tsx", ".js", ".jsx"] + }, + moduleFileExtensions: ["js", "json", "jsx", "ts", "tsx", "node", "mdx"], + moduleNameMapper: { + "\\.(css|less|sass|scss)$": "identity-obj-proxy" + }, + modulePaths: ["/src"], + preset: "ts-jest/presets/default", + roots: [""], + setupFiles: ["/jest.init.js"], + setupFilesAfterEnv: ["/setupTests.ts"], + snapshotSerializers: [require.resolve("snapshot-diff/serializer.js")], + testEnvironment: "jest-environment-jsdom", + testMatch: ["**/__tests__/**/*.test.[jt]s?(x)"], + transform: { + "^.+\\.[j]sx?$": "babel-jest", + "^.+\\.mdx?$": "@storybook/addon-docs/jest-transform-mdx", + "^.+\\.(tx|tsx)$": [ + "ts-jest", + { + useESM: true + } + ], + "\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|svg)$": + "/__mocks__/fileMock.js" + }, + transformIgnorePatterns: ["node_modules/(?!monday-ui-style)/"] +}; + +export default config; diff --git a/packages/core/jest/jest.setup.js b/packages/core/jest/jest.setup.js deleted file mode 100644 index b30261c8ad..0000000000 --- a/packages/core/jest/jest.setup.js +++ /dev/null @@ -1,17 +0,0 @@ -const { toMatchDiffSnapshot } = require("snapshot-diff"); - -Object.defineProperty(window, "matchMedia", { - writable: true, - value: jest.fn().mockImplementation(query => ({ - matches: false, - media: query, - onchange: null, - addListener: jest.fn(), // Deprecated - removeListener: jest.fn(), // Deprecated - addEventListener: jest.fn(), - removeEventListener: jest.fn(), - dispatchEvent: jest.fn() - })) -}); - -expect.extend({ toMatchDiffSnapshot }); diff --git a/packages/core/package.json b/packages/core/package.json index 60f981cb68..9598d2f91d 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -60,8 +60,8 @@ }, "scripts": { "test": "jest", - "test:stories": "testing=storybook TEST_END_FILES=jest-story jest", - "test:update": "yarn test -- -u", + "test:watch": "jest --watch", + "test:update": "yarn test -u", "test:coverage": "yarn test -- --coverage", "start": "yarn build:react-icons && yarn build:commonjs -- --watch", "build": "yarn build:react-icons && yarn build:storybook-exports && yarn build:commonjs && yarn build:esm && yarn build:esm:mock-classnames && yarn build:types", @@ -138,7 +138,7 @@ "@babel/standalone": "^7.24.4", "@babel/types": "^7.24.0", "@hot-loader/react-dom": "^16.13.0", - "@jest/transform": "^26.6.2", + "@jest/transform": "^29.7.0", "@mdx-js/loader": "^2.0.0-rc.2", "@mdx-js/mdx": "^2.0.0-rc.2", "@rollup/plugin-babel": "^6.0.2", @@ -152,7 +152,6 @@ "@storybook/addon-essentials": "^7.5.3", "@storybook/addon-interactions": "^7.5.3", "@storybook/addon-links": "^7.5.3", - "@storybook/addon-storyshots": "^7.5.3", "@storybook/addon-styling-webpack": "^0.0.5", "@storybook/addon-themes": "^7.5.3", "@storybook/addon-toolbars": "^7.5.3", @@ -221,7 +220,8 @@ "eslint-plugin-storybook": "^0.6.15", "execa": "^5.1.1", "identity-obj-proxy": "^3.0.0", - "jest": "^27.5.1", + "jest": "^29.7.0", + "jest-environment-jsdom": "^29.7.0", "js-sha256": "^0.9.0", "json-loader": "^0.5.7", "jsontosass": "^0.2.0", @@ -258,8 +258,9 @@ "stylelint-config-standard-scss": "^3.0.0", "svg2react-icon": "^3.1.178", "terser-webpack-plugin": "^5.3.0", - "ts-jest": "^27.1.5", + "ts-jest": "^29.1.2", "ts-loader": "^9.3.1", + "ts-node": "^10.9.2", "typescript": "^4.7.3", "typescript-plugin-css-modules": "^4.2.1", "webpack": "^5.73.0", @@ -283,16 +284,5 @@ }, "browserslist": [ "extends browserslist-config-monday" - ], - "changelog": { - "labels": { - "PR: Bugfix 🐛": "Bug Fixes", - "PR: New Feature 🕹": "New Features", - "PR: Dependencies 🛠": "Dependency Upgrades", - "PR: Documentation 📖": "Documentation", - "PR: Internal 🏠": "Internal Changes", - "PR: Breaking Changes 💥": "Breaking Changes", - "PR: Icon 💎": "New Icons" - } - } + ] } diff --git a/packages/core/plop/component/index.js b/packages/core/plop/component/index.js index 730b3475c3..d2059554ee 100644 --- a/packages/core/plop/component/index.js +++ b/packages/core/plop/component/index.js @@ -53,13 +53,8 @@ module.exports = plop => { }, { type: "add", - path: "src/components/{{properCase componentName}}/__tests__/{{camelCase componentName}}-snapshot-tests.jest.js", - templateFile: "plop/general/component-snapshot-tests-jest.txt" - }, - { - type: "add", - path: "src/components/{{properCase componentName}}/__tests__/{{camelCase componentName}}-tests.jest.js", - templateFile: "plop/general/component-tests-jest.txt" + path: "src/components/{{properCase componentName}}/__tests__/{{properCase componentName}}.test.js", + templateFile: "plop/general/component-tests.txt" }, { type: "append", diff --git a/packages/core/plop/general/component-snapshot-tests-jest.txt b/packages/core/plop/general/component-snapshot-tests-jest.txt deleted file mode 100644 index 45c1cd6a0d..0000000000 --- a/packages/core/plop/general/component-snapshot-tests-jest.txt +++ /dev/null @@ -1,50 +0,0 @@ -import React from "react"; -import renderer from "react-test-renderer"; -import {{properCase componentName}} from "../{{properCase componentName}}"; - -/** - * There are cases where the component we want to test in the snapshot test will contain additional components. - We do not want changes to the additional components to fail our component snapshot's test. - Therefore, we will replace the instances of the other external components in the snapshot test with mock/stub components in these cases. - */ - -/** example for external library - jest.mock("react-transition-group", () => { - const FakeTransition = jest.fn(({ children }) => children); - const FakeSwitchTransition = jest.fn(({ children }) => children); - const FakeCSSTransition = jest.fn(({ children }) => children); - - // We return here the instance of the mock / stub library object content - return { - CSSTransition: FakeCSSTransition, - Transition: FakeTransition, - SwitchTransition: FakeSwitchTransition - }; -}); - **/ - -/** example for internal component -jest.mock("../../Button/Button", () => { - // We return here the instance of the mock / stub component - return ({ onClick }) => ( -
- ); -}); -**/ - -describe("{{properCase componentName}} renders correctly", () => { - it("with empty props", () => { - const tree = renderer.create(<{{properCase componentName}} />).toJSON(); - expect(tree).toMatchSnapshot(); - }); - - it("with x", () => { - const tree = renderer.create(<{{properCase componentName}} />).toJSON(); - expect(tree).toMatchSnapshot(); - }); - - it("with y", () => { - const tree = renderer.create(<{{properCase componentName}} />).toJSON(); - expect(tree).toMatchSnapshot(); - }); -}); diff --git a/packages/core/plop/general/component-tests-jest.txt b/packages/core/plop/general/component-tests-jest.txt deleted file mode 100644 index b13b7a4d8f..0000000000 --- a/packages/core/plop/general/component-tests-jest.txt +++ /dev/null @@ -1,18 +0,0 @@ -import React from "react"; -import { fireEvent, render, cleanup } from "@testing-library/react"; -import { act } from "@testing-library/react-hooks"; -import {{properCase componentName}} from "../{{properCase componentName}}"; - -const renderComponent = props => { - return render(<{{properCase componentName}} {...props} />); -}; - -describe("{{properCase componentName}} tests", () => { - afterEach(() => { - cleanup(); - }); - - it("calls x when y", () => {}); - - it("should do x when y", () => {}); -}); diff --git a/packages/core/plop/general/component-tests.txt b/packages/core/plop/general/component-tests.txt new file mode 100644 index 0000000000..4e2f63a9cc --- /dev/null +++ b/packages/core/plop/general/component-tests.txt @@ -0,0 +1,13 @@ +import React from "react"; +import { fireEvent, render } from "@testing-library/react"; +import {{properCase componentName}} from "../{{properCase componentName}}"; + +const renderComponent = props => { + return render(<{{properCase componentName}} {...props} />); +}; + +describe("{{properCase componentName}}", () => { + it("should render", () => {}); + + it("should do x when y", () => {}); +}); diff --git a/packages/core/plop/tests/index.js b/packages/core/plop/tests/index.js index cc800ce92a..76cc96610b 100644 --- a/packages/core/plop/tests/index.js +++ b/packages/core/plop/tests/index.js @@ -19,14 +19,13 @@ module.exports = plop => { actions: [ { type: "add", - path: - "src/components/{{properCase componentName}}/__tests__/{{camelCase componentName}}-snapshot-tests.jest.js", - templateFile: "plop/general/component-snapshot-tests-jest.txt" + path: "src/components/{{properCase componentName}}/__tests__/{{camelCase componentName}}-snapshot-tests.test.js", + templateFile: "plop/general/component-snapshot-tests-test.txt" }, { type: "add", - path: "src/components/{{properCase componentName}}/__tests__/{{camelCase componentName}}-tests.jest.js", - templateFile: "plop/general/component-tests-jest.txt" + path: "src/components/{{properCase componentName}}/__tests__/{{camelCase componentName}}.test.js", + templateFile: "plop/general/component-tests.txt" } ] }); diff --git a/packages/core/setupTests.ts b/packages/core/setupTests.ts new file mode 100644 index 0000000000..d0de870dc5 --- /dev/null +++ b/packages/core/setupTests.ts @@ -0,0 +1 @@ +import "@testing-library/jest-dom"; diff --git a/packages/core/src/__tests__/stories.jest-story.ts b/packages/core/src/__tests__/stories.jest-story.ts deleted file mode 100644 index 21c1b11b4f..0000000000 --- a/packages/core/src/__tests__/stories.jest-story.ts +++ /dev/null @@ -1,6 +0,0 @@ -// TODO storybook 7 migration: deprecated - migration guide https://www.npmjs.com/package/@storybook/addon-storyshots -import initStoryshots, { renderOnly } from "@storybook/addon-storyshots"; - -initStoryshots({ - test: renderOnly -}); diff --git a/packages/core/src/components/Accordion/Accordion/__tests__/__snapshots__/accordion-snapshot-tests.jest.js.snap b/packages/core/src/components/Accordion/Accordion/__tests__/__snapshots__/accordion-snapshot-tests.test.js.snap similarity index 100% rename from packages/core/src/components/Accordion/Accordion/__tests__/__snapshots__/accordion-snapshot-tests.jest.js.snap rename to packages/core/src/components/Accordion/Accordion/__tests__/__snapshots__/accordion-snapshot-tests.test.js.snap diff --git a/packages/core/src/components/Accordion/Accordion/__tests__/accordion-snapshot-tests.jest.js b/packages/core/src/components/Accordion/Accordion/__tests__/accordion-snapshot-tests.test.js similarity index 100% rename from packages/core/src/components/Accordion/Accordion/__tests__/accordion-snapshot-tests.jest.js rename to packages/core/src/components/Accordion/Accordion/__tests__/accordion-snapshot-tests.test.js diff --git a/packages/core/src/components/Accordion/AccordionItem/__tests__/__snapshots__/accordionItem-snapshot-tests.jest.js.snap b/packages/core/src/components/Accordion/AccordionItem/__tests__/__snapshots__/accordionItem-snapshot-tests.test.js.snap similarity index 100% rename from packages/core/src/components/Accordion/AccordionItem/__tests__/__snapshots__/accordionItem-snapshot-tests.jest.js.snap rename to packages/core/src/components/Accordion/AccordionItem/__tests__/__snapshots__/accordionItem-snapshot-tests.test.js.snap diff --git a/packages/core/src/components/Accordion/AccordionItem/__tests__/accordionItem-snapshot-tests.jest.js b/packages/core/src/components/Accordion/AccordionItem/__tests__/accordionItem-snapshot-tests.test.js similarity index 100% rename from packages/core/src/components/Accordion/AccordionItem/__tests__/accordionItem-snapshot-tests.jest.js rename to packages/core/src/components/Accordion/AccordionItem/__tests__/accordionItem-snapshot-tests.test.js diff --git a/packages/core/src/components/Accordion/AccordionItem/__tests__/accordionItem-tests.jest.tsx b/packages/core/src/components/Accordion/AccordionItem/__tests__/accordionItem-tests.test.tsx similarity index 100% rename from packages/core/src/components/Accordion/AccordionItem/__tests__/accordionItem-tests.jest.tsx rename to packages/core/src/components/Accordion/AccordionItem/__tests__/accordionItem-tests.test.tsx diff --git a/packages/core/src/components/AlertBanner/__tests__/AlertBanner-snapshots.jest.js b/packages/core/src/components/AlertBanner/__tests__/AlertBanner-snapshots.test.js similarity index 100% rename from packages/core/src/components/AlertBanner/__tests__/AlertBanner-snapshots.jest.js rename to packages/core/src/components/AlertBanner/__tests__/AlertBanner-snapshots.test.js diff --git a/packages/core/src/components/AlertBanner/__tests__/__snapshots__/AlertBanner-snapshots.jest.js.snap b/packages/core/src/components/AlertBanner/__tests__/__snapshots__/AlertBanner-snapshots.test.js.snap similarity index 100% rename from packages/core/src/components/AlertBanner/__tests__/__snapshots__/AlertBanner-snapshots.jest.js.snap rename to packages/core/src/components/AlertBanner/__tests__/__snapshots__/AlertBanner-snapshots.test.js.snap diff --git a/packages/core/src/components/AlertBanner/__tests__/__snapshots__/alertBanner-snapshot-tests.jest.js.snap b/packages/core/src/components/AlertBanner/__tests__/__snapshots__/alertBanner-snapshot-tests.test.js.snap similarity index 100% rename from packages/core/src/components/AlertBanner/__tests__/__snapshots__/alertBanner-snapshot-tests.jest.js.snap rename to packages/core/src/components/AlertBanner/__tests__/__snapshots__/alertBanner-snapshot-tests.test.js.snap diff --git a/packages/core/src/components/AlertBanner/__tests__/alertBanner-snapshot-tests.jest.js b/packages/core/src/components/AlertBanner/__tests__/alertBanner-snapshot-tests.test.js similarity index 100% rename from packages/core/src/components/AlertBanner/__tests__/alertBanner-snapshot-tests.jest.js rename to packages/core/src/components/AlertBanner/__tests__/alertBanner-snapshot-tests.test.js diff --git a/packages/core/src/components/AlertBanner/__tests__/alertBanner-tests.jest.js b/packages/core/src/components/AlertBanner/__tests__/alertBanner-tests.test.js similarity index 100% rename from packages/core/src/components/AlertBanner/__tests__/alertBanner-tests.jest.js rename to packages/core/src/components/AlertBanner/__tests__/alertBanner-tests.test.js diff --git a/packages/core/src/components/AttentionBox/__tests__/__snapshots__/attentionBox-snapshot-tests.jest.tsx.snap b/packages/core/src/components/AttentionBox/__tests__/__snapshots__/attentionBox-snapshot-tests.test.tsx.snap similarity index 98% rename from packages/core/src/components/AttentionBox/__tests__/__snapshots__/attentionBox-snapshot-tests.jest.tsx.snap rename to packages/core/src/components/AttentionBox/__tests__/__snapshots__/attentionBox-snapshot-tests.test.tsx.snap index 4099ce0257..37a3dd4deb 100644 --- a/packages/core/src/components/AttentionBox/__tests__/__snapshots__/attentionBox-snapshot-tests.jest.tsx.snap +++ b/packages/core/src/components/AttentionBox/__tests__/__snapshots__/attentionBox-snapshot-tests.test.tsx.snap @@ -9,7 +9,7 @@ exports[`AttentionBox renders correctly renders correctly 1`] = `
Hadas Farhi, position: Tooltip.positions.BOTTOM diff --git a/packages/core/src/components/Avatar/__tests__/__snapshots__/avatar-snapshot-tests.jest.tsx.snap b/packages/core/src/components/Avatar/__tests__/__snapshots__/avatar-snapshot-tests.test.tsx.snap similarity index 93% rename from packages/core/src/components/Avatar/__tests__/__snapshots__/avatar-snapshot-tests.jest.tsx.snap rename to packages/core/src/components/Avatar/__tests__/__snapshots__/avatar-snapshot-tests.test.tsx.snap index 1237f72c1b..2d5f11b9f3 100644 --- a/packages/core/src/components/Avatar/__tests__/__snapshots__/avatar-snapshot-tests.jest.tsx.snap +++ b/packages/core/src/components/Avatar/__tests__/__snapshots__/avatar-snapshot-tests.test.tsx.snap @@ -4,13 +4,13 @@ exports[`Avatar renders correctly renders correctly accessibility props 1`] = `
@@ -74,7 +74,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-done-green)", } } @@ -82,7 +82,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -104,7 +104,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-bright-green)", } } @@ -112,7 +112,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -134,7 +134,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-saladish)", } } @@ -142,7 +142,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -164,7 +164,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-egg_yolk)", } } @@ -172,7 +172,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -194,7 +194,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-working_orange)", } } @@ -202,7 +202,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -224,7 +224,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-dark-orange)", } } @@ -232,7 +232,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -254,7 +254,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-peach)", } } @@ -262,7 +262,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -284,7 +284,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-sunset)", } } @@ -292,7 +292,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -314,7 +314,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-stuck-red)", } } @@ -322,7 +322,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -344,7 +344,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-dark-red)", } } @@ -352,7 +352,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -374,7 +374,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-sofia_pink)", } } @@ -382,7 +382,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -404,7 +404,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-lipstick)", } } @@ -412,7 +412,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -434,7 +434,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-bubble)", } } @@ -442,7 +442,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -464,7 +464,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-purple)", } } @@ -472,7 +472,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -494,7 +494,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-dark_purple)", } } @@ -502,7 +502,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -524,7 +524,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-berry)", } } @@ -532,7 +532,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -554,7 +554,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-dark_indigo)", } } @@ -562,7 +562,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -584,7 +584,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-indigo)", } } @@ -592,7 +592,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -614,7 +614,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-navy)", } } @@ -622,7 +622,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -644,7 +644,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-bright-blue)", } } @@ -652,7 +652,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -674,7 +674,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-dark-blue)", } } @@ -682,7 +682,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -704,7 +704,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-aquamarine)", } } @@ -712,7 +712,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -734,7 +734,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-chili-blue)", } } @@ -742,7 +742,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -764,7 +764,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-river)", } } @@ -772,7 +772,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -794,7 +794,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-winter)", } } @@ -802,7 +802,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -824,7 +824,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-explosive)", } } @@ -832,7 +832,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -854,7 +854,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-american_gray)", } } @@ -862,7 +862,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -884,7 +884,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-blackish)", } } @@ -892,7 +892,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -914,7 +914,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-brown)", } } @@ -922,7 +922,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -944,7 +944,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-orchid)", } } @@ -952,7 +952,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -974,7 +974,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-tan)", } } @@ -982,7 +982,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -1004,7 +1004,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-sky)", } } @@ -1012,7 +1012,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -1034,7 +1034,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-coffee)", } } @@ -1042,7 +1042,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -1064,7 +1064,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-royal)", } } @@ -1072,7 +1072,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -1094,7 +1094,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-teal)", } } @@ -1102,7 +1102,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -1124,7 +1124,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-lavender)", } } @@ -1132,7 +1132,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -1154,7 +1154,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-steel)", } } @@ -1162,7 +1162,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -1184,7 +1184,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-lilac)", } } @@ -1192,7 +1192,7 @@ exports[`renders correctly with empty props 1`] = ` >
@@ -1214,7 +1214,7 @@ exports[`renders correctly with empty props 1`] = ` onMouseLeave={[Function]} role="button" style={ - Object { + { "background": "var(--color-pecan)", } } @@ -1222,7 +1222,7 @@ exports[`renders correctly with empty props 1`] = ` >
diff --git a/packages/core/src/components/ColorPicker/__tests__/colorPicker.jest.tsx b/packages/core/src/components/ColorPicker/__tests__/colorPicker.test.tsx similarity index 100% rename from packages/core/src/components/ColorPicker/__tests__/colorPicker.jest.tsx rename to packages/core/src/components/ColorPicker/__tests__/colorPicker.test.tsx diff --git a/packages/core/src/components/Combobox/__tests__/ComboboxService.jest.js b/packages/core/src/components/Combobox/__tests__/ComboboxService.test.js similarity index 100% rename from packages/core/src/components/Combobox/__tests__/ComboboxService.jest.js rename to packages/core/src/components/Combobox/__tests__/ComboboxService.test.js diff --git a/packages/core/src/components/Combobox/__tests__/__snapshots__/combobox-snapshot-tests.jest.js.snap b/packages/core/src/components/Combobox/__tests__/__snapshots__/combobox-snapshot-tests.test.js.snap similarity index 98% rename from packages/core/src/components/Combobox/__tests__/__snapshots__/combobox-snapshot-tests.jest.js.snap rename to packages/core/src/components/Combobox/__tests__/__snapshots__/combobox-snapshot-tests.test.js.snap index 088bbdd007..58139c5084 100644 --- a/packages/core/src/components/Combobox/__tests__/__snapshots__/combobox-snapshot-tests.jest.js.snap +++ b/packages/core/src/components/Combobox/__tests__/__snapshots__/combobox-snapshot-tests.test.js.snap @@ -10,7 +10,7 @@ exports[`Combobox renders correctly when disabled 1`] = ` className="comboboxList" role="listbox" style={ - Object { + { "maxHeight": undefined, } } @@ -70,7 +70,7 @@ exports[`Combobox renders correctly with another noResultsMessage 1`] = ` className="comboboxList" role="listbox" style={ - Object { + { "maxHeight": undefined, } } @@ -130,7 +130,7 @@ exports[`Combobox renders correctly with autoFocus 1`] = ` className="comboboxList" role="listbox" style={ - Object { + { "maxHeight": undefined, } } @@ -190,7 +190,7 @@ exports[`Combobox renders correctly with className 1`] = ` className="comboboxList" role="listbox" style={ - Object { + { "maxHeight": undefined, } } @@ -250,7 +250,7 @@ exports[`Combobox renders correctly with custom search icon 1`] = ` className="comboboxList" role="listbox" style={ - Object { + { "maxHeight": undefined, } } @@ -310,7 +310,7 @@ exports[`Combobox renders correctly with divider 1`] = ` className="comboboxList" role="listbox" style={ - Object { + { "maxHeight": undefined, } } @@ -384,7 +384,7 @@ exports[`Combobox renders correctly with divider 1`] = ` onMouseEnter={[Function]} onMouseLeave={[Function]} style={ - Object { + { "height": 32, } } @@ -402,7 +402,7 @@ exports[`Combobox renders correctly with divider 1`] = `
{ diff --git a/packages/core/src/components/EditableInput/__tests__/__snapshots__/editableInput.jest.js.snap b/packages/core/src/components/EditableInput/__tests__/__snapshots__/editableInput.test.js.snap similarity index 100% rename from packages/core/src/components/EditableInput/__tests__/__snapshots__/editableInput.jest.js.snap rename to packages/core/src/components/EditableInput/__tests__/__snapshots__/editableInput.test.js.snap diff --git a/packages/core/src/components/EditableInput/__tests__/editableInput.jest.js b/packages/core/src/components/EditableInput/__tests__/editableInput.test.js similarity index 100% rename from packages/core/src/components/EditableInput/__tests__/editableInput.jest.js rename to packages/core/src/components/EditableInput/__tests__/editableInput.test.js diff --git a/packages/core/src/components/EditableText/__tests__/editableText-tests.jest.tsx b/packages/core/src/components/EditableText/__tests__/editableText-tests.test.tsx similarity index 99% rename from packages/core/src/components/EditableText/__tests__/editableText-tests.jest.tsx rename to packages/core/src/components/EditableText/__tests__/editableText-tests.test.tsx index 803915c7b1..6b565d0489 100644 --- a/packages/core/src/components/EditableText/__tests__/editableText-tests.jest.tsx +++ b/packages/core/src/components/EditableText/__tests__/editableText-tests.test.tsx @@ -1,6 +1,5 @@ import React from "react"; import { fireEvent, render, cleanup, screen, waitFor } from "@testing-library/react"; -import "@testing-library/jest-dom"; import EditableText from "../EditableText"; import { within } from "@storybook/testing-library"; diff --git a/packages/core/src/components/ExpandCollapse/__tests__/__snapshots__/expandCollapse.jest.js.snap b/packages/core/src/components/ExpandCollapse/__tests__/__snapshots__/expandCollapse.test.js.snap similarity index 100% rename from packages/core/src/components/ExpandCollapse/__tests__/__snapshots__/expandCollapse.jest.js.snap rename to packages/core/src/components/ExpandCollapse/__tests__/__snapshots__/expandCollapse.test.js.snap diff --git a/packages/core/src/components/ExpandCollapse/__tests__/expandCollapse.jest.js b/packages/core/src/components/ExpandCollapse/__tests__/expandCollapse.test.js similarity index 98% rename from packages/core/src/components/ExpandCollapse/__tests__/expandCollapse.jest.js rename to packages/core/src/components/ExpandCollapse/__tests__/expandCollapse.test.js index b84f38d175..049db4fbc1 100644 --- a/packages/core/src/components/ExpandCollapse/__tests__/expandCollapse.jest.js +++ b/packages/core/src/components/ExpandCollapse/__tests__/expandCollapse.test.js @@ -2,7 +2,6 @@ import React from "react"; import renderer from "react-test-renderer"; import { render, fireEvent, screen } from "@testing-library/react"; import ExpandCollapse from "../ExpandCollapse"; -import "@testing-library/jest-dom"; describe("ExpandCollapse", () => { it("renders correctly with empty props", () => { diff --git a/packages/core/src/components/Flex/__tests__/__snapshots__/flex-snapshot-tests.jest.js.snap b/packages/core/src/components/Flex/__tests__/__snapshots__/flex-snapshot-tests.test.js.snap similarity index 95% rename from packages/core/src/components/Flex/__tests__/__snapshots__/flex-snapshot-tests.jest.js.snap rename to packages/core/src/components/Flex/__tests__/__snapshots__/flex-snapshot-tests.test.js.snap index 5f2259f8d4..195573aeb8 100644 --- a/packages/core/src/components/Flex/__tests__/__snapshots__/flex-snapshot-tests.jest.js.snap +++ b/packages/core/src/components/Flex/__tests__/__snapshots__/flex-snapshot-tests.test.js.snap @@ -4,7 +4,7 @@ exports[`Flex renders correctly Horizontal display with align 1`] = `
{ afterEach(() => { diff --git a/packages/core/src/components/LegacyEditableHeading/__tests__/__snapshots__/LegacyEditableHeading.jest.tsx.snap b/packages/core/src/components/LegacyEditableHeading/__tests__/__snapshots__/LegacyEditableHeading.test.tsx.snap similarity index 100% rename from packages/core/src/components/LegacyEditableHeading/__tests__/__snapshots__/LegacyEditableHeading.jest.tsx.snap rename to packages/core/src/components/LegacyEditableHeading/__tests__/__snapshots__/LegacyEditableHeading.test.tsx.snap diff --git a/packages/core/src/components/LegacyHeading/__tests__/__snapshots__/legacy-heading.jest.js.snap b/packages/core/src/components/LegacyHeading/__tests__/__snapshots__/legacy-heading.test.js.snap similarity index 99% rename from packages/core/src/components/LegacyHeading/__tests__/__snapshots__/legacy-heading.jest.js.snap rename to packages/core/src/components/LegacyHeading/__tests__/__snapshots__/legacy-heading.test.js.snap index f9bb6952ca..a9d3a189e2 100644 --- a/packages/core/src/components/LegacyHeading/__tests__/__snapshots__/legacy-heading.jest.js.snap +++ b/packages/core/src/components/LegacyHeading/__tests__/__snapshots__/legacy-heading.test.js.snap @@ -6,7 +6,7 @@ exports[`Renders correctly renders correctly with custom color 1`] = ` className="headingComponent elementTypeH1 sizeLarge singleLineEllipsis" data-testid="heading" style={ - Object { + { "color": "blue", } } diff --git a/packages/core/src/components/LegacyHeading/__tests__/legacy-heading.jest.js b/packages/core/src/components/LegacyHeading/__tests__/legacy-heading.test.js similarity index 100% rename from packages/core/src/components/LegacyHeading/__tests__/legacy-heading.jest.js rename to packages/core/src/components/LegacyHeading/__tests__/legacy-heading.test.js diff --git a/packages/core/src/components/LegacySearch/__tests__/__snapshots__/search-snapshot-tests.jest.js.snap b/packages/core/src/components/LegacySearch/__tests__/__snapshots__/search-snapshot-tests.test.js.snap similarity index 100% rename from packages/core/src/components/LegacySearch/__tests__/__snapshots__/search-snapshot-tests.jest.js.snap rename to packages/core/src/components/LegacySearch/__tests__/__snapshots__/search-snapshot-tests.test.js.snap diff --git a/packages/core/src/components/LegacySearch/__tests__/search-snapshot-tests.jest.js b/packages/core/src/components/LegacySearch/__tests__/search-snapshot-tests.test.js similarity index 100% rename from packages/core/src/components/LegacySearch/__tests__/search-snapshot-tests.jest.js rename to packages/core/src/components/LegacySearch/__tests__/search-snapshot-tests.test.js diff --git a/packages/core/src/components/Link/__tests__/__snapshots__/link-snapshot-tests.jest.tsx.snap b/packages/core/src/components/Link/__tests__/__snapshots__/link-snapshot-tests.test.tsx.snap similarity index 100% rename from packages/core/src/components/Link/__tests__/__snapshots__/link-snapshot-tests.jest.tsx.snap rename to packages/core/src/components/Link/__tests__/__snapshots__/link-snapshot-tests.test.tsx.snap diff --git a/packages/core/src/components/Link/__tests__/link-snapshot-tests.jest.tsx b/packages/core/src/components/Link/__tests__/link-snapshot-tests.test.tsx similarity index 100% rename from packages/core/src/components/Link/__tests__/link-snapshot-tests.jest.tsx rename to packages/core/src/components/Link/__tests__/link-snapshot-tests.test.tsx diff --git a/packages/core/src/components/Link/__tests__/link-tests.jest.tsx b/packages/core/src/components/Link/__tests__/link-tests.test.tsx similarity index 100% rename from packages/core/src/components/Link/__tests__/link-tests.jest.tsx rename to packages/core/src/components/Link/__tests__/link-tests.test.tsx diff --git a/packages/core/src/components/List/__tests__/__snapshots__/list.jest.js.snap b/packages/core/src/components/List/__tests__/__snapshots__/list.test.js.snap similarity index 100% rename from packages/core/src/components/List/__tests__/__snapshots__/list.jest.js.snap rename to packages/core/src/components/List/__tests__/__snapshots__/list.test.js.snap diff --git a/packages/core/src/components/List/__tests__/list.jest.js b/packages/core/src/components/List/__tests__/list.test.js similarity index 98% rename from packages/core/src/components/List/__tests__/list.jest.js rename to packages/core/src/components/List/__tests__/list.test.js index ac47e3d80b..4cfc31bc8e 100644 --- a/packages/core/src/components/List/__tests__/list.jest.js +++ b/packages/core/src/components/List/__tests__/list.test.js @@ -2,7 +2,6 @@ import React from "react"; import renderer from "react-test-renderer"; import { render } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; -import "@testing-library/jest-dom"; import List from "../List"; import ListItem from "../../ListItem/ListItem"; diff --git a/packages/core/src/components/ListItem/__tests__/__snapshots__/listItem.jest.js.snap b/packages/core/src/components/ListItem/__tests__/__snapshots__/listItem.test.js.snap similarity index 100% rename from packages/core/src/components/ListItem/__tests__/__snapshots__/listItem.jest.js.snap rename to packages/core/src/components/ListItem/__tests__/__snapshots__/listItem.test.js.snap diff --git a/packages/core/src/components/ListItem/__tests__/listItem.jest.js b/packages/core/src/components/ListItem/__tests__/listItem.test.js similarity index 100% rename from packages/core/src/components/ListItem/__tests__/listItem.jest.js rename to packages/core/src/components/ListItem/__tests__/listItem.test.js diff --git a/packages/core/src/components/ListItemAvatar/__tests__/__snapshots__/listItemAvatar.jest.js.snap b/packages/core/src/components/ListItemAvatar/__tests__/__snapshots__/listItemAvatar.test.js.snap similarity index 91% rename from packages/core/src/components/ListItemAvatar/__tests__/__snapshots__/listItemAvatar.jest.js.snap rename to packages/core/src/components/ListItemAvatar/__tests__/__snapshots__/listItemAvatar.test.js.snap index b09489d6cd..491f2b836c 100644 --- a/packages/core/src/components/ListItemAvatar/__tests__/__snapshots__/listItemAvatar.jest.js.snap +++ b/packages/core/src/components/ListItemAvatar/__tests__/__snapshots__/listItemAvatar.test.js.snap @@ -8,13 +8,13 @@ exports[`renders correctly with empty props 1`] = `
{ const interval = setInterval(performIndicatorStateTransition, 2000); diff --git a/packages/core/src/components/MultiStepIndicator/__tests__/__snapshots__/multiStepIndicator-snapshot-tests.jest.tsx.snap b/packages/core/src/components/MultiStepIndicator/__tests__/__snapshots__/multiStepIndicator-snapshot-tests.test.tsx.snap similarity index 100% rename from packages/core/src/components/MultiStepIndicator/__tests__/__snapshots__/multiStepIndicator-snapshot-tests.jest.tsx.snap rename to packages/core/src/components/MultiStepIndicator/__tests__/__snapshots__/multiStepIndicator-snapshot-tests.test.tsx.snap diff --git a/packages/core/src/components/MultiStepIndicator/__tests__/multiStepIndicator-snapshot-tests.jest.tsx b/packages/core/src/components/MultiStepIndicator/__tests__/multiStepIndicator-snapshot-tests.test.tsx similarity index 100% rename from packages/core/src/components/MultiStepIndicator/__tests__/multiStepIndicator-snapshot-tests.jest.tsx rename to packages/core/src/components/MultiStepIndicator/__tests__/multiStepIndicator-snapshot-tests.test.tsx diff --git a/packages/core/src/components/MultiStepIndicator/__tests__/multiStepIndicator-tests.jest.tsx b/packages/core/src/components/MultiStepIndicator/__tests__/multiStepIndicator-tests.test.tsx similarity index 100% rename from packages/core/src/components/MultiStepIndicator/__tests__/multiStepIndicator-tests.jest.tsx rename to packages/core/src/components/MultiStepIndicator/__tests__/multiStepIndicator-tests.test.tsx diff --git a/packages/core/src/components/ProgressBars/LinearProgressBar/__tests__/__snapshots__/linearProgressBar-snapshot-tests.jest.js.snap b/packages/core/src/components/ProgressBars/LinearProgressBar/__tests__/__snapshots__/linearProgressBar-snapshot-tests.test.js.snap similarity index 96% rename from packages/core/src/components/ProgressBars/LinearProgressBar/__tests__/__snapshots__/linearProgressBar-snapshot-tests.jest.js.snap rename to packages/core/src/components/ProgressBars/LinearProgressBar/__tests__/__snapshots__/linearProgressBar-snapshot-tests.test.js.snap index 7d6337e26b..27d105fd57 100644 --- a/packages/core/src/components/ProgressBars/LinearProgressBar/__tests__/__snapshots__/linearProgressBar-snapshot-tests.jest.js.snap +++ b/packages/core/src/components/ProgressBars/LinearProgressBar/__tests__/__snapshots__/linearProgressBar-snapshot-tests.test.js.snap @@ -16,7 +16,7 @@ exports[`LinearProgressBar renders correctly with barStyle 1`] = ` data-testid="bar-primary" role="progressbar" style={ - Object { + { "width": "20%", } } @@ -52,7 +52,7 @@ exports[`LinearProgressBar renders correctly with full width progress bar 1`] = data-testid="bar-primary" role="progressbar" style={ - Object { + { "width": "20%", } } @@ -77,7 +77,7 @@ exports[`LinearProgressBar renders correctly with indicateProgress 1`] = ` data-testid="bar-primary" role="progressbar" style={ - Object { + { "width": "20%", } } @@ -108,7 +108,7 @@ exports[`LinearProgressBar renders correctly with min 1`] = ` data-testid="bar-primary" role="progressbar" style={ - Object { + { "width": "11.11111111111111%", } } @@ -134,7 +134,7 @@ exports[`LinearProgressBar renders correctly with multi and multiValues 1`] = ` id="bar_green_0" role="progressbar" style={ - Object { + { "backgroundColor": "green", "width": "100%", } @@ -149,7 +149,7 @@ exports[`LinearProgressBar renders correctly with multi and multiValues 1`] = ` id="bar_yellow_1" role="progressbar" style={ - Object { + { "backgroundColor": "yellow", "width": "75%", } @@ -164,7 +164,7 @@ exports[`LinearProgressBar renders correctly with multi and multiValues 1`] = ` id="bar_red_2" role="progressbar" style={ - Object { + { "backgroundColor": "red", "width": "25%", } @@ -190,7 +190,7 @@ exports[`LinearProgressBar renders correctly with size 1`] = ` data-testid="bar-primary" role="progressbar" style={ - Object { + { "width": "20%", } } @@ -215,7 +215,7 @@ exports[`LinearProgressBar renders correctly with value 1`] = ` data-testid="bar-primary" role="progressbar" style={ - Object { + { "width": "20%", } } @@ -241,7 +241,7 @@ exports[`LinearProgressBar renders correctly with valueSecondary 1`] = ` data-testid="bar-secondary" role="progressbar" style={ - Object { + { "width": "40%", } } @@ -254,7 +254,7 @@ exports[`LinearProgressBar renders correctly with valueSecondary 1`] = ` data-testid="bar-primary" role="progressbar" style={ - Object { + { "width": "20%", } } diff --git a/packages/core/src/components/ProgressBars/LinearProgressBar/__tests__/linearProgressBar-snapshot-tests.jest.js b/packages/core/src/components/ProgressBars/LinearProgressBar/__tests__/linearProgressBar-snapshot-tests.test.js similarity index 100% rename from packages/core/src/components/ProgressBars/LinearProgressBar/__tests__/linearProgressBar-snapshot-tests.jest.js rename to packages/core/src/components/ProgressBars/LinearProgressBar/__tests__/linearProgressBar-snapshot-tests.test.js diff --git a/packages/core/src/components/ProgressBars/LinearProgressBar/__tests__/linearProgressBar-tests.jest.js b/packages/core/src/components/ProgressBars/LinearProgressBar/__tests__/linearProgressBar-tests.test.js similarity index 100% rename from packages/core/src/components/ProgressBars/LinearProgressBar/__tests__/linearProgressBar-tests.jest.js rename to packages/core/src/components/ProgressBars/LinearProgressBar/__tests__/linearProgressBar-tests.test.js diff --git a/packages/core/src/components/RadioButton/__tests__/__snapshots__/radioButton-snapshot-tests.jest.tsx.snap b/packages/core/src/components/RadioButton/__tests__/__snapshots__/radioButton-snapshot-tests.test.tsx.snap similarity index 100% rename from packages/core/src/components/RadioButton/__tests__/__snapshots__/radioButton-snapshot-tests.jest.tsx.snap rename to packages/core/src/components/RadioButton/__tests__/__snapshots__/radioButton-snapshot-tests.test.tsx.snap diff --git a/packages/core/src/components/RadioButton/__tests__/radioButton-snapshot-tests.jest.tsx b/packages/core/src/components/RadioButton/__tests__/radioButton-snapshot-tests.test.tsx similarity index 100% rename from packages/core/src/components/RadioButton/__tests__/radioButton-snapshot-tests.jest.tsx rename to packages/core/src/components/RadioButton/__tests__/radioButton-snapshot-tests.test.tsx diff --git a/packages/core/src/components/RadioButton/__tests__/radioButton-tests.jest.tsx b/packages/core/src/components/RadioButton/__tests__/radioButton-tests.test.tsx similarity index 98% rename from packages/core/src/components/RadioButton/__tests__/radioButton-tests.jest.tsx rename to packages/core/src/components/RadioButton/__tests__/radioButton-tests.test.tsx index baf6a3f509..d9eb78c45e 100644 --- a/packages/core/src/components/RadioButton/__tests__/radioButton-tests.jest.tsx +++ b/packages/core/src/components/RadioButton/__tests__/radioButton-tests.test.tsx @@ -1,4 +1,3 @@ -import "@testing-library/jest-dom"; import { fireEvent, render, cleanup, screen } from "@testing-library/react"; import RadioButton from "../RadioButton"; diff --git a/packages/core/src/components/Refable/__tests__/Refable.jest.tsx b/packages/core/src/components/Refable/__tests__/Refable.test.tsx similarity index 100% rename from packages/core/src/components/Refable/__tests__/Refable.jest.tsx rename to packages/core/src/components/Refable/__tests__/Refable.test.tsx diff --git a/packages/core/src/components/ResponsiveList/__tests__/__snapshots__/responsiveList.jest.js.snap b/packages/core/src/components/ResponsiveList/__tests__/__snapshots__/responsiveList.test.js.snap similarity index 100% rename from packages/core/src/components/ResponsiveList/__tests__/__snapshots__/responsiveList.jest.js.snap rename to packages/core/src/components/ResponsiveList/__tests__/__snapshots__/responsiveList.test.js.snap diff --git a/packages/core/src/components/ResponsiveList/__tests__/responsiveList.jest.js b/packages/core/src/components/ResponsiveList/__tests__/responsiveList.test.js similarity index 100% rename from packages/core/src/components/ResponsiveList/__tests__/responsiveList.jest.js rename to packages/core/src/components/ResponsiveList/__tests__/responsiveList.test.js diff --git a/packages/core/src/components/Search/__tests__/Search.jest.tsx b/packages/core/src/components/Search/__tests__/Search.test.tsx similarity index 99% rename from packages/core/src/components/Search/__tests__/Search.jest.tsx rename to packages/core/src/components/Search/__tests__/Search.test.tsx index a65aaea3af..7f46cd7d90 100644 --- a/packages/core/src/components/Search/__tests__/Search.jest.tsx +++ b/packages/core/src/components/Search/__tests__/Search.test.tsx @@ -1,6 +1,5 @@ import React from "react"; import { render } from "@testing-library/react"; -import "@testing-library/jest-dom"; import userEvent from "@testing-library/user-event"; import Search from "../Search"; import { SearchProps } from "../Search.types"; diff --git a/packages/core/src/components/Skeleton/__tests__/__snapshots__/skeleton-snapshot-tests.jest.js.snap b/packages/core/src/components/Skeleton/__tests__/__snapshots__/skeleton-snapshot-tests.test.js.snap similarity index 95% rename from packages/core/src/components/Skeleton/__tests__/__snapshots__/skeleton-snapshot-tests.jest.js.snap rename to packages/core/src/components/Skeleton/__tests__/__snapshots__/skeleton-snapshot-tests.test.js.snap index 0a4612b860..1cb276dff2 100644 --- a/packages/core/src/components/Skeleton/__tests__/__snapshots__/skeleton-snapshot-tests.jest.js.snap +++ b/packages/core/src/components/Skeleton/__tests__/__snapshots__/skeleton-snapshot-tests.test.js.snap @@ -8,7 +8,7 @@ exports[`Skeleton renders correctly renders correctly when circle with empty pro
{ const additionalDelay = 200; beforeEach(() => { - // @ts-ignore - jest.useFakeTimers("modern"); + jest.useFakeTimers(); hookResult = renderHook(() => useDebounceEvent({ diff --git a/packages/core/src/hooks/__tests__/useEventListener.jest.ts b/packages/core/src/hooks/__tests__/useEventListener.test.ts similarity index 100% rename from packages/core/src/hooks/__tests__/useEventListener.jest.ts rename to packages/core/src/hooks/__tests__/useEventListener.test.ts diff --git a/packages/core/src/hooks/__tests__/useKeyEvent.jest.ts b/packages/core/src/hooks/__tests__/useKeyEvent.test.ts similarity index 100% rename from packages/core/src/hooks/__tests__/useKeyEvent.jest.ts rename to packages/core/src/hooks/__tests__/useKeyEvent.test.ts diff --git a/packages/core/src/hooks/__tests__/useMergeRefs.jest.tsx b/packages/core/src/hooks/__tests__/useMergeRefs.test.tsx similarity index 100% rename from packages/core/src/hooks/__tests__/useMergeRefs.jest.tsx rename to packages/core/src/hooks/__tests__/useMergeRefs.test.tsx diff --git a/packages/core/src/hooks/useActiveDescendantListFocus/__tests__/useActiveDescendantListFocus.jest.js b/packages/core/src/hooks/useActiveDescendantListFocus/__tests__/useActiveDescendantListFocus.test.js similarity index 100% rename from packages/core/src/hooks/useActiveDescendantListFocus/__tests__/useActiveDescendantListFocus.jest.js rename to packages/core/src/hooks/useActiveDescendantListFocus/__tests__/useActiveDescendantListFocus.test.js diff --git a/packages/core/src/hooks/useClickOutside/__tests__/useClickOutside.jest.ts b/packages/core/src/hooks/useClickOutside/__tests__/useClickOutside.test.ts similarity index 100% rename from packages/core/src/hooks/useClickOutside/__tests__/useClickOutside.jest.ts rename to packages/core/src/hooks/useClickOutside/__tests__/useClickOutside.test.ts diff --git a/packages/core/src/hooks/useDisableScroll/__tests__/useDisableScroll.jest.ts b/packages/core/src/hooks/useDisableScroll/__tests__/useDisableScroll.test.ts similarity index 100% rename from packages/core/src/hooks/useDisableScroll/__tests__/useDisableScroll.jest.ts rename to packages/core/src/hooks/useDisableScroll/__tests__/useDisableScroll.test.ts diff --git a/packages/core/src/hooks/useGridKeyboardNavigation/__tests__/gridKeyboardNavigationHelper.jest.js b/packages/core/src/hooks/useGridKeyboardNavigation/__tests__/gridKeyboardNavigationHelper.test.js similarity index 100% rename from packages/core/src/hooks/useGridKeyboardNavigation/__tests__/gridKeyboardNavigationHelper.jest.js rename to packages/core/src/hooks/useGridKeyboardNavigation/__tests__/gridKeyboardNavigationHelper.test.js diff --git a/packages/core/src/hooks/useGridKeyboardNavigation/__tests__/useGridKeyboardNavigation.jest.js b/packages/core/src/hooks/useGridKeyboardNavigation/__tests__/useGridKeyboardNavigation.test.js similarity index 100% rename from packages/core/src/hooks/useGridKeyboardNavigation/__tests__/useGridKeyboardNavigation.jest.js rename to packages/core/src/hooks/useGridKeyboardNavigation/__tests__/useGridKeyboardNavigation.test.js diff --git a/packages/core/src/hooks/useSetFocus/__tests__/useSetFocus.jest.js b/packages/core/src/hooks/useSetFocus/__tests__/useSetFocus.test.js similarity index 100% rename from packages/core/src/hooks/useSetFocus/__tests__/useSetFocus.jest.js rename to packages/core/src/hooks/useSetFocus/__tests__/useSetFocus.test.js diff --git a/packages/core/src/hooks/useSwitch/__tests__/useSwitch.jest.ts b/packages/core/src/hooks/useSwitch/__tests__/useSwitch.test.ts similarity index 100% rename from packages/core/src/hooks/useSwitch/__tests__/useSwitch.jest.ts rename to packages/core/src/hooks/useSwitch/__tests__/useSwitch.test.ts diff --git a/packages/storybook-blocks/.eslintrc.js b/packages/storybook-blocks/.eslintrc.js index 137d74001b..5b23350a6e 100644 --- a/packages/storybook-blocks/.eslintrc.js +++ b/packages/storybook-blocks/.eslintrc.js @@ -39,7 +39,7 @@ const commonExtends = ['plugin:react/recommended', 'plugin:prettier/recommended' module.exports = { overrides: [ { - files: ['*.jest.js', 'jest.setup.js', 'jest.init.js'], + files: ['*.test.js', 'jest.init.js'], env: { jest: true, 'jest/globals': true, @@ -76,7 +76,7 @@ module.exports = { }, settings: { jest: { - version: 27, + version: 29, }, react: { version: 'detect', diff --git a/packages/storybook-blocks/jest.config.js b/packages/storybook-blocks/jest.config.ts similarity index 89% rename from packages/storybook-blocks/jest.config.js rename to packages/storybook-blocks/jest.config.ts index cbb9496d9f..c8bad5df28 100644 --- a/packages/storybook-blocks/jest.config.js +++ b/packages/storybook-blocks/jest.config.ts @@ -12,8 +12,8 @@ module.exports = { }, modulePathIgnorePatterns: ['/dist', '/build'], preset: 'ts-jest/presets/default', - testEnvironment: 'jsdom', - testMatch: ['**/__tests__/**/*.jest.[jt]s?(x)'], + testEnvironment: 'jest-environment-jsdom', + testMatch: ['**/__tests__/**/*.test.[jt]s?(x)'], transformIgnorePatterns: ['/node_modules/(?!monday-ui-react-core)'], transform: { '^.+\\.jsx?$': 'babel-jest', diff --git a/packages/storybook-blocks/package.json b/packages/storybook-blocks/package.json index deaea534e9..73002db3c6 100644 --- a/packages/storybook-blocks/package.json +++ b/packages/storybook-blocks/package.json @@ -39,8 +39,7 @@ "lint:fix": "eslint \"./src/**/*.{js,jsx,ts,tsx}\" --fix", "prettier:fix": "prettier --write \"{,!(node_modules)/**/}*.{js,jsx,ts,tsx}\"", "test": "jest --passWithNoTests", - "test:update": "yarn test -- -u", - "test:stories": "testing=storybook TEST_END_FILES=jest-story jest --passWithNoTests", + "test:update": "yarn test -u", "storybook": "storybook dev -p 7012", "build-storybook": "storybook build" }, @@ -95,8 +94,8 @@ "eslint-plugin-storybook": "^0.6.15", "execa": "^7.2.0", "identity-obj-proxy": "^3.0.0", - "jest": "^29.6.2", - "jest-environment-jsdom": "^29.6.2", + "jest": "^29.7.0", + "jest-environment-jsdom": "^29.7.0", "mini-css-extract-plugin": "^2.6.0", "mocha": "^10.2.0", "postcss": "^8.4.27", @@ -113,7 +112,7 @@ "sass-loader": "^13.3.2", "storybook": "^7.5.0", "style-loader": "^3.3.3", - "ts-jest": "^29.1.1", + "ts-jest": "^29.1.2", "ts-loader": "^9.4.4", "typescript": "^5.1.6", "typescript-plugin-css-modules": "^5.0.1" @@ -121,15 +120,5 @@ "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" - }, - "changelog": { - "labels": { - "PR: Bugfix 🐛": "Bug Fixes", - "PR: New Feature 🕹": "New Features", - "PR: Dependencies 🛠": "Dependency Upgrades", - "PR: Documentation 📖": "Documentation", - "PR: Internal 🏠": "Internal Changes", - "PR: Breaking Changes 💥": "Breaking Changes" - } } } diff --git a/packages/style/scripts/__tests__/__snapshots__/validate-icons-colors.jest.js.snap b/packages/style/scripts/__tests__/__snapshots__/validate-icons-colors.test.js.snap similarity index 100% rename from packages/style/scripts/__tests__/__snapshots__/validate-icons-colors.jest.js.snap rename to packages/style/scripts/__tests__/__snapshots__/validate-icons-colors.test.js.snap diff --git a/packages/style/scripts/__tests__/validate-icons-colors.jest.js b/packages/style/scripts/__tests__/validate-icons-colors.test.js similarity index 100% rename from packages/style/scripts/__tests__/validate-icons-colors.jest.js rename to packages/style/scripts/__tests__/validate-icons-colors.test.js diff --git a/yarn.lock b/yarn.lock index b45d2fac21..45cf54a5a0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1498,6 +1498,13 @@ resolved "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== +"@cspotcode/source-map-support@^0.8.0": + version "0.8.1" + resolved "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" + integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw== + dependencies: + "@jridgewell/trace-mapping" "0.3.9" + "@csstools/selector-specificity@^2.0.2": version "2.2.0" resolved "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-2.2.0.tgz#2cbcf822bf3764c9658c4d2e568bd0c0cb748016" @@ -2247,7 +2254,7 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.24" -"@jridgewell/resolve-uri@^3.1.0": +"@jridgewell/resolve-uri@^3.0.3", "@jridgewell/resolve-uri@^3.1.0": version "3.1.2" resolved "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== @@ -2270,6 +2277,14 @@ resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== +"@jridgewell/trace-mapping@0.3.9": + version "0.3.9" + resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" + integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== + dependencies: + "@jridgewell/resolve-uri" "^3.0.3" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.20", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": version "0.3.25" resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" @@ -3607,28 +3622,6 @@ "@storybook/global" "^5.0.0" ts-dedent "^2.0.0" -"@storybook/addon-storyshots@^7.5.3": - version "7.6.17" - resolved "https://registry.npmjs.org/@storybook/addon-storyshots/-/addon-storyshots-7.6.17.tgz#26c9ab2e4347c5d4931711ad898596bae7ef0d8e" - integrity sha512-DEezPyRLbdXTUTydEPUcv/7uZSeQvUqlNuBbVVvxm71ZYam7lS725ywX2m+6vJH38JkurIEXSWiG94XM13fpBw== - dependencies: - "@jest/transform" "^29.3.1" - "@storybook/babel-plugin-require-context-hook" "1.0.1" - "@storybook/client-api" "7.6.17" - "@storybook/core-common" "7.6.17" - "@storybook/core-webpack" "7.6.17" - "@storybook/global" "^5.0.0" - "@storybook/preview-api" "7.6.17" - "@storybook/types" "7.6.17" - "@types/jest-specific-snapshot" "^0.5.6" - glob "^10.0.0" - jest-specific-snapshot "^8.0.0" - preact-render-to-string "^5.1.19" - pretty-format "^29.0.0" - react-test-renderer "^16.8.0 || ^17.0.0 || ^18.0.0" - read-pkg-up "^7.0.1" - ts-dedent "^2.0.0" - "@storybook/addon-styling-webpack@^0.0.5": version "0.0.5" resolved "https://registry.npmjs.org/@storybook/addon-styling-webpack/-/addon-styling-webpack-0.0.5.tgz#714c713cf8c57ed1f674ebc80bc16cb41b9bdf1b" @@ -3664,11 +3657,6 @@ "@storybook/preview-api" "7.6.17" "@storybook/types" "7.6.17" -"@storybook/babel-plugin-require-context-hook@1.0.1": - version "1.0.1" - resolved "https://registry.npmjs.org/@storybook/babel-plugin-require-context-hook/-/babel-plugin-require-context-hook-1.0.1.tgz#0a4ec9816f6c7296ebc97dd8de3d2b7ae76f2e26" - integrity sha512-WM4vjgSVi8epvGiYfru7BtC3f0tGwNs7QK3Uc4xQn4t5hHQvISnCqbNrHdDYmNW56Do+bBztE8SwP6NGUvd7ww== - "@storybook/blocks@7.6.17", "@storybook/blocks@^7.5.0", "@storybook/blocks@^7.5.3": version "7.6.17" resolved "https://registry.npmjs.org/@storybook/blocks/-/blocks-7.6.17.tgz#1329885be158f08104f806e5f23b7eb7f99c8b1c" @@ -3822,14 +3810,6 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/client-api@7.6.17": - version "7.6.17" - resolved "https://registry.npmjs.org/@storybook/client-api/-/client-api-7.6.17.tgz#2d7eba528450881a2b72d06e583b8206ffca3178" - integrity sha512-rsxKBRLtUmBXbxG79Pf1GzUuMDMsFdhNR/a5k7kIA/mlEsvWD8are/aH/zk1oLr7+5QOqEkiXLL6+Erry7dzXA== - dependencies: - "@storybook/client-logger" "7.6.17" - "@storybook/preview-api" "7.6.17" - "@storybook/client-logger@7.6.17": version "7.6.17" resolved "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-7.6.17.tgz#5031c47b7df8d8792fe9dfed5828222f515e5803" @@ -4468,6 +4448,26 @@ resolved "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== +"@tsconfig/node10@^1.0.7": + version "1.0.11" + resolved "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz#6ee46400685f130e278128c7b38b7e031ff5b2f2" + integrity sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw== + +"@tsconfig/node12@^1.0.7": + version "1.0.11" + resolved "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d" + integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag== + +"@tsconfig/node14@^1.0.0": + version "1.0.3" + resolved "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1" + integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow== + +"@tsconfig/node16@^1.0.2": + version "1.0.4" + resolved "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz#0b92dcc0cc1c81f6f306a381f28e31b1a56536e9" + integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA== + "@tufjs/canonical-json@1.0.0": version "1.0.0" resolved "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-1.0.0.tgz#eade9fd1f537993bc1f0949f3aea276ecc4fab31" @@ -4744,13 +4744,6 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/jest-specific-snapshot@^0.5.6": - version "0.5.9" - resolved "https://registry.npmjs.org/@types/jest-specific-snapshot/-/jest-specific-snapshot-0.5.9.tgz#dc49a10b789533a79dd0736006fc2e6110e58a8d" - integrity sha512-NPcItjVhJq3x6MWR6QNi92n5orOkcTvuQ0E8nqK2WZN18a7O93D2dcNL0x+eSNxmNSIbgfgCJ5eUScjACPCWsg== - dependencies: - "@types/jest" "*" - "@types/jest@*": version "29.5.12" resolved "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz#7f7dc6eb4cf246d2474ed78744b05d06ce025544" @@ -5672,7 +5665,7 @@ acorn-walk@^7.1.1, acorn-walk@^7.2.0: resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== -acorn-walk@^8.0.0, acorn-walk@^8.0.2: +acorn-walk@^8.0.0, acorn-walk@^8.0.2, acorn-walk@^8.1.1: version "8.3.2" resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz#7703af9415f1b6db9315d6895503862e231d34aa" integrity sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A== @@ -5682,7 +5675,7 @@ acorn@^7.1.1, acorn@^7.4.1: resolved "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== -acorn@^8.0.0, acorn@^8.0.4, acorn@^8.1.0, acorn@^8.11.3, acorn@^8.2.4, acorn@^8.7.1, acorn@^8.8.1, acorn@^8.8.2, acorn@^8.9.0: +acorn@^8.0.0, acorn@^8.0.4, acorn@^8.1.0, acorn@^8.11.3, acorn@^8.2.4, acorn@^8.4.1, acorn@^8.7.1, acorn@^8.8.1, acorn@^8.8.2, acorn@^8.9.0: version "8.11.3" resolved "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== @@ -5903,6 +5896,11 @@ are-we-there-yet@^3.0.0: delegates "^1.0.0" readable-stream "^3.6.0" +arg@^4.1.0: + version "4.1.3" + resolved "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" + integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== + argparse@^1.0.7: version "1.0.10" resolved "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" @@ -7872,6 +7870,11 @@ create-jest@^29.7.0: jest-util "^29.7.0" prompts "^2.0.1" +create-require@^1.1.0: + version "1.1.1" + resolved "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" + integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== + crelt@^1.0.5: version "1.0.6" resolved "https://registry.npmjs.org/crelt/-/crelt-1.0.6.tgz#7cc898ea74e190fb6ef9dae57f8f81cf7302df72" @@ -8461,6 +8464,11 @@ diff@^1.3.2: resolved "https://registry.npmjs.org/diff/-/diff-1.4.0.tgz#7f28d2eb9ee7b15a97efd89ce63dcfdaa3ccbabf" integrity sha512-VzVc42hMZbYU9Sx/ltb7KYuQ6pqAw+cbFWVy4XKdkuEL2CFaRLGEnISPs7YdzaUGpi+CpIqvRmu7hPQ4T7EQ5w== +diff@^4.0.1: + version "4.0.2" + resolved "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" + integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== + diff@^5.0.0: version "5.2.0" resolved "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz#26ded047cd1179b78b9537d5ef725503ce1ae531" @@ -12085,7 +12093,7 @@ jest-environment-jsdom@^27.5.1: jest-util "^27.5.1" jsdom "^16.6.0" -jest-environment-jsdom@^29.6.2: +jest-environment-jsdom@^29.7.0: version "29.7.0" resolved "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-29.7.0.tgz#d206fa3551933c3fd519e5dfdb58a0f5139a837f" integrity sha512-k9iQbsf9OyOfdzWH8HDmrRT0gSIcX+FLNW7IQq94tFX0gynPwqDTW0Ho6iMVNjGz/nb+l/vW3dWM2bbLLpkbXA== @@ -12536,7 +12544,7 @@ jest-snapshot@^27.0.4, jest-snapshot@^27.5.1: pretty-format "^27.5.1" semver "^7.3.2" -jest-snapshot@^29.0.0, jest-snapshot@^29.7.0: +jest-snapshot@^29.7.0: version "29.7.0" resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz#c2c574c3f51865da1bb329036778a69bf88a6be5" integrity sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw== @@ -12562,13 +12570,6 @@ jest-snapshot@^29.0.0, jest-snapshot@^29.7.0: pretty-format "^29.7.0" semver "^7.5.3" -jest-specific-snapshot@^8.0.0: - version "8.0.0" - resolved "https://registry.npmjs.org/jest-specific-snapshot/-/jest-specific-snapshot-8.0.0.tgz#c80af21dcd95b6c46b73f71618f887ef3825a44c" - integrity sha512-PjK0cqPbN3ZGU1pdP78YBEFMsS1AsV28hIHg249E0v/bTtGAJqDm7lNDLj0Cs0O26P2sulbXbgEQU9xLm34WmA== - dependencies: - jest-snapshot "^29.0.0" - jest-util@^26.6.2: version "26.6.2" resolved "https://registry.npmjs.org/jest-util/-/jest-util-26.6.2.tgz#907535dbe4d5a6cb4c47ac9b926f6af29576cbc1" @@ -12581,7 +12582,7 @@ jest-util@^26.6.2: is-ci "^2.0.0" micromatch "^4.0.2" -jest-util@^27.0.0, jest-util@^27.5.1: +jest-util@^27.5.1: version "27.5.1" resolved "https://registry.npmjs.org/jest-util/-/jest-util-27.5.1.tgz#3ba9771e8e31a0b85da48fe0b0891fb86c01c2f9" integrity sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw== @@ -12693,7 +12694,7 @@ jest@^27.5.1: import-local "^3.0.2" jest-cli "^27.5.1" -jest@^29.6.2: +jest@^29.7.0: version "29.7.0" resolved "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz#994676fc24177f088f1c5e3737f5697204ff2613" integrity sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw== @@ -12904,11 +12905,6 @@ json-stringify-safe@^5.0.1: resolved "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== -json5@2.x, json5@^2.1.2, json5@^2.2.2, json5@^2.2.3: - version "2.2.3" - resolved "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" - integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== - json5@^0.5.1: version "0.5.1" resolved "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" @@ -12921,6 +12917,11 @@ json5@^1.0.2: dependencies: minimist "^1.2.0" +json5@^2.1.2, json5@^2.2.2, json5@^2.2.3: + version "2.2.3" + resolved "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + jsonc-parser@3.2.0: version "3.2.0" resolved "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76" @@ -13498,7 +13499,7 @@ make-dir@^3.0.2, make-dir@^3.1.0: dependencies: semver "^6.0.0" -make-error@1.x: +make-error@1.x, make-error@^1.1.1: version "1.3.6" resolved "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== @@ -16104,13 +16105,6 @@ postcss@^8.0.0, postcss@^8.2.14, postcss@^8.4.19, postcss@^8.4.21, postcss@^8.4. picocolors "^1.0.0" source-map-js "^1.2.0" -preact-render-to-string@^5.1.19: - version "5.2.6" - resolved "https://registry.npmjs.org/preact-render-to-string/-/preact-render-to-string-5.2.6.tgz#0ff0c86cd118d30affb825193f18e92bd59d0604" - integrity sha512-JyhErpYOvBV1hEPwIxc/fHWXPfnEGdRKxc8gFdAZ7XV4tlzyzG847XAyEZqoDnynP88akM4eaHcSOzNcLWFguw== - dependencies: - pretty-format "^3.8.0" - preact@^10.8.0: version "10.20.1" resolved "https://registry.npmjs.org/preact/-/preact-10.20.1.tgz#1bc598ab630d8612978f7533da45809a8298542b" @@ -16174,11 +16168,6 @@ pretty-format@^29.0.0, pretty-format@^29.7.0: ansi-styles "^5.0.0" react-is "^18.0.0" -pretty-format@^3.8.0: - version "3.8.0" - resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-3.8.0.tgz#bfbed56d5e9a776645f4b1ff7aa1a3ac4fa3c385" - integrity sha512-WuxUnVtlWL1OfZFQFuqvnvs6MiAGk9UNsBostyBOB0Is9wb5uRESevA6rnl/rkksXaGX3GzZhPup5d6Vp1nFew== - pretty-hrtime@^1.0.3: version "1.0.3" resolved "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1" @@ -16558,11 +16547,6 @@ react-is@18.1.0: resolved "https://registry.npmjs.org/react-is/-/react-is-18.1.0.tgz#61aaed3096d30eacf2a2127118b5b41387d32a67" integrity sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg== -"react-is@^16.12.0 || ^17.0.0 || ^18.0.0", react-is@^18.0.0, react-is@^18.2.0: - version "18.2.0" - resolved "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" - integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== - react-is@^16.13.1, react-is@^16.7.0, react-is@^16.8.6, react-is@^16.9.0: version "16.13.1" resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" @@ -16573,6 +16557,11 @@ react-is@^17.0.0, react-is@^17.0.1: resolved "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== +react-is@^18.0.0: + version "18.2.0" + resolved "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" + integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== + react-live@^4.1.5: version "4.1.6" resolved "https://registry.npmjs.org/react-live/-/react-live-4.1.6.tgz#6d9b7d381bd2b359ca859767501135112b6bab33" @@ -16695,14 +16684,6 @@ react-select@^3.2.0: react-input-autosize "^3.0.0" react-transition-group "^4.3.0" -react-shallow-renderer@^16.15.0: - version "16.15.0" - resolved "https://registry.npmjs.org/react-shallow-renderer/-/react-shallow-renderer-16.15.0.tgz#48fb2cf9b23d23cde96708fe5273a7d3446f4457" - integrity sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA== - dependencies: - object-assign "^4.1.1" - react-is "^16.12.0 || ^17.0.0 || ^18.0.0" - react-style-singleton@^2.2.1: version "2.2.1" resolved "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4" @@ -16722,15 +16703,6 @@ react-test-renderer@^16.14.0: react-is "^16.8.6" scheduler "^0.19.1" -"react-test-renderer@^16.8.0 || ^17.0.0 || ^18.0.0": - version "18.2.0" - resolved "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-18.2.0.tgz#1dd912bd908ff26da5b9fca4fd1c489b9523d37e" - integrity sha512-JWD+aQ0lh2gvh4NM3bBM42Kx+XybOxCpgYK7F8ugAlpaTSnWsX+39Z4XkOykGZAHrjwwTZT3x3KxswVWxHPUqA== - dependencies: - react-is "^18.2.0" - react-shallow-renderer "^16.15.0" - scheduler "^0.23.0" - react-transition-group@^4.3.0, react-transition-group@^4.4.5: version "4.4.5" resolved "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz#e53d4e3f3344da8521489fbef8f2581d42becdd1" @@ -17602,13 +17574,6 @@ scheduler@^0.19.1: loose-envify "^1.1.0" object-assign "^4.1.1" -scheduler@^0.23.0: - version "0.23.0" - resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" - integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== - dependencies: - loose-envify "^1.1.0" - schema-utils@^2.6.5: version "2.7.1" resolved "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz#1ca4f32d1b24c590c203b8e7a50bf0ea4cd394d7" @@ -17642,13 +17607,6 @@ schema-utils@^4.0.0: resolved "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== -semver@7.x, semver@^7.0.0, semver@^7.1.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4: - version "7.6.0" - resolved "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d" - integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== - dependencies: - lru-cache "^6.0.0" - semver@^4.3.1: version "4.3.6" resolved "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz#300bc6e0e86374f7ba61068b5b1ecd57fc6532da" @@ -17659,6 +17617,13 @@ semver@^6.0.0, semver@^6.3.0, semver@^6.3.1: resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== +semver@^7.0.0, semver@^7.1.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4: + version "7.6.0" + resolved "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d" + integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== + dependencies: + lru-cache "^6.0.0" + send@0.18.0: version "0.18.0" resolved "https://registry.npmjs.org/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" @@ -18222,16 +18187,7 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -18317,7 +18273,7 @@ stringify-entities@^4.0.0: character-entities-html4 "^2.0.0" character-entities-legacy "^3.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -18338,13 +18294,6 @@ strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - strip-ansi@^7.0.1: version "7.1.0" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -19056,21 +19005,7 @@ ts-interface-checker@^0.1.9: resolved "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699" integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA== -ts-jest@^27.1.5: - version "27.1.5" - resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-27.1.5.tgz#0ddf1b163fbaae3d5b7504a1e65c914a95cff297" - integrity sha512-Xv6jBQPoBEvBq/5i2TeSG9tt/nqkbpcurrEG1b+2yfBrcJelOZF9Ml6dmyMh7bcW9JyFbRYpR5rxROSlBLTZHA== - dependencies: - bs-logger "0.x" - fast-json-stable-stringify "2.x" - jest-util "^27.0.0" - json5 "2.x" - lodash.memoize "4.x" - make-error "1.x" - semver "7.x" - yargs-parser "20.x" - -ts-jest@^29.1.1: +ts-jest@^29.1.2: version "29.1.2" resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.2.tgz#7613d8c81c43c8cb312c6904027257e814c40e09" integrity sha512-br6GJoH/WUX4pu7FbZXuWGKGNDuU7b8Uj77g/Sp7puZV6EXzuByl6JrECvm0MzVzSTkSHWTihsXt+5XYER5b+g== @@ -19095,6 +19030,25 @@ ts-loader@^9.3.1, ts-loader@^9.4.4: semver "^7.3.4" source-map "^0.7.4" +ts-node@^10.9.2: + version "10.9.2" + resolved "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f" + integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ== + dependencies: + "@cspotcode/source-map-support" "^0.8.0" + "@tsconfig/node10" "^1.0.7" + "@tsconfig/node12" "^1.0.7" + "@tsconfig/node14" "^1.0.0" + "@tsconfig/node16" "^1.0.2" + acorn "^8.4.1" + acorn-walk "^8.1.1" + arg "^4.1.0" + create-require "^1.1.0" + diff "^4.0.1" + make-error "^1.1.1" + v8-compile-cache-lib "^3.0.1" + yn "3.1.1" + tsconfig-paths@^3.15.0: version "3.15.0" resolved "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz#5299ec605e55b1abb23ec939ef15edaf483070d4" @@ -19720,6 +19674,11 @@ uvu@^0.5.0: kleur "^4.0.3" sade "^1.7.3" +v8-compile-cache-lib@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" + integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== + v8-compile-cache@^2.3.0: version "2.4.0" resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.4.0.tgz#cdada8bec61e15865f05d097c5f4fd30e94dc128" @@ -20172,7 +20131,7 @@ workerpool@6.2.1: resolved "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343" integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -20190,15 +20149,6 @@ wrap-ansi@^6.0.1, wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" @@ -20336,11 +20286,6 @@ yargs-parser@20.2.4: resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== -yargs-parser@20.x, yargs-parser@^20.2.2, yargs-parser@^20.2.3: - version "20.2.9" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" - integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== - yargs-parser@21.1.1, yargs-parser@^21.0.1, yargs-parser@^21.1.1: version "21.1.1" resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" @@ -20354,6 +20299,11 @@ yargs-parser@^18.1.2: camelcase "^5.0.0" decamelize "^1.2.0" +yargs-parser@^20.2.2, yargs-parser@^20.2.3: + version "20.2.9" + resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" + integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== + yargs-unparser@2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz#f131f9226911ae5d9ad38c432fe809366c2325eb" @@ -20415,6 +20365,11 @@ yauzl@^2.10.0: buffer-crc32 "~0.2.3" fd-slicer "~1.1.0" +yn@3.1.1: + version "3.1.1" + resolved "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" + integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== + yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"