fix: adjust forms #1140
pull-unit-tests.yml
on: pull_request
run-unit-test
1m 46s
Annotations
10 errors
src/shared/helpers/linkExtractor.js.test.js:
src/shared/components/ExternalLink/ExternalLink.tsx#L3
TypeError: Cannot read properties of undefined (reading 'find')
❯ hasStyle node_modules/@ui5/webcomponents-base/src/ManagedStyles.ts:58:39
❯ createBlockingStyle node_modules/@ui5/webcomponents/src/Popup.ts:33:7
❯ node_modules/@ui5/webcomponents/src/Popup.ts:38:1
❯ src/shared/components/ExternalLink/ExternalLink.tsx:3:31
|
src/components/Extensibility/tests/useGetCRDByPath.test.js:
src/shared/components/Dropdown/Dropdown.js#L2
TypeError: Cannot read properties of undefined (reading 'find')
❯ hasStyle node_modules/@ui5/webcomponents-base/src/ManagedStyles.ts:58:39
❯ createBlockingStyle node_modules/@ui5/webcomponents/src/Popup.ts:33:7
❯ node_modules/@ui5/webcomponents/src/Popup.ts:38:1
❯ src/shared/components/Dropdown/Dropdown.js:2:31
|
src/components/HelmReleases/tests/HelmReleaseData.test.js:
src/shared/components/LayoutPanelRow/LayoutPanelRow.tsx#L3
TypeError: Cannot read properties of undefined (reading 'find')
❯ hasStyle node_modules/@ui5/webcomponents-base/src/ManagedStyles.ts:58:39
❯ createBlockingStyle node_modules/@ui5/webcomponents/src/Popup.ts:33:7
❯ node_modules/@ui5/webcomponents/src/Popup.ts:38:1
❯ src/shared/components/LayoutPanelRow/LayoutPanelRow.tsx:3:31
|
src/components/HelmReleases/tests/ReleaseDataPanel.test.js:
src/shared/components/LayoutPanelRow/LayoutPanelRow.tsx#L3
TypeError: Cannot read properties of undefined (reading 'find')
❯ hasStyle node_modules/@ui5/webcomponents-base/src/ManagedStyles.ts:58:39
❯ createBlockingStyle node_modules/@ui5/webcomponents/src/Popup.ts:33:7
❯ node_modules/@ui5/webcomponents/src/Popup.ts:38:1
❯ src/shared/components/LayoutPanelRow/LayoutPanelRow.tsx:3:31
|
src/components/Preferences/test/NamespaceSettings.test.tsx:
src/components/Preferences/NamespaceSettings.tsx#L4
TypeError: Cannot read properties of undefined (reading 'find')
❯ hasStyle node_modules/@ui5/webcomponents-base/src/ManagedStyles.ts:58:39
❯ createBlockingStyle node_modules/@ui5/webcomponents/src/Popup.ts:33:7
❯ node_modules/@ui5/webcomponents/src/Popup.ts:38:1
❯ src/components/Preferences/NamespaceSettings.tsx:4:31
|
src/shared/ResourceForm/tests/useCreateResource.test.js:
src/shared/ResourceForm/tests/useCreateResource.test.js#L13
TypeError: Cannot read properties of undefined (reading 'find')
❯ hasStyle node_modules/@ui5/webcomponents-base/src/ManagedStyles.ts:58:39
❯ createBlockingStyle node_modules/@ui5/webcomponents/src/Popup.ts:33:7
❯ node_modules/@ui5/webcomponents/src/Popup.ts:38:1
❯ src/shared/ResourceForm/tests/useCreateResource.test.js:13:25
|
src/resources/Pods/test/PodRestarts.test.js:
src/shared/components/StatusBadge/StatusBadge.js#L3
TypeError: Cannot read properties of undefined (reading 'find')
❯ hasStyle node_modules/@ui5/webcomponents-base/src/ManagedStyles.ts:58:39
❯ createBlockingStyle node_modules/@ui5/webcomponents/src/Popup.ts:33:7
❯ node_modules/@ui5/webcomponents/src/Popup.ts:38:1
❯ src/shared/components/StatusBadge/StatusBadge.js:3:31
|
src/components/Extensibility/components/tests/Badge.test.js:
src/components/Extensibility/components/Badge.js#L5
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/components/Extensibility/components/Badge.js:5:31
❯ src/components/Extensibility/components/tests/Badge.test.js:22:25
Caused by: Caused by: TypeError: Cannot read properties of undefined (reading 'find')
❯ hasStyle node_modules/@ui5/webcomponents-base/src/ManagedStyles.ts:58:39
❯ createBlockingStyle node_modules/@ui5/webcomponents/src/Popup.ts:33:7
❯ node_modules/@ui5/webcomponents/src/Popup.ts:38:1
❯ src/shared/components/StatusBadge/StatusBadge.js:3:31
|
src/components/Extensibility/components/tests/CodeViewer.test.js:
src/components/Extensibility/components/CodeViewer.js#L5
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ src/components/Extensibility/components/CodeViewer.js:5:31
❯ src/components/Extensibility/components/tests/CodeViewer.test.js:24:25
Caused by: Caused by: TypeError: Cannot read properties of undefined (reading 'find')
❯ hasStyle node_modules/@ui5/webcomponents-base/src/ManagedStyles.ts:58:39
❯ createBlockingStyle node_modules/@ui5/webcomponents/src/Popup.ts:33:7
❯ node_modules/@ui5/webcomponents/src/Popup.ts:38:1
❯ src/shared/contexts/YamlEditorContext/EditorActions.js:3:31
|
src/components/Extensibility/components/tests/Columns.test.js:
src/shared/components/LayoutPanelRow/LayoutPanelRow.tsx#L3
TypeError: Cannot read properties of undefined (reading 'find')
❯ hasStyle node_modules/@ui5/webcomponents-base/src/ManagedStyles.ts:58:39
❯ createBlockingStyle node_modules/@ui5/webcomponents/src/Popup.ts:33:7
❯ node_modules/@ui5/webcomponents/src/Popup.ts:38:1
❯ src/shared/components/LayoutPanelRow/LayoutPanelRow.tsx:3:31
|