@m4l/testing 0.0.23 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +679 -0
- package/chunks/reactLeaflet-Cffkauof.js +1846 -0
- package/chunks/render-CsuV8xqo.js +17 -0
- package/chunks/userPreferences-BmOgRaIX.js +493 -0
- package/index.js +76 -25
- package/mocks/index.js +41 -0
- package/package.json +85 -102
- package/playwright/index.js +2041 -0
- package/rtl/index.js +180 -0
- package/types/libs/observability/mf/src/browserRuntimeHandles.d.ts +112 -0
- package/types/libs/observability/mf/src/diagnosticLogging.d.ts +2 -0
- package/types/libs/observability/mf/src/diagnosticPolicies/catalog.d.ts +267 -0
- package/types/libs/observability/mf/src/diagnosticPolicies/contracts.d.ts +64 -0
- package/types/libs/observability/mf/src/diagnosticPolicies/host.d.ts +139 -0
- package/types/libs/observability/mf/src/diagnosticPolicies/index.d.ts +6 -0
- package/types/libs/observability/mf/src/diagnosticPolicies/operativeMyGpsDevices.d.ts +104 -0
- package/types/libs/observability/mf/src/diagnosticPolicies/sharedReportsList.d.ts +44 -0
- package/types/libs/observability/mf/src/diagnosticPolicyKeys.d.ts +34 -0
- package/types/libs/observability/mf/src/index.d.ts +14 -0
- package/types/libs/observability/mf/src/runtimeSmoke.d.ts +13 -0
- package/types/libs/observability/mf/src/telemetry.d.ts +2 -0
- package/types/libs/observability/shared/src/diagnosticLogging.d.ts +97 -0
- package/types/libs/observability/shared/src/index.d.ts +6 -0
- package/types/libs/observability/shared/src/runtimeHandles.d.ts +27 -0
- package/types/libs/observability/shared/src/telemetry.d.ts +179 -0
- package/types/packages/testing/mocks/src/constants.d.ts +10 -0
- package/types/packages/testing/mocks/src/fixtures.d.ts +258 -0
- package/types/packages/testing/mocks/src/helpers/environment.d.ts +44 -0
- package/types/packages/testing/mocks/src/helpers/hostTools.d.ts +10 -0
- package/types/packages/testing/mocks/src/helpers/index.d.ts +5 -0
- package/types/packages/testing/mocks/src/helpers/moduleDictionary.d.ts +9 -0
- package/types/packages/testing/mocks/src/helpers/toaster.d.ts +9 -0
- package/types/packages/testing/mocks/src/helpers/userPreferences.d.ts +17 -0
- package/types/packages/testing/mocks/src/index.d.ts +4 -0
- package/types/packages/testing/mocks/src/types.d.ts +233 -0
- package/types/packages/testing/playwright/src/fixtures/createHostAreaFixture.d.ts +5 -0
- package/types/packages/testing/playwright/src/fixtures/createHostAuthenticatedMfMenuFixture.d.ts +5 -0
- package/types/packages/testing/playwright/src/fixtures/createHostAuthenticatedMfModuleDictionaryFixture.d.ts +5 -0
- package/types/packages/testing/playwright/src/fixtures/createHostAuthenticatedSessionFixture.d.ts +6 -0
- package/types/packages/testing/playwright/src/fixtures/createHostCookieFixture.d.ts +5 -0
- package/types/packages/testing/playwright/src/fixtures/createHostGuestSessionFixture.d.ts +5 -0
- package/types/packages/testing/playwright/src/fixtures/createHostLocaleFixture.d.ts +5 -0
- package/types/packages/testing/playwright/src/fixtures/createHostMfPreviewDynamicParamsFixture.d.ts +5 -0
- package/types/packages/testing/playwright/src/fixtures/createHostModuleDictionaryFixture.d.ts +11 -0
- package/types/packages/testing/playwright/src/fixtures/createHostUiConfigFixture.d.ts +7 -0
- package/types/packages/testing/playwright/src/fixtures/createHostUserPreferencesFixture.d.ts +6 -0
- package/types/packages/testing/playwright/src/fixtures/createListResponseFixture.d.ts +6 -0
- package/types/packages/testing/playwright/src/fixtures/index.d.ts +12 -0
- package/types/packages/testing/playwright/src/helpers/attachJson.d.ts +9 -0
- package/types/packages/testing/playwright/src/helpers/formAccess.d.ts +53 -0
- package/types/packages/testing/playwright/src/helpers/formSelect.d.ts +51 -0
- package/types/packages/testing/playwright/src/helpers/formatFailedChecks.d.ts +18 -0
- package/types/packages/testing/playwright/src/helpers/index.d.ts +16 -0
- package/types/packages/testing/playwright/src/helpers/listDatagrid.d.ts +219 -0
- package/types/packages/testing/playwright/src/helpers/listDetail.d.ts +65 -0
- package/types/packages/testing/playwright/src/helpers/listFilter.d.ts +27 -0
- package/types/packages/testing/playwright/src/helpers/listSort.d.ts +19 -0
- package/types/packages/testing/playwright/src/helpers/listStatePersistence.d.ts +15 -0
- package/types/packages/testing/playwright/src/helpers/openHostAccountMenuModule.d.ts +10 -0
- package/types/packages/testing/playwright/src/helpers/openHostAuthenticatedMfPreviewModule.d.ts +5 -0
- package/types/packages/testing/playwright/src/helpers/openHostMobileSidebarModule.d.ts +15 -0
- package/types/packages/testing/playwright/src/helpers/openHostSidebarModule.d.ts +5 -0
- package/types/packages/testing/playwright/src/helpers/realtimePerformanceBrowser.d.ts +144 -0
- package/types/packages/testing/playwright/src/helpers/viewModeDataGrid.d.ts +67 -0
- package/types/packages/testing/playwright/src/helpers/waitForBrowserCondition.d.ts +38 -0
- package/types/packages/testing/playwright/src/index.d.ts +11 -0
- package/types/packages/testing/playwright/src/installers/index.d.ts +20 -0
- package/types/packages/testing/playwright/src/installers/installHostAlarmsCountRoute.d.ts +5 -0
- package/types/packages/testing/playwright/src/installers/installHostAreasRoute.d.ts +5 -0
- package/types/packages/testing/playwright/src/installers/installHostAuthenticatedBootstrapRoutes.d.ts +6 -0
- package/types/packages/testing/playwright/src/installers/installHostAuthenticatedMfModuleDictionaryRoute.d.ts +5 -0
- package/types/packages/testing/playwright/src/installers/installHostAuthenticatedMfPreviewBootstrap.d.ts +11 -0
- package/types/packages/testing/playwright/src/installers/installHostAuthenticatedSessionRoute.d.ts +6 -0
- package/types/packages/testing/playwright/src/installers/installHostCookiesRoute.d.ts +8 -0
- package/types/packages/testing/playwright/src/installers/installHostGuestBootstrapRoutes.d.ts +7 -0
- package/types/packages/testing/playwright/src/installers/installHostGuestSessionRoute.d.ts +7 -0
- package/types/packages/testing/playwright/src/installers/installHostLocaleRoute.d.ts +5 -0
- package/types/packages/testing/playwright/src/installers/installHostMenusRoute.d.ts +11 -0
- package/types/packages/testing/playwright/src/installers/installHostModuleDictionaryRoute.d.ts +6 -0
- package/types/packages/testing/playwright/src/installers/installHostPasswordNewRoute.d.ts +6 -0
- package/types/packages/testing/playwright/src/installers/installHostPasswordResetRoute.d.ts +6 -0
- package/types/packages/testing/playwright/src/installers/installHostUiConfigAssetRoutes.d.ts +9 -0
- package/types/packages/testing/playwright/src/installers/installHostUiConfigRoute.d.ts +7 -0
- package/types/packages/testing/playwright/src/installers/installHostUserPreferencesRoute.d.ts +6 -0
- package/types/packages/testing/playwright/src/installers/installListEndpointRoute.d.ts +7 -0
- package/types/packages/testing/playwright/src/installers/installMicrofrontendRenderStub.d.ts +9 -0
- package/types/packages/testing/playwright/src/installers/installModulePrivilegesRoute.d.ts +11 -0
- package/types/packages/testing/playwright/src/types.d.ts +598 -0
- package/types/packages/testing/rtl/src/index.d.ts +4 -0
- package/types/packages/testing/rtl/src/matchMedia.d.ts +10 -0
- package/types/packages/testing/rtl/src/render.d.ts +17 -0
- package/types/packages/testing/rtl/src/resizeObserver.d.ts +33 -0
- package/types/packages/testing/rtl/src/storage.d.ts +10 -0
- package/types/packages/testing/src/index.d.ts +6 -0
- package/types/packages/testing/vitest/src/constants.d.ts +24 -0
- package/types/packages/testing/vitest/src/factories/app/index.d.ts +5 -0
- package/types/packages/testing/vitest/src/factories/app/m4lAppBase.d.ts +9 -0
- package/types/packages/testing/vitest/src/factories/app/m4lAppComponents.d.ts +20 -0
- package/types/packages/testing/vitest/src/factories/app/m4lAppCore.d.ts +12 -0
- package/types/packages/testing/vitest/src/factories/app/m4lAppGraphics.d.ts +10 -0
- package/types/packages/testing/vitest/src/factories/app/m4lAppLayouts.d.ts +18 -0
- package/types/packages/testing/vitest/src/factories/base/index.d.ts +1 -0
- package/types/packages/testing/vitest/src/factories/base/m4lBaseComponents.d.ts +13 -0
- package/types/packages/testing/vitest/src/factories/index.d.ts +7 -0
- package/types/packages/testing/vitest/src/factories/leaflet.d.ts +10 -0
- package/types/packages/testing/vitest/src/factories/packages/index.d.ts +7 -0
- package/types/packages/testing/vitest/src/factories/packages/m4lPackageBase.d.ts +11 -0
- package/types/packages/testing/vitest/src/factories/packages/m4lPackageComponents.d.ts +11 -0
- package/types/packages/testing/vitest/src/factories/packages/m4lPackageCore.d.ts +11 -0
- package/types/packages/testing/vitest/src/factories/packages/m4lPackageGclick.d.ts +10 -0
- package/types/packages/testing/vitest/src/factories/packages/m4lPackageGclickRealtime.d.ts +6 -0
- package/types/packages/testing/vitest/src/factories/packages/m4lPackageGraphics.d.ts +9 -0
- package/types/packages/testing/vitest/src/factories/packages/m4lPackageLayouts.d.ts +10 -0
- package/types/packages/testing/vitest/src/factories/reResizable.d.ts +6 -0
- package/types/packages/testing/vitest/src/factories/reactHookForm.d.ts +10 -0
- package/types/packages/testing/vitest/src/factories/reactLeaflet.d.ts +10 -0
- package/types/packages/testing/vitest/src/fixtures.d.ts +71 -0
- package/types/packages/testing/vitest/src/helpers/columnConfigs.d.ts +184 -0
- package/types/packages/testing/vitest/src/helpers/elementMocks.d.ts +166 -0
- package/types/packages/testing/vitest/src/helpers/filterFields.d.ts +37 -0
- package/types/packages/testing/vitest/src/helpers/index.d.ts +9 -0
- package/types/packages/testing/vitest/src/helpers/mapStore.d.ts +9 -0
- package/types/packages/testing/vitest/src/helpers/moduleContract.d.ts +15 -0
- package/types/packages/testing/vitest/src/helpers/rhf.d.ts +8 -0
- package/types/packages/testing/vitest/src/helpers/serialization.d.ts +7 -0
- package/types/packages/testing/vitest/src/helpers/sortFields.d.ts +28 -0
- package/types/packages/testing/vitest/src/helpers/windowSizes.d.ts +1 -0
- package/types/packages/testing/vitest/src/index.d.ts +6 -0
- package/types/packages/testing/vitest/src/installers/consoleError.d.ts +9 -0
- package/types/packages/testing/vitest/src/installers/index.d.ts +2 -0
- package/types/packages/testing/vitest/src/installers/rhfSubmit.d.ts +9 -0
- package/types/packages/testing/vitest/src/types.d.ts +116 -0
- package/vitest/index.js +55 -0
- package/e2e/commands/components/Accordions/commands.d.ts +0 -4
- package/e2e/commands/components/Accordions/commands.js +0 -19
- package/e2e/commands/components/Accordions/types.d.ts +0 -63
- package/e2e/commands/components/CommonActions/commands.d.ts +0 -4
- package/e2e/commands/components/CommonActions/commands.js +0 -11
- package/e2e/commands/components/CommonActions/types.d.ts +0 -20
- package/e2e/commands/components/DataGrid/commands.d.ts +0 -4
- package/e2e/commands/components/DataGrid/commands.js +0 -42
- package/e2e/commands/components/DataGrid/types.d.ts +0 -140
- package/e2e/commands/components/DynamicFilter/commands.d.ts +0 -4
- package/e2e/commands/components/DynamicFilter/commands.js +0 -12
- package/e2e/commands/components/DynamicFilter/types.d.ts +0 -27
- package/e2e/commands/components/DynamicSort/commands.d.ts +0 -4
- package/e2e/commands/components/DynamicSort/commands.js +0 -10
- package/e2e/commands/components/DynamicSort/types.d.ts +0 -26
- package/e2e/commands/components/Filters/commands.d.ts +0 -4
- package/e2e/commands/components/Filters/commands.js +0 -24
- package/e2e/commands/components/Filters/types.d.ts +0 -91
- package/e2e/commands/components/MenuActions/commands.d.ts +0 -4
- package/e2e/commands/components/MenuActions/commands.js +0 -8
- package/e2e/commands/components/MenuActions/types.d.ts +0 -24
- package/e2e/commands/components/Popover/commands.d.ts +0 -4
- package/e2e/commands/components/Popover/commands.js +0 -8
- package/e2e/commands/components/Popover/types.d.ts +0 -15
- package/e2e/commands/components/PropertyValue/commands.d.ts +0 -4
- package/e2e/commands/components/PropertyValue/commands.js +0 -8
- package/e2e/commands/components/PropertyValue/types.d.ts +0 -19
- package/e2e/commands/components/Tab/commands.d.ts +0 -4
- package/e2e/commands/components/Tab/commands.js +0 -9
- package/e2e/commands/components/Tab/types.d.ts +0 -29
- package/e2e/commands/components/WindowBase/commands.d.ts +0 -4
- package/e2e/commands/components/WindowBase/commands.js +0 -20
- package/e2e/commands/components/WindowBase/types.d.ts +0 -84
- package/e2e/commands/components/index.d.ts +0 -11
- package/e2e/commands/components/index.js +0 -1
- package/e2e/commands/index.d.ts +0 -4
- package/e2e/commands/index.js +0 -1
- package/e2e/commands/intercepts/index.d.ts +0 -2
- package/e2e/commands/intercepts/index.js +0 -1
- package/e2e/commands/intercepts/noPrivileges/interceptCommands.d.ts +0 -5
- package/e2e/commands/intercepts/noPrivileges/interceptCommands.js +0 -15
- package/e2e/commands/intercepts/noPrivileges/types.d.ts +0 -8
- package/e2e/commands/intercepts/noPrivileges/types.js +0 -1
- package/e2e/commands/register.d.ts +0 -4
- package/e2e/commands/register.js +0 -18
- package/e2e/cypress.d.js +0 -1
- package/e2e/cypress.d.ts +0 -23
- package/e2e/index.d.ts +0 -1
- package/e2e/types.d.ts +0 -4
- package/index.d.ts +0 -4
- package/index.test.d.ts +0 -1
- package/testComponents/DataGrid/helpers.d.ts +0 -5
- package/testComponents/DataGrid/helpers.js +0 -95
- package/testComponents/DataGrid/index.d.ts +0 -2
- package/testComponents/DataGrid/index.js +0 -1
- package/testComponents/DataGrid/types.d.ts +0 -54
- package/testComponents/DataGrid/types.js +0 -1
- package/testComponents/DynamicFilter/helpers.d.ts +0 -5
- package/testComponents/DynamicFilter/helpers.js +0 -18
- package/testComponents/DynamicFilter/index.d.ts +0 -1
- package/testComponents/DynamicFilter/index.js +0 -1
- package/testComponents/DynamicFilter/types.d.ts +0 -0
- package/testComponents/DynamicSort/helpers.d.ts +0 -5
- package/testComponents/DynamicSort/helpers.js +0 -16
- package/testComponents/DynamicSort/index.d.ts +0 -1
- package/testComponents/DynamicSort/index.js +0 -1
- package/testComponents/index.d.ts +0 -3
- package/testComponents/index.js +0 -1
- package/testTools/constants.d.ts +0 -0
- package/testTools/index.d.ts +0 -1
- package/testTools/index.js +0 -1
- package/testTools/mocks.d.ts +0 -0
- package/testTools/setup.d.ts +0 -0
- package/testTools/setup.js +0 -1
- package/testTools/types.d.ts +0 -0
- package/testTools/utils.d.ts +0 -11
- package/testTools/utils.js +0 -23
- package/vite-env.d.ts +0 -5
package/package.json
CHANGED
|
@@ -1,112 +1,95 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/testing",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Shared M4L testing contracts for React, Vitest and Playwright",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
"clean": "npx -y rimraf node_modules **/node_modules/ **/dist/ dist yarn.lock .yarn .config/yarn package-lock.json",
|
|
9
|
-
"typescript": "tsc --noEmit",
|
|
10
|
-
"build": "yarn lint:fix && tsc && vite build && buildM4lPackage",
|
|
11
|
-
"build:only": "vite build && buildM4lPackage",
|
|
12
|
-
"buildM4Lpackage:monorepo": "node ../m4l_vite_plugins/dist/bin/buildM4lPackage.js",
|
|
13
|
-
"build:monorepo": "yarn lint:fix && tsc && vite build",
|
|
14
|
-
"build:only:monorepo": "tsc && vite build && yarn buildM4Lpackage:monorepo",
|
|
15
|
-
"release": "yarn build && npm publish ./dist",
|
|
16
|
-
"release:monorepo": "yarn build:monorepo && cd dist && npm publish",
|
|
17
|
-
"release:monorepo:beta": "yarn build:monorepo && cd dist && npm publish --tag beta",
|
|
18
|
-
"release:monorepo:beta:only": "cd dist && npm publish --tag beta",
|
|
19
|
-
"lint": "npx eslint . --max-warnings 0",
|
|
20
|
-
"lint:fix": "yarn lint --fix --max-warnings 0",
|
|
21
|
-
"lefthook:install": "lefthook install",
|
|
22
|
-
"test": "vitest --config vitest.config.ts",
|
|
23
|
-
"test:only": "vitest --config vitest.config.ts --allowOnly",
|
|
24
|
-
"coverage": "vitest run --coverage",
|
|
25
|
-
"coverage:ui": "vitest --ui run --coverage ",
|
|
26
|
-
"docs": "typedoc --entryPointStrategy expand --tsconfig ./tsconfig.json"
|
|
27
|
-
},
|
|
28
|
-
"lint-staged": {
|
|
29
|
-
"*.{js,ts,tsx}": "eslint --fix --max-warnings 0"
|
|
30
|
-
},
|
|
31
|
-
"dependencies": {
|
|
32
|
-
"@storybook/addon-designs": "^8.0.0",
|
|
33
|
-
"@storybook/addon-essentials": "8.3.4",
|
|
34
|
-
"@storybook/addon-interactions": "8.3.4",
|
|
35
|
-
"@storybook/addon-links": "8.3.4",
|
|
36
|
-
"@storybook/addon-onboarding": "^8.3.4",
|
|
37
|
-
"@storybook/blocks": "^8.3.4",
|
|
38
|
-
"@storybook/react": "8.3.4",
|
|
39
|
-
"@storybook/react-vite": "8.3.4",
|
|
40
|
-
"@storybook/test": "8.3.4",
|
|
41
|
-
"@testing-library/dom": "^10.4.0",
|
|
42
|
-
"@testing-library/jest-dom": "^6.5.0",
|
|
43
|
-
"@testing-library/react": "^16.0.0",
|
|
44
|
-
"@testing-library/react-hooks": "^8.0.1",
|
|
45
|
-
"@testing-library/user-event": "^14.5.2",
|
|
46
|
-
"@types/jest": "^29.5.10",
|
|
47
|
-
"@vitejs/plugin-react": "^4.0.0",
|
|
48
|
-
"@vitest/coverage-istanbul": "3.1.1",
|
|
49
|
-
"@vitest/coverage-v8": "3.1.1",
|
|
50
|
-
"@vitest/ui": "^3.1.1",
|
|
51
|
-
"cypress": "^14.1.0",
|
|
52
|
-
"cypress-vite": "1.6.0",
|
|
53
|
-
"happy-dom": "^17.1.9",
|
|
54
|
-
"jest-environment-jsdom": "29.7.0",
|
|
55
|
-
"jsdom": "^25.0.1",
|
|
56
|
-
"storybook": "^8.3.4"
|
|
57
|
-
},
|
|
58
|
-
"peerDependencies": {
|
|
59
|
-
"@types/react": "18.3.23",
|
|
60
|
-
"react": "18.3.1",
|
|
61
|
-
"vitest": "3.1.1"
|
|
62
|
-
},
|
|
63
|
-
"devDependencies": {
|
|
64
|
-
"@m4l/components": "^9.0.0",
|
|
65
|
-
"@m4l/config": "^1.1.2",
|
|
66
|
-
"@m4l/vite-plugins": "^1.1.5",
|
|
67
|
-
"@types/node": "^22.7.3",
|
|
68
|
-
"@types/react": "18.3.23",
|
|
69
|
-
"@types/react-dom": "18.3.7",
|
|
70
|
-
"eslint": "9.28.0",
|
|
71
|
-
"lefthook": "1.11.13",
|
|
72
|
-
"lint-staged": "15.5.2",
|
|
73
|
-
"react": "18.3.1",
|
|
74
|
-
"react-dom": "18.3.1",
|
|
75
|
-
"typescript": "5.8.3",
|
|
76
|
-
"vite": "6.3.5",
|
|
77
|
-
"vite-plugin-dts": "^4.2.1",
|
|
78
|
-
"vitest": "3.1.1"
|
|
79
|
-
},
|
|
80
|
-
"resolutions": {
|
|
81
|
-
"glob": "^10.4.5",
|
|
82
|
-
"react": "18.3.1",
|
|
83
|
-
"@types/react": "18.3.23",
|
|
84
|
-
"@types/react-dom": "18.3.7",
|
|
85
|
-
"react-dom": "18.3.1",
|
|
86
|
-
"@vitejs/plugin-react": "^4.0.0"
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=20.19.0 <25"
|
|
87
8
|
},
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"eslint": "9.28.0",
|
|
91
|
-
"react": "18.3.1",
|
|
92
|
-
"@types/react": "18.3.23",
|
|
93
|
-
"@types/react-dom": "18.3.7",
|
|
94
|
-
"react-dom": "18.3.1"
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public"
|
|
95
11
|
},
|
|
96
|
-
"files": [
|
|
97
|
-
"*"
|
|
98
|
-
],
|
|
99
12
|
"type": "module",
|
|
100
|
-
"
|
|
13
|
+
"sideEffects": true,
|
|
101
14
|
"main": "./index.js",
|
|
102
15
|
"module": "./index.js",
|
|
103
|
-
"types": "./index.d.ts",
|
|
104
|
-
"
|
|
105
|
-
|
|
106
|
-
"
|
|
16
|
+
"types": "./types/packages/testing/src/index.d.ts",
|
|
17
|
+
"files": [
|
|
18
|
+
"*.js",
|
|
19
|
+
"chunks/**/*.js",
|
|
20
|
+
"rtl/*.js",
|
|
21
|
+
"mocks/*.js",
|
|
22
|
+
"vitest/*.js",
|
|
23
|
+
"playwright/*.js",
|
|
24
|
+
"types/**/*.d.ts",
|
|
25
|
+
"README.md"
|
|
26
|
+
],
|
|
27
|
+
"exports": {
|
|
28
|
+
"./package.json": "./package.json",
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./types/packages/testing/src/index.d.ts",
|
|
31
|
+
"import": "./index.js",
|
|
32
|
+
"default": "./index.js"
|
|
33
|
+
},
|
|
34
|
+
"./rtl": {
|
|
35
|
+
"types": "./types/packages/testing/rtl/src/index.d.ts",
|
|
36
|
+
"import": "./rtl/index.js",
|
|
37
|
+
"default": "./rtl/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./mocks": {
|
|
40
|
+
"types": "./types/packages/testing/mocks/src/index.d.ts",
|
|
41
|
+
"import": "./mocks/index.js",
|
|
42
|
+
"default": "./mocks/index.js"
|
|
43
|
+
},
|
|
44
|
+
"./vitest": {
|
|
45
|
+
"types": "./types/packages/testing/vitest/src/index.d.ts",
|
|
46
|
+
"import": "./vitest/index.js",
|
|
47
|
+
"default": "./vitest/index.js"
|
|
48
|
+
},
|
|
49
|
+
"./playwright": {
|
|
50
|
+
"types": "./types/packages/testing/playwright/src/index.d.ts",
|
|
51
|
+
"import": "./playwright/index.js",
|
|
52
|
+
"default": "./playwright/index.js"
|
|
53
|
+
}
|
|
107
54
|
},
|
|
108
|
-
"
|
|
109
|
-
"
|
|
55
|
+
"peerDependenciesMeta": {
|
|
56
|
+
"@playwright/test": {
|
|
57
|
+
"optional": true
|
|
58
|
+
},
|
|
59
|
+
"@testing-library/react": {
|
|
60
|
+
"optional": true
|
|
61
|
+
},
|
|
62
|
+
"@testing-library/user-event": {
|
|
63
|
+
"optional": true
|
|
64
|
+
},
|
|
65
|
+
"@types/react": {
|
|
66
|
+
"optional": true
|
|
67
|
+
},
|
|
68
|
+
"@types/react-dom": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
71
|
+
"react": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"react-dom": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"vitest": {
|
|
78
|
+
"optional": true
|
|
79
|
+
}
|
|
110
80
|
},
|
|
111
|
-
"
|
|
112
|
-
|
|
81
|
+
"peerDependencies": {
|
|
82
|
+
"@playwright/test": "^1.58.2",
|
|
83
|
+
"@testing-library/react": "^16.3.0",
|
|
84
|
+
"@testing-library/user-event": "^14.6.1",
|
|
85
|
+
"@types/react": "^19.2.7",
|
|
86
|
+
"@types/react-dom": "^19.2.3",
|
|
87
|
+
"react": "^19.1.0",
|
|
88
|
+
"react-dom": "^19.1.0",
|
|
89
|
+
"vitest": "^4.0.16"
|
|
90
|
+
},
|
|
91
|
+
"dependencies": {
|
|
92
|
+
"date-fns": "2.30.0",
|
|
93
|
+
"history": "5.3.0"
|
|
94
|
+
}
|
|
95
|
+
}
|