From 5ca781bf3a5276bbb602929adaa292b460aea938 Mon Sep 17 00:00:00 2001 From: Alex Grozav Date: Tue, 5 Nov 2024 14:20:02 +0200 Subject: [PATCH] refactor(editor): Rename design-system unit test files and snapshots (no-changelog) (#11539) --- .git-blame-ignore-revs | 1 + .../AskAssistantAvatar.spec.ts => AskAssistantAvatar.test.ts} | 2 +- .../AskAssistantAvatar.test.ts.snap} | 0 .../AskAssistantButton.spec.ts => AskAssistantButton.test.ts} | 2 +- .../AskAssistantButton.test.ts.snap} | 0 .../AskAssistantChat.spec.ts => AskAssistantChat.test.ts} | 2 +- .../AskAssistantChat.test.ts.snap} | 0 .../AssistantIcon.spec.ts => AssistantIcon.test.ts} | 2 +- .../AssistantIcon.test.ts.snap} | 0 ...dingMessage.spec.ts => AskAssistantLoadingMessage.test.ts} | 2 +- .../AskAssistantLoadingMessage.test.ts.snap} | 0 .../AssistantText.spec.ts => AssistantText.test.ts} | 2 +- .../AssistantText.test.ts.snap} | 0 .../BetaTag/{__tests__/BetaTag.spec.ts => BetaTag.test.ts} | 2 +- .../BetaTag.test.ts.snap} | 0 .../BlinkingCursor.spec.ts => BlinkingCursor.test.ts} | 2 +- .../BlinkingCursor.test.ts.snap} | 0 .../CodeDiff/{__tests__/CodeDiff.spec.ts => CodeDiff.test.ts} | 2 +- .../CodeDiff.test.ts.snap} | 0 ...tionalRouterLink.spec.ts => ConditionalRouterLink.test.ts} | 2 +- .../ConditionalRouterLink.test.ts.snap} | 0 .../{__tests__/ActionBox.spec.ts => ActionBox.test.ts} | 2 +- .../ActionBox.test.ts.snap} | 0 .../ActionDropdown.spec.ts => ActionDropdown.test.ts} | 2 +- .../ActionDropdown.test.ts.snap} | 0 .../N8nAlert/{__tests__/Alert.spec.ts => Alert.test.ts} | 4 ++-- .../src/components/N8nAvatar/{__tests__ => }/Avatar.test.ts | 2 +- .../N8nBadge/{__tests__/Badge.spec.ts => Badge.test.ts} | 2 +- .../Badge.spec.ts.snap => __snapshots__/Badge.test.ts.snap} | 0 .../N8nBlockUi/{__tests__/BlockUi.spec.ts => BlockUi.test.ts} | 2 +- .../N8nButton/{__tests__/Button.spec.ts => Button.test.ts} | 2 +- .../Button.spec.ts.snap => __snapshots__/Button.test.ts.snap} | 0 .../N8nCallout/{__tests__/Callout.spec.ts => Callout.test.ts} | 2 +- .../Callout.test.ts.snap} | 0 .../N8nCard/{__tests__/Card.spec.ts => Card.test.ts} | 2 +- .../Card.spec.ts.snap => __snapshots__/Card.test.ts.snap} | 0 .../{__tests__/Checkbox.spec.ts => Checkbox.test.ts} | 2 +- .../Checkbox.test.ts.snap} | 0 .../{__tests__/CircleLoader.spec.ts => CircleLoader.test.ts} | 2 +- .../CircleLoader.test.ts.snap} | 0 .../{__tests__/ColorPicker.spec.ts => ColorPicker.test.ts} | 2 +- .../ColorPicker.test.ts.snap} | 0 .../{__tests__/Datatable.spec.ts => Datatable.test.ts} | 4 ++-- .../Datatable.test.ts.snap} | 0 .../src/components/N8nFormBox/{__tests__ => }/FormBox.test.ts | 4 ++-- .../{__tests__ => }/__snapshots__/FormBox.test.ts.snap | 0 .../N8nInfoTip/{__tests__/InfoTip.spec.ts => InfoTip.test.ts} | 2 +- .../InfoTip.test.ts.snap} | 0 .../N8nInput/{__tests__/Input.spec.ts => Input.test.ts} | 2 +- .../Input.spec.ts.snap => __snapshots__/Input.test.ts.snap} | 0 .../{__tests__/InputLabel.spec.ts => InputLabel.test.ts} | 2 +- .../InputLabel.test.ts.snap} | 0 .../{__tests__/Markdown.spec.ts => Markdown.test.ts} | 2 +- .../NavigationDropdown.spec.ts => NavigationDropdown.test.ts} | 2 +- .../N8nNotice/{__tests__/Notice.spec.ts => Notice.test.ts} | 2 +- .../Notice.spec.ts.snap => __snapshots__/Notice.test.ts.snap} | 0 .../RecycleScroller.spec.ts => RecycleScroller.test.ts} | 2 +- .../RecycleScroller.test.ts.snap} | 0 .../N8nRoute/{__tests__/Route.spec.ts => Route.test.ts} | 2 +- .../Route.spec.ts.snap => __snapshots__/Route.test.ts.snap} | 0 .../N8nSelect/{__tests__/Select.spec.ts => Select.test.ts} | 4 ++-- .../Select.spec.ts.snap => __snapshots__/Select.test.ts.snap} | 0 .../N8nTooltip/{__tests__/Tooltip.spec.ts => Tooltip.test.ts} | 2 +- .../N8nTree/{__tests__/Tree.spec.ts => Tree.test.ts} | 2 +- .../Tree.spec.ts.snap => __snapshots__/Tree.test.ts.snap} | 0 .../{__tests__/UserStack.spec.ts => UserStack.test.ts} | 2 +- .../{__tests__/ColorCircles.spec.ts => ColorCircles.test.ts} | 2 +- .../src/styleguide/{__tests__/Sizes.spec.ts => Sizes.test.ts} | 2 +- .../ColorCircles.test.ts.snap} | 0 .../Sizes.spec.ts.snap => __snapshots__/Sizes.test.ts.snap} | 0 .../utils/{__tests__/event-bus.spec.ts => event-bus.test.ts} | 2 +- .../src/utils/{labelUtil.spec.ts => labelUtil.test.ts} | 0 .../utils/{__tests__/markdown.spec.ts => markdown.test.ts} | 2 +- .../{__tests__/valueByPath.spec.ts => valueByPath.test.ts} | 0 ...tallModal.spec.ts => CommunityPackageInstallModal.test.ts} | 0 .../src/components/{Feedback.spec.ts => Feedback.test.ts} | 0 .../components/MainHeader/{TabBar.spec.ts => TabBar.test.ts} | 0 .../{WorkflowDetails.spec.ts => WorkflowDetails.test.ts} | 0 .../{NDVSubConnections.spec.ts => NDVSubConnections.test.ts} | 0 .../components/{VariablesRow.spec.ts => VariablesRow.test.ts} | 0 .../{WorkflowSettings.spec.ts => WorkflowSettings.test.ts} | 0 .../components/banners/{V1Banner.spec.ts => V1Banner.test.ts} | 0 .../{V1Banner.spec.ts.snap => V1Banner.test.ts.snap} | 0 .../src/components/canvas/{Canvas.spec.ts => Canvas.test.ts} | 0 .../canvas/{WorkflowCanvas.spec.ts => WorkflowCanvas.test.ts} | 0 .../{CanvasChatButton.spec.ts => CanvasChatButton.test.ts} | 0 ...aButton.spec.ts => CanvasClearExecutionDataButton.test.ts} | 0 ...vasControlButtons.spec.ts => CanvasControlButtons.test.ts} | 0 ...WorkflowButton.spec.ts => CanvasRunWorkflowButton.test.ts} | 0 ...utton.spec.ts => CanvasStopCurrentExecutionButton.test.ts} | 0 ...tton.spec.ts => CanvasStopWaitingForWebhookButton.test.ts} | 0 ...sChatButton.spec.ts.snap => CanvasChatButton.test.ts.snap} | 0 ...ec.ts.snap => CanvasClearExecutionDataButton.test.ts.snap} | 0 ...Buttons.spec.ts.snap => CanvasControlButtons.test.ts.snap} | 0 ....spec.ts.snap => CanvasExecuteWorkflowButton.test.ts.snap} | 0 ...tton.spec.ts.snap => CanvasRunWorkflowButton.test.ts.snap} | 0 ....ts.snap => CanvasStopCurrentExecutionButton.test.ts.snap} | 0 ...ts.snap => CanvasStopWaitingForWebhookButton.test.ts.snap} | 0 ...vasConnectionLine.spec.ts => CanvasConnectionLine.test.ts} | 0 .../elements/edges/{CanvasEdge.spec.ts => CanvasEdge.test.ts} | 0 .../{CanvasEdgeToolbar.spec.ts => CanvasEdgeToolbar.test.ts} | 0 ...vasHandleRenderer.spec.ts => CanvasHandleRenderer.test.ts} | 0 ...sHandleMainInput.spec.ts => CanvasHandleMainInput.test.ts} | 0 ...andleMainOutput.spec.ts => CanvasHandleMainOutput.test.ts} | 0 ...eNonMainInput.spec.ts => CanvasHandleNonMainInput.test.ts} | 0 ...onMainOutput.spec.ts => CanvasHandleNonMainOutput.test.ts} | 0 ...anvasHandleDiamond.spec.ts => CanvasHandleDiamond.test.ts} | 0 .../{CanvasHandleDot.spec.ts => CanvasHandleDot.test.ts} | 0 .../{CanvasHandlePlus.spec.ts => CanvasHandlePlus.test.ts} | 0 ...sHandleRectangle.spec.ts => CanvasHandleRectangle.test.ts} | 0 ...eDiamond.spec.ts.snap => CanvasHandleDiamond.test.ts.snap} | 0 ...vasHandleDot.spec.ts.snap => CanvasHandleDot.test.ts.snap} | 0 ...sHandlePlus.spec.ts.snap => CanvasHandlePlus.test.ts.snap} | 0 ...tangle.spec.ts.snap => CanvasHandleRectangle.test.ts.snap} | 0 .../elements/nodes/{CanvasNode.spec.ts => CanvasNode.test.ts} | 0 ...{CanvasNodeRenderer.spec.ts => CanvasNodeRenderer.test.ts} | 0 .../{CanvasNodeToolbar.spec.ts => CanvasNodeToolbar.test.ts} | 0 .../{CanvasNodeDefault.spec.ts => CanvasNodeDefault.test.ts} | 0 ...vasNodeStickyNote.spec.ts => CanvasNodeStickyNote.test.ts} | 0 ...odeDefault.spec.ts.snap => CanvasNodeDefault.test.ts.snap} | 0 ...ckyNote.spec.ts.snap => CanvasNodeStickyNote.test.ts.snap} | 0 ...hrough.spec.ts => CanvasNodeDisabledStrikeThrough.test.ts} | 0 ...sNodeStatusIcons.spec.ts => CanvasNodeStatusIcons.test.ts} | 0 ...Selector.spec.ts => CanvasNodeStickyColorSelector.test.ts} | 0 ...BugReporting.spec.ts.snap => useBugReporting.test.ts.snap} | 0 ...erations.spec.ts.snap => useCanvasOperations.test.ts.snap} | 0 .../{useDebugInfo.spec.ts.snap => useDebugInfo.test.ts.snap} | 0 .../{useBugReporting.spec.ts => useBugReporting.test.ts} | 0 .../{useCanvasMapping.spec.ts => useCanvasMapping.test.ts} | 0 .../{useCanvasNode.spec.ts => useCanvasNode.test.ts} | 0 ...seCanvasOperations.spec.ts => useCanvasOperations.test.ts} | 0 .../{useDebugInfo.spec.ts => useDebugInfo.test.ts} | 0 ...ecutionDebugging.spec.ts => useExecutionDebugging.test.ts} | 0 .../composables/{useNodeBase.spec.ts => useNodeBase.test.ts} | 0 ...{useNodeConnections.spec.ts => useNodeConnections.test.ts} | 0 .../{usePushConnection.spec.ts => usePushConnection.test.ts} | 0 .../{useRunWorkflow.spec.ts => useRunWorkflow.test.ts} | 0 .../src/composables/{useStyles.spec.ts => useStyles.test.ts} | 0 ...{useWorkflowHelpers.spec.ts => useWorkflowHelpers.test.ts} | 0 .../{workflowHelpers.spec.ts => workflowHelpers.test.ts} | 0 .../src/{permissions.spec.ts => permissions.test.ts} | 0 .../editor-ui/src/plugins/{sentry.spec.ts => sentry.test.ts} | 0 .../src/stores/{credentials.spec.ts => credentials.test.ts} | 0 .../src/stores/{environments.spec.ts => environments.test.ts} | 0 .../stores/{npsStore.store.spec.ts => npsStore.store.test.ts} | 0 .../{workflows.store.spec.ts => workflows.store.test.ts} | 0 .../src/utils/{apiUtils.spec.ts => apiUtils.test.ts} | 0 .../utils/{canvasUtilsV2.spec.ts => canvasUtilsV2.test.ts} | 0 .../utils/{executionUtils.spec.ts => executionUtils.test.ts} | 0 .../src/utils/{htmlUtils.spec.ts => htmlUtils.test.ts} | 0 .../utils/{nodeViewUtils.spec.ts => nodeViewUtils.test.ts} | 0 .../views/{VariablesView.spec.ts => VariablesView.test.ts} | 0 152 files changed, 45 insertions(+), 44 deletions(-) rename packages/design-system/src/components/AskAssistantAvatar/{__tests__/AskAssistantAvatar.spec.ts => AskAssistantAvatar.test.ts} (89%) rename packages/design-system/src/components/AskAssistantAvatar/{__tests__/__snapshots__/AskAssistantAvatar.spec.ts.snap => __snapshots__/AskAssistantAvatar.test.ts.snap} (100%) rename packages/design-system/src/components/AskAssistantButton/{__tests__/AskAssistantButton.spec.ts => AskAssistantButton.test.ts} (88%) rename packages/design-system/src/components/AskAssistantButton/{__tests__/__snapshots__/AskAssistantButton.spec.ts.snap => __snapshots__/AskAssistantButton.test.ts.snap} (100%) rename packages/design-system/src/components/AskAssistantChat/{__tests__/AskAssistantChat.spec.ts => AskAssistantChat.test.ts} (99%) rename packages/design-system/src/components/AskAssistantChat/{__tests__/__snapshots__/AskAssistantChat.spec.ts.snap => __snapshots__/AskAssistantChat.test.ts.snap} (100%) rename packages/design-system/src/components/AskAssistantIcon/{__tests__/AssistantIcon.spec.ts => AssistantIcon.test.ts} (95%) rename packages/design-system/src/components/AskAssistantIcon/{__tests__/__snapshots__/AssistantIcon.spec.ts.snap => __snapshots__/AssistantIcon.test.ts.snap} (100%) rename packages/design-system/src/components/AskAssistantLoadingMessage/{__tests__/AskAssistantLoadingMessage.spec.ts => AskAssistantLoadingMessage.test.ts} (81%) rename packages/design-system/src/components/AskAssistantLoadingMessage/{__tests__/__snapshots__/AskAssistantLoadingMessage.spec.ts.snap => __snapshots__/AskAssistantLoadingMessage.test.ts.snap} (100%) rename packages/design-system/src/components/AskAssistantText/{__tests__/AssistantText.spec.ts => AssistantText.test.ts} (94%) rename packages/design-system/src/components/AskAssistantText/{__tests__/__snapshots__/AssistantText.spec.ts.snap => __snapshots__/AssistantText.test.ts.snap} (100%) rename packages/design-system/src/components/BetaTag/{__tests__/BetaTag.spec.ts => BetaTag.test.ts} (84%) rename packages/design-system/src/components/BetaTag/{__tests__/__snapshots__/BetaTag.spec.ts.snap => __snapshots__/BetaTag.test.ts.snap} (100%) rename packages/design-system/src/components/BlinkingCursor/{__tests__/BlinkingCursor.spec.ts => BlinkingCursor.test.ts} (81%) rename packages/design-system/src/components/BlinkingCursor/{__tests__/__snapshots__/BlinkingCursor.spec.ts.snap => __snapshots__/BlinkingCursor.test.ts.snap} (100%) rename packages/design-system/src/components/CodeDiff/{__tests__/CodeDiff.spec.ts => CodeDiff.test.ts} (98%) rename packages/design-system/src/components/CodeDiff/{__tests__/__snapshots__/CodeDiff.spec.ts.snap => __snapshots__/CodeDiff.test.ts.snap} (100%) rename packages/design-system/src/components/ConditionalRouterLink/{__tests__/ConditionalRouterLink.spec.ts => ConditionalRouterLink.test.ts} (95%) rename packages/design-system/src/components/ConditionalRouterLink/{__tests__/__snapshots__/ConditionalRouterLink.spec.ts.snap => __snapshots__/ConditionalRouterLink.test.ts.snap} (100%) rename packages/design-system/src/components/N8nActionBox/{__tests__/ActionBox.spec.ts => ActionBox.test.ts} (92%) rename packages/design-system/src/components/N8nActionBox/{__tests__/__snapshots__/ActionBox.spec.ts.snap => __snapshots__/ActionBox.test.ts.snap} (100%) rename packages/design-system/src/components/N8nActionDropdown/{__tests__/ActionDropdown.spec.ts => ActionDropdown.test.ts} (95%) rename packages/design-system/src/components/N8nActionDropdown/{__tests__/__snapshots__/ActionDropdown.spec.ts.snap => __snapshots__/ActionDropdown.test.ts.snap} (100%) rename packages/design-system/src/components/N8nAlert/{__tests__/Alert.spec.ts => Alert.test.ts} (93%) rename packages/design-system/src/components/N8nAvatar/{__tests__ => }/Avatar.test.ts (94%) rename packages/design-system/src/components/N8nBadge/{__tests__/Badge.spec.ts => Badge.test.ts} (96%) rename packages/design-system/src/components/N8nBadge/{__tests__/__snapshots__/Badge.spec.ts.snap => __snapshots__/Badge.test.ts.snap} (100%) rename packages/design-system/src/components/N8nBlockUi/{__tests__/BlockUi.spec.ts => BlockUi.test.ts} (91%) rename packages/design-system/src/components/N8nButton/{__tests__/Button.spec.ts => Button.test.ts} (97%) rename packages/design-system/src/components/N8nButton/{__tests__/__snapshots__/Button.spec.ts.snap => __snapshots__/Button.test.ts.snap} (100%) rename packages/design-system/src/components/N8nCallout/{__tests__/Callout.spec.ts => Callout.test.ts} (98%) rename packages/design-system/src/components/N8nCallout/{__tests__/__snapshots__/Callout.spec.ts.snap => __snapshots__/Callout.test.ts.snap} (100%) rename packages/design-system/src/components/N8nCard/{__tests__/Card.spec.ts => Card.test.ts} (94%) rename packages/design-system/src/components/N8nCard/{__tests__/__snapshots__/Card.spec.ts.snap => __snapshots__/Card.test.ts.snap} (100%) rename packages/design-system/src/components/N8nCheckbox/{__tests__/Checkbox.spec.ts => Checkbox.test.ts} (95%) rename packages/design-system/src/components/N8nCheckbox/{__tests__/__snapshots__/Checkbox.spec.ts.snap => __snapshots__/Checkbox.test.ts.snap} (100%) rename packages/design-system/src/components/N8nCircleLoader/{__tests__/CircleLoader.spec.ts => CircleLoader.test.ts} (85%) rename packages/design-system/src/components/N8nCircleLoader/{__tests__/__snapshots__/CircleLoader.spec.ts.snap => __snapshots__/CircleLoader.test.ts.snap} (100%) rename packages/design-system/src/components/N8nColorPicker/{__tests__/ColorPicker.spec.ts => ColorPicker.test.ts} (91%) rename packages/design-system/src/components/N8nColorPicker/{__tests__/__snapshots__/ColorPicker.spec.ts.snap => __snapshots__/ColorPicker.test.ts.snap} (100%) rename packages/design-system/src/components/N8nDatatable/{__tests__/Datatable.spec.ts => Datatable.test.ts} (96%) rename packages/design-system/src/components/N8nDatatable/{__tests__/__snapshots__/Datatable.spec.ts.snap => __snapshots__/Datatable.test.ts.snap} (100%) rename packages/design-system/src/components/N8nFormBox/{__tests__ => }/FormBox.test.ts (91%) rename packages/design-system/src/components/N8nFormBox/{__tests__ => }/__snapshots__/FormBox.test.ts.snap (100%) rename packages/design-system/src/components/N8nInfoTip/{__tests__/InfoTip.spec.ts => InfoTip.test.ts} (93%) rename packages/design-system/src/components/N8nInfoTip/{__tests__/__snapshots__/InfoTip.spec.ts.snap => __snapshots__/InfoTip.test.ts.snap} (100%) rename packages/design-system/src/components/N8nInput/{__tests__/Input.spec.ts => Input.test.ts} (94%) rename packages/design-system/src/components/N8nInput/{__tests__/__snapshots__/Input.spec.ts.snap => __snapshots__/Input.test.ts.snap} (100%) rename packages/design-system/src/components/N8nInputLabel/{__tests__/InputLabel.spec.ts => InputLabel.test.ts} (93%) rename packages/design-system/src/components/N8nInputLabel/{__tests__/__snapshots__/InputLabel.spec.ts.snap => __snapshots__/InputLabel.test.ts.snap} (100%) rename packages/design-system/src/components/N8nMarkdown/{__tests__/Markdown.spec.ts => Markdown.test.ts} (98%) rename packages/design-system/src/components/N8nNavigationDropdown/{__tests__/NavigationDropdown.spec.ts => NavigationDropdown.test.ts} (98%) rename packages/design-system/src/components/N8nNotice/{__tests__/Notice.spec.ts => Notice.test.ts} (97%) rename packages/design-system/src/components/N8nNotice/{__tests__/__snapshots__/Notice.spec.ts.snap => __snapshots__/Notice.test.ts.snap} (100%) rename packages/design-system/src/components/N8nRecycleScroller/{__tests__/RecycleScroller.spec.ts => RecycleScroller.test.ts} (91%) rename packages/design-system/src/components/N8nRecycleScroller/{__tests__/__snapshots__/RecycleScroller.spec.ts.snap => __snapshots__/RecycleScroller.test.ts.snap} (100%) rename packages/design-system/src/components/N8nRoute/{__tests__/Route.spec.ts => Route.test.ts} (94%) rename packages/design-system/src/components/N8nRoute/{__tests__/__snapshots__/Route.spec.ts.snap => __snapshots__/Route.test.ts.snap} (100%) rename packages/design-system/src/components/N8nSelect/{__tests__/Select.spec.ts => Select.test.ts} (95%) rename packages/design-system/src/components/N8nSelect/{__tests__/__snapshots__/Select.spec.ts.snap => __snapshots__/Select.test.ts.snap} (100%) rename packages/design-system/src/components/N8nTooltip/{__tests__/Tooltip.spec.ts => Tooltip.test.ts} (95%) rename packages/design-system/src/components/N8nTree/{__tests__/Tree.spec.ts => Tree.test.ts} (97%) rename packages/design-system/src/components/N8nTree/{__tests__/__snapshots__/Tree.spec.ts.snap => __snapshots__/Tree.test.ts.snap} (100%) rename packages/design-system/src/components/N8nUserStack/{__tests__/UserStack.spec.ts => UserStack.test.ts} (98%) rename packages/design-system/src/styleguide/{__tests__/ColorCircles.spec.ts => ColorCircles.test.ts} (94%) rename packages/design-system/src/styleguide/{__tests__/Sizes.spec.ts => Sizes.test.ts} (94%) rename packages/design-system/src/styleguide/{__tests__/__snapshots__/ColorCircles.spec.ts.snap => __snapshots__/ColorCircles.test.ts.snap} (100%) rename packages/design-system/src/styleguide/{__tests__/__snapshots__/Sizes.spec.ts.snap => __snapshots__/Sizes.test.ts.snap} (100%) rename packages/design-system/src/utils/{__tests__/event-bus.spec.ts => event-bus.test.ts} (97%) rename packages/design-system/src/utils/{labelUtil.spec.ts => labelUtil.test.ts} (100%) rename packages/design-system/src/utils/{__tests__/markdown.spec.ts => markdown.test.ts} (95%) rename packages/design-system/src/utils/{__tests__/valueByPath.spec.ts => valueByPath.test.ts} (100%) rename packages/editor-ui/src/components/{CommunityPackageInstallModal.spec.ts => CommunityPackageInstallModal.test.ts} (100%) rename packages/editor-ui/src/components/{Feedback.spec.ts => Feedback.test.ts} (100%) rename packages/editor-ui/src/components/MainHeader/{TabBar.spec.ts => TabBar.test.ts} (100%) rename packages/editor-ui/src/components/MainHeader/{WorkflowDetails.spec.ts => WorkflowDetails.test.ts} (100%) rename packages/editor-ui/src/components/{NDVSubConnections.spec.ts => NDVSubConnections.test.ts} (100%) rename packages/editor-ui/src/components/{VariablesRow.spec.ts => VariablesRow.test.ts} (100%) rename packages/editor-ui/src/components/{WorkflowSettings.spec.ts => WorkflowSettings.test.ts} (100%) rename packages/editor-ui/src/components/banners/{V1Banner.spec.ts => V1Banner.test.ts} (100%) rename packages/editor-ui/src/components/banners/__snapshots__/{V1Banner.spec.ts.snap => V1Banner.test.ts.snap} (100%) rename packages/editor-ui/src/components/canvas/{Canvas.spec.ts => Canvas.test.ts} (100%) rename packages/editor-ui/src/components/canvas/{WorkflowCanvas.spec.ts => WorkflowCanvas.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/buttons/{CanvasChatButton.spec.ts => CanvasChatButton.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/buttons/{CanvasClearExecutionDataButton.spec.ts => CanvasClearExecutionDataButton.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/buttons/{CanvasControlButtons.spec.ts => CanvasControlButtons.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/buttons/{CanvasRunWorkflowButton.spec.ts => CanvasRunWorkflowButton.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/buttons/{CanvasStopCurrentExecutionButton.spec.ts => CanvasStopCurrentExecutionButton.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/buttons/{CanvasStopWaitingForWebhookButton.spec.ts => CanvasStopWaitingForWebhookButton.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/{CanvasChatButton.spec.ts.snap => CanvasChatButton.test.ts.snap} (100%) rename packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/{CanvasClearExecutionDataButton.spec.ts.snap => CanvasClearExecutionDataButton.test.ts.snap} (100%) rename packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/{CanvasControlButtons.spec.ts.snap => CanvasControlButtons.test.ts.snap} (100%) rename packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/{CanvasExecuteWorkflowButton.spec.ts.snap => CanvasExecuteWorkflowButton.test.ts.snap} (100%) rename packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/{CanvasRunWorkflowButton.spec.ts.snap => CanvasRunWorkflowButton.test.ts.snap} (100%) rename packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/{CanvasStopCurrentExecutionButton.spec.ts.snap => CanvasStopCurrentExecutionButton.test.ts.snap} (100%) rename packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/{CanvasStopWaitingForWebhookButton.spec.ts.snap => CanvasStopWaitingForWebhookButton.test.ts.snap} (100%) rename packages/editor-ui/src/components/canvas/elements/edges/{CanvasConnectionLine.spec.ts => CanvasConnectionLine.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/edges/{CanvasEdge.spec.ts => CanvasEdge.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/edges/{CanvasEdgeToolbar.spec.ts => CanvasEdgeToolbar.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/handles/{CanvasHandleRenderer.spec.ts => CanvasHandleRenderer.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/handles/render-types/{CanvasHandleMainInput.spec.ts => CanvasHandleMainInput.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/handles/render-types/{CanvasHandleMainOutput.spec.ts => CanvasHandleMainOutput.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/handles/render-types/{CanvasHandleNonMainInput.spec.ts => CanvasHandleNonMainInput.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/handles/render-types/{CanvasHandleNonMainOutput.spec.ts => CanvasHandleNonMainOutput.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/{CanvasHandleDiamond.spec.ts => CanvasHandleDiamond.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/{CanvasHandleDot.spec.ts => CanvasHandleDot.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/{CanvasHandlePlus.spec.ts => CanvasHandlePlus.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/{CanvasHandleRectangle.spec.ts => CanvasHandleRectangle.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/{CanvasHandleDiamond.spec.ts.snap => CanvasHandleDiamond.test.ts.snap} (100%) rename packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/{CanvasHandleDot.spec.ts.snap => CanvasHandleDot.test.ts.snap} (100%) rename packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/{CanvasHandlePlus.spec.ts.snap => CanvasHandlePlus.test.ts.snap} (100%) rename packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/{CanvasHandleRectangle.spec.ts.snap => CanvasHandleRectangle.test.ts.snap} (100%) rename packages/editor-ui/src/components/canvas/elements/nodes/{CanvasNode.spec.ts => CanvasNode.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/nodes/{CanvasNodeRenderer.spec.ts => CanvasNodeRenderer.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/nodes/{CanvasNodeToolbar.spec.ts => CanvasNodeToolbar.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/nodes/render-types/{CanvasNodeDefault.spec.ts => CanvasNodeDefault.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/nodes/render-types/{CanvasNodeStickyNote.spec.ts => CanvasNodeStickyNote.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/nodes/render-types/__snapshots__/{CanvasNodeDefault.spec.ts.snap => CanvasNodeDefault.test.ts.snap} (100%) rename packages/editor-ui/src/components/canvas/elements/nodes/render-types/__snapshots__/{CanvasNodeStickyNote.spec.ts.snap => CanvasNodeStickyNote.test.ts.snap} (100%) rename packages/editor-ui/src/components/canvas/elements/nodes/render-types/parts/{CanvasNodeDisabledStrikeThrough.spec.ts => CanvasNodeDisabledStrikeThrough.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/nodes/render-types/parts/{CanvasNodeStatusIcons.spec.ts => CanvasNodeStatusIcons.test.ts} (100%) rename packages/editor-ui/src/components/canvas/elements/nodes/toolbar/{CanvasNodeStickyColorSelector.spec.ts => CanvasNodeStickyColorSelector.test.ts} (100%) rename packages/editor-ui/src/composables/__snapshots__/{useBugReporting.spec.ts.snap => useBugReporting.test.ts.snap} (100%) rename packages/editor-ui/src/composables/__snapshots__/{useCanvasOperations.spec.ts.snap => useCanvasOperations.test.ts.snap} (100%) rename packages/editor-ui/src/composables/__snapshots__/{useDebugInfo.spec.ts.snap => useDebugInfo.test.ts.snap} (100%) rename packages/editor-ui/src/composables/{useBugReporting.spec.ts => useBugReporting.test.ts} (100%) rename packages/editor-ui/src/composables/{useCanvasMapping.spec.ts => useCanvasMapping.test.ts} (100%) rename packages/editor-ui/src/composables/{useCanvasNode.spec.ts => useCanvasNode.test.ts} (100%) rename packages/editor-ui/src/composables/{useCanvasOperations.spec.ts => useCanvasOperations.test.ts} (100%) rename packages/editor-ui/src/composables/{useDebugInfo.spec.ts => useDebugInfo.test.ts} (100%) rename packages/editor-ui/src/composables/{useExecutionDebugging.spec.ts => useExecutionDebugging.test.ts} (100%) rename packages/editor-ui/src/composables/{useNodeBase.spec.ts => useNodeBase.test.ts} (100%) rename packages/editor-ui/src/composables/{useNodeConnections.spec.ts => useNodeConnections.test.ts} (100%) rename packages/editor-ui/src/composables/{usePushConnection.spec.ts => usePushConnection.test.ts} (100%) rename packages/editor-ui/src/composables/{useRunWorkflow.spec.ts => useRunWorkflow.test.ts} (100%) rename packages/editor-ui/src/composables/{useStyles.spec.ts => useStyles.test.ts} (100%) rename packages/editor-ui/src/composables/{useWorkflowHelpers.spec.ts => useWorkflowHelpers.test.ts} (100%) rename packages/editor-ui/src/mixins/{workflowHelpers.spec.ts => workflowHelpers.test.ts} (100%) rename packages/editor-ui/src/{permissions.spec.ts => permissions.test.ts} (100%) rename packages/editor-ui/src/plugins/{sentry.spec.ts => sentry.test.ts} (100%) rename packages/editor-ui/src/stores/{credentials.spec.ts => credentials.test.ts} (100%) rename packages/editor-ui/src/stores/{environments.spec.ts => environments.test.ts} (100%) rename packages/editor-ui/src/stores/{npsStore.store.spec.ts => npsStore.store.test.ts} (100%) rename packages/editor-ui/src/stores/{workflows.store.spec.ts => workflows.store.test.ts} (100%) rename packages/editor-ui/src/utils/{apiUtils.spec.ts => apiUtils.test.ts} (100%) rename packages/editor-ui/src/utils/{canvasUtilsV2.spec.ts => canvasUtilsV2.test.ts} (100%) rename packages/editor-ui/src/utils/{executionUtils.spec.ts => executionUtils.test.ts} (100%) rename packages/editor-ui/src/utils/{htmlUtils.spec.ts => htmlUtils.test.ts} (100%) rename packages/editor-ui/src/utils/{nodeViewUtils.spec.ts => nodeViewUtils.test.ts} (100%) rename packages/editor-ui/src/views/{VariablesView.spec.ts => VariablesView.test.ts} (100%) diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 330174e6dd..68bd149419 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -15,3 +15,4 @@ # refactor: Move test files alongside tested files (#11504) 7e58fc4fec468aca0b45d5bfe6150e1af632acbc +f32b13c6ed078be042a735bc8621f27e00dc3116 diff --git a/packages/design-system/src/components/AskAssistantAvatar/__tests__/AskAssistantAvatar.spec.ts b/packages/design-system/src/components/AskAssistantAvatar/AskAssistantAvatar.test.ts similarity index 89% rename from packages/design-system/src/components/AskAssistantAvatar/__tests__/AskAssistantAvatar.spec.ts rename to packages/design-system/src/components/AskAssistantAvatar/AskAssistantAvatar.test.ts index f77e9d1e37..c6392f2305 100644 --- a/packages/design-system/src/components/AskAssistantAvatar/__tests__/AskAssistantAvatar.spec.ts +++ b/packages/design-system/src/components/AskAssistantAvatar/AskAssistantAvatar.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import AssistantAvatar from '../AssistantAvatar.vue'; +import AssistantAvatar from './AssistantAvatar.vue'; describe('AskAssistantAvatar', () => { it('renders small avatar correctly', () => { diff --git a/packages/design-system/src/components/AskAssistantAvatar/__tests__/__snapshots__/AskAssistantAvatar.spec.ts.snap b/packages/design-system/src/components/AskAssistantAvatar/__snapshots__/AskAssistantAvatar.test.ts.snap similarity index 100% rename from packages/design-system/src/components/AskAssistantAvatar/__tests__/__snapshots__/AskAssistantAvatar.spec.ts.snap rename to packages/design-system/src/components/AskAssistantAvatar/__snapshots__/AskAssistantAvatar.test.ts.snap diff --git a/packages/design-system/src/components/AskAssistantButton/__tests__/AskAssistantButton.spec.ts b/packages/design-system/src/components/AskAssistantButton/AskAssistantButton.test.ts similarity index 88% rename from packages/design-system/src/components/AskAssistantButton/__tests__/AskAssistantButton.spec.ts rename to packages/design-system/src/components/AskAssistantButton/AskAssistantButton.test.ts index 3edf52e279..a0e669352c 100644 --- a/packages/design-system/src/components/AskAssistantButton/__tests__/AskAssistantButton.spec.ts +++ b/packages/design-system/src/components/AskAssistantButton/AskAssistantButton.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import AskAssistantButton from '../AskAssistantButton.vue'; +import AskAssistantButton from './AskAssistantButton.vue'; describe('AskAssistantButton', () => { it('renders default button correctly', () => { diff --git a/packages/design-system/src/components/AskAssistantButton/__tests__/__snapshots__/AskAssistantButton.spec.ts.snap b/packages/design-system/src/components/AskAssistantButton/__snapshots__/AskAssistantButton.test.ts.snap similarity index 100% rename from packages/design-system/src/components/AskAssistantButton/__tests__/__snapshots__/AskAssistantButton.spec.ts.snap rename to packages/design-system/src/components/AskAssistantButton/__snapshots__/AskAssistantButton.test.ts.snap diff --git a/packages/design-system/src/components/AskAssistantChat/__tests__/AskAssistantChat.spec.ts b/packages/design-system/src/components/AskAssistantChat/AskAssistantChat.test.ts similarity index 99% rename from packages/design-system/src/components/AskAssistantChat/__tests__/AskAssistantChat.spec.ts rename to packages/design-system/src/components/AskAssistantChat/AskAssistantChat.test.ts index 003755561e..9874965e82 100644 --- a/packages/design-system/src/components/AskAssistantChat/__tests__/AskAssistantChat.spec.ts +++ b/packages/design-system/src/components/AskAssistantChat/AskAssistantChat.test.ts @@ -2,7 +2,7 @@ import { render } from '@testing-library/vue'; import { n8nHtml } from 'n8n-design-system/directives'; -import AskAssistantChat from '../AskAssistantChat.vue'; +import AskAssistantChat from './AskAssistantChat.vue'; const stubs = ['n8n-avatar', 'n8n-button', 'n8n-icon', 'n8n-icon-button']; diff --git a/packages/design-system/src/components/AskAssistantChat/__tests__/__snapshots__/AskAssistantChat.spec.ts.snap b/packages/design-system/src/components/AskAssistantChat/__snapshots__/AskAssistantChat.test.ts.snap similarity index 100% rename from packages/design-system/src/components/AskAssistantChat/__tests__/__snapshots__/AskAssistantChat.spec.ts.snap rename to packages/design-system/src/components/AskAssistantChat/__snapshots__/AskAssistantChat.test.ts.snap diff --git a/packages/design-system/src/components/AskAssistantIcon/__tests__/AssistantIcon.spec.ts b/packages/design-system/src/components/AskAssistantIcon/AssistantIcon.test.ts similarity index 95% rename from packages/design-system/src/components/AskAssistantIcon/__tests__/AssistantIcon.spec.ts rename to packages/design-system/src/components/AskAssistantIcon/AssistantIcon.test.ts index 0ad1b13d19..bc88be2a83 100644 --- a/packages/design-system/src/components/AskAssistantIcon/__tests__/AssistantIcon.spec.ts +++ b/packages/design-system/src/components/AskAssistantIcon/AssistantIcon.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import AssistantIcon from '../AssistantIcon.vue'; +import AssistantIcon from './AssistantIcon.vue'; describe('AssistantIcon', () => { it('renders default icon correctly', () => { diff --git a/packages/design-system/src/components/AskAssistantIcon/__tests__/__snapshots__/AssistantIcon.spec.ts.snap b/packages/design-system/src/components/AskAssistantIcon/__snapshots__/AssistantIcon.test.ts.snap similarity index 100% rename from packages/design-system/src/components/AskAssistantIcon/__tests__/__snapshots__/AssistantIcon.spec.ts.snap rename to packages/design-system/src/components/AskAssistantIcon/__snapshots__/AssistantIcon.test.ts.snap diff --git a/packages/design-system/src/components/AskAssistantLoadingMessage/__tests__/AskAssistantLoadingMessage.spec.ts b/packages/design-system/src/components/AskAssistantLoadingMessage/AskAssistantLoadingMessage.test.ts similarity index 81% rename from packages/design-system/src/components/AskAssistantLoadingMessage/__tests__/AskAssistantLoadingMessage.spec.ts rename to packages/design-system/src/components/AskAssistantLoadingMessage/AskAssistantLoadingMessage.test.ts index 218414391c..4284dcd313 100644 --- a/packages/design-system/src/components/AskAssistantLoadingMessage/__tests__/AskAssistantLoadingMessage.spec.ts +++ b/packages/design-system/src/components/AskAssistantLoadingMessage/AskAssistantLoadingMessage.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import AssistantLoadingMessage from '../AssistantLoadingMessage.vue'; +import AssistantLoadingMessage from './AssistantLoadingMessage.vue'; describe('AssistantLoadingMessage', () => { it('renders loading message correctly', () => { diff --git a/packages/design-system/src/components/AskAssistantLoadingMessage/__tests__/__snapshots__/AskAssistantLoadingMessage.spec.ts.snap b/packages/design-system/src/components/AskAssistantLoadingMessage/__snapshots__/AskAssistantLoadingMessage.test.ts.snap similarity index 100% rename from packages/design-system/src/components/AskAssistantLoadingMessage/__tests__/__snapshots__/AskAssistantLoadingMessage.spec.ts.snap rename to packages/design-system/src/components/AskAssistantLoadingMessage/__snapshots__/AskAssistantLoadingMessage.test.ts.snap diff --git a/packages/design-system/src/components/AskAssistantText/__tests__/AssistantText.spec.ts b/packages/design-system/src/components/AskAssistantText/AssistantText.test.ts similarity index 94% rename from packages/design-system/src/components/AskAssistantText/__tests__/AssistantText.spec.ts rename to packages/design-system/src/components/AskAssistantText/AssistantText.test.ts index 30aa136674..1bbfeab8cb 100644 --- a/packages/design-system/src/components/AskAssistantText/__tests__/AssistantText.spec.ts +++ b/packages/design-system/src/components/AskAssistantText/AssistantText.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import AssistantText from '../AssistantText.vue'; +import AssistantText from './AssistantText.vue'; describe('AssistantText', () => { it('renders default text correctly', () => { diff --git a/packages/design-system/src/components/AskAssistantText/__tests__/__snapshots__/AssistantText.spec.ts.snap b/packages/design-system/src/components/AskAssistantText/__snapshots__/AssistantText.test.ts.snap similarity index 100% rename from packages/design-system/src/components/AskAssistantText/__tests__/__snapshots__/AssistantText.spec.ts.snap rename to packages/design-system/src/components/AskAssistantText/__snapshots__/AssistantText.test.ts.snap diff --git a/packages/design-system/src/components/BetaTag/__tests__/BetaTag.spec.ts b/packages/design-system/src/components/BetaTag/BetaTag.test.ts similarity index 84% rename from packages/design-system/src/components/BetaTag/__tests__/BetaTag.spec.ts rename to packages/design-system/src/components/BetaTag/BetaTag.test.ts index 7f92713ce8..b04d64329d 100644 --- a/packages/design-system/src/components/BetaTag/__tests__/BetaTag.spec.ts +++ b/packages/design-system/src/components/BetaTag/BetaTag.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import BetaTag from '../BetaTag.vue'; +import BetaTag from './BetaTag.vue'; describe('BetaTag', () => { it('renders beta tag correctly', () => { diff --git a/packages/design-system/src/components/BetaTag/__tests__/__snapshots__/BetaTag.spec.ts.snap b/packages/design-system/src/components/BetaTag/__snapshots__/BetaTag.test.ts.snap similarity index 100% rename from packages/design-system/src/components/BetaTag/__tests__/__snapshots__/BetaTag.spec.ts.snap rename to packages/design-system/src/components/BetaTag/__snapshots__/BetaTag.test.ts.snap diff --git a/packages/design-system/src/components/BlinkingCursor/__tests__/BlinkingCursor.spec.ts b/packages/design-system/src/components/BlinkingCursor/BlinkingCursor.test.ts similarity index 81% rename from packages/design-system/src/components/BlinkingCursor/__tests__/BlinkingCursor.spec.ts rename to packages/design-system/src/components/BlinkingCursor/BlinkingCursor.test.ts index 65c4193e8d..13bac6c61d 100644 --- a/packages/design-system/src/components/BlinkingCursor/__tests__/BlinkingCursor.spec.ts +++ b/packages/design-system/src/components/BlinkingCursor/BlinkingCursor.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import BlinkingCursor from '../BlinkingCursor.vue'; +import BlinkingCursor from './BlinkingCursor.vue'; describe('BlinkingCursor', () => { it('renders blinking cursor correctly', () => { diff --git a/packages/design-system/src/components/BlinkingCursor/__tests__/__snapshots__/BlinkingCursor.spec.ts.snap b/packages/design-system/src/components/BlinkingCursor/__snapshots__/BlinkingCursor.test.ts.snap similarity index 100% rename from packages/design-system/src/components/BlinkingCursor/__tests__/__snapshots__/BlinkingCursor.spec.ts.snap rename to packages/design-system/src/components/BlinkingCursor/__snapshots__/BlinkingCursor.test.ts.snap diff --git a/packages/design-system/src/components/CodeDiff/__tests__/CodeDiff.spec.ts b/packages/design-system/src/components/CodeDiff/CodeDiff.test.ts similarity index 98% rename from packages/design-system/src/components/CodeDiff/__tests__/CodeDiff.spec.ts rename to packages/design-system/src/components/CodeDiff/CodeDiff.test.ts index d23d49d6d1..e9a48ce737 100644 --- a/packages/design-system/src/components/CodeDiff/__tests__/CodeDiff.spec.ts +++ b/packages/design-system/src/components/CodeDiff/CodeDiff.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import CodeDiff from '../CodeDiff.vue'; +import CodeDiff from './CodeDiff.vue'; const stubs = ['n8n-button', 'n8n-icon']; diff --git a/packages/design-system/src/components/CodeDiff/__tests__/__snapshots__/CodeDiff.spec.ts.snap b/packages/design-system/src/components/CodeDiff/__snapshots__/CodeDiff.test.ts.snap similarity index 100% rename from packages/design-system/src/components/CodeDiff/__tests__/__snapshots__/CodeDiff.spec.ts.snap rename to packages/design-system/src/components/CodeDiff/__snapshots__/CodeDiff.test.ts.snap diff --git a/packages/design-system/src/components/ConditionalRouterLink/__tests__/ConditionalRouterLink.spec.ts b/packages/design-system/src/components/ConditionalRouterLink/ConditionalRouterLink.test.ts similarity index 95% rename from packages/design-system/src/components/ConditionalRouterLink/__tests__/ConditionalRouterLink.spec.ts rename to packages/design-system/src/components/ConditionalRouterLink/ConditionalRouterLink.test.ts index 250950d6d7..2689228c6b 100644 --- a/packages/design-system/src/components/ConditionalRouterLink/__tests__/ConditionalRouterLink.spec.ts +++ b/packages/design-system/src/components/ConditionalRouterLink/ConditionalRouterLink.test.ts @@ -2,7 +2,7 @@ import { render } from '@testing-library/vue'; import { beforeAll, describe } from 'vitest'; import { createRouter, createWebHistory } from 'vue-router'; -import CondtionalRouterLink from '../CondtionalRouterLink.vue'; +import CondtionalRouterLink from './CondtionalRouterLink.vue'; const slots = { default: 'Button', diff --git a/packages/design-system/src/components/ConditionalRouterLink/__tests__/__snapshots__/ConditionalRouterLink.spec.ts.snap b/packages/design-system/src/components/ConditionalRouterLink/__snapshots__/ConditionalRouterLink.test.ts.snap similarity index 100% rename from packages/design-system/src/components/ConditionalRouterLink/__tests__/__snapshots__/ConditionalRouterLink.spec.ts.snap rename to packages/design-system/src/components/ConditionalRouterLink/__snapshots__/ConditionalRouterLink.test.ts.snap diff --git a/packages/design-system/src/components/N8nActionBox/__tests__/ActionBox.spec.ts b/packages/design-system/src/components/N8nActionBox/ActionBox.test.ts similarity index 92% rename from packages/design-system/src/components/N8nActionBox/__tests__/ActionBox.spec.ts rename to packages/design-system/src/components/N8nActionBox/ActionBox.test.ts index 8bbbee267f..f336b5167d 100644 --- a/packages/design-system/src/components/N8nActionBox/__tests__/ActionBox.spec.ts +++ b/packages/design-system/src/components/N8nActionBox/ActionBox.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import N8NActionBox from '../ActionBox.vue'; +import N8NActionBox from './ActionBox.vue'; describe('N8NActionBox', () => { it('should render correctly', () => { diff --git a/packages/design-system/src/components/N8nActionBox/__tests__/__snapshots__/ActionBox.spec.ts.snap b/packages/design-system/src/components/N8nActionBox/__snapshots__/ActionBox.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nActionBox/__tests__/__snapshots__/ActionBox.spec.ts.snap rename to packages/design-system/src/components/N8nActionBox/__snapshots__/ActionBox.test.ts.snap diff --git a/packages/design-system/src/components/N8nActionDropdown/__tests__/ActionDropdown.spec.ts b/packages/design-system/src/components/N8nActionDropdown/ActionDropdown.test.ts similarity index 95% rename from packages/design-system/src/components/N8nActionDropdown/__tests__/ActionDropdown.spec.ts rename to packages/design-system/src/components/N8nActionDropdown/ActionDropdown.test.ts index 40c605f225..be6a810d14 100644 --- a/packages/design-system/src/components/N8nActionDropdown/__tests__/ActionDropdown.spec.ts +++ b/packages/design-system/src/components/N8nActionDropdown/ActionDropdown.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import N8nActionDropdown from '../ActionDropdown.vue'; +import N8nActionDropdown from './ActionDropdown.vue'; describe('components', () => { describe('N8nActionDropdown', () => { diff --git a/packages/design-system/src/components/N8nActionDropdown/__tests__/__snapshots__/ActionDropdown.spec.ts.snap b/packages/design-system/src/components/N8nActionDropdown/__snapshots__/ActionDropdown.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nActionDropdown/__tests__/__snapshots__/ActionDropdown.spec.ts.snap rename to packages/design-system/src/components/N8nActionDropdown/__snapshots__/ActionDropdown.test.ts.snap diff --git a/packages/design-system/src/components/N8nAlert/__tests__/Alert.spec.ts b/packages/design-system/src/components/N8nAlert/Alert.test.ts similarity index 93% rename from packages/design-system/src/components/N8nAlert/__tests__/Alert.spec.ts rename to packages/design-system/src/components/N8nAlert/Alert.test.ts index fe1d5d3aeb..9324e1054a 100644 --- a/packages/design-system/src/components/N8nAlert/__tests__/Alert.spec.ts +++ b/packages/design-system/src/components/N8nAlert/Alert.test.ts @@ -1,7 +1,7 @@ import { render, screen } from '@testing-library/vue'; -import N8nIcon from '../../N8nIcon'; -import N8nAlert from '../Alert.vue'; +import N8nAlert from './Alert.vue'; +import N8nIcon from '../N8nIcon'; describe('components', () => { describe('N8nAlert', () => { diff --git a/packages/design-system/src/components/N8nAvatar/__tests__/Avatar.test.ts b/packages/design-system/src/components/N8nAvatar/Avatar.test.ts similarity index 94% rename from packages/design-system/src/components/N8nAvatar/__tests__/Avatar.test.ts rename to packages/design-system/src/components/N8nAvatar/Avatar.test.ts index 3abc2b5b53..d4ea106390 100644 --- a/packages/design-system/src/components/N8nAvatar/__tests__/Avatar.test.ts +++ b/packages/design-system/src/components/N8nAvatar/Avatar.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import N8nAvatar from '../Avatar.vue'; +import N8nAvatar from './Avatar.vue'; describe('components', () => { describe('N8nAlert', () => { diff --git a/packages/design-system/src/components/N8nBadge/__tests__/Badge.spec.ts b/packages/design-system/src/components/N8nBadge/Badge.test.ts similarity index 96% rename from packages/design-system/src/components/N8nBadge/__tests__/Badge.spec.ts rename to packages/design-system/src/components/N8nBadge/Badge.test.ts index 20d6a29d84..0b8c4defd4 100644 --- a/packages/design-system/src/components/N8nBadge/__tests__/Badge.spec.ts +++ b/packages/design-system/src/components/N8nBadge/Badge.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import N8nBadge from '../Badge.vue'; +import N8nBadge from './Badge.vue'; describe('components', () => { describe('N8nBadge', () => { diff --git a/packages/design-system/src/components/N8nBadge/__tests__/__snapshots__/Badge.spec.ts.snap b/packages/design-system/src/components/N8nBadge/__snapshots__/Badge.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nBadge/__tests__/__snapshots__/Badge.spec.ts.snap rename to packages/design-system/src/components/N8nBadge/__snapshots__/Badge.test.ts.snap diff --git a/packages/design-system/src/components/N8nBlockUi/__tests__/BlockUi.spec.ts b/packages/design-system/src/components/N8nBlockUi/BlockUi.test.ts similarity index 91% rename from packages/design-system/src/components/N8nBlockUi/__tests__/BlockUi.spec.ts rename to packages/design-system/src/components/N8nBlockUi/BlockUi.test.ts index 2238f07b22..fa83b44e7f 100644 --- a/packages/design-system/src/components/N8nBlockUi/__tests__/BlockUi.spec.ts +++ b/packages/design-system/src/components/N8nBlockUi/BlockUi.test.ts @@ -1,6 +1,6 @@ import { render, screen } from '@testing-library/vue'; -import N8nBlockUi from '../BlockUi.vue'; +import N8nBlockUi from './BlockUi.vue'; describe('components', () => { describe('N8nBlockUi', () => { diff --git a/packages/design-system/src/components/N8nButton/__tests__/Button.spec.ts b/packages/design-system/src/components/N8nButton/Button.test.ts similarity index 97% rename from packages/design-system/src/components/N8nButton/__tests__/Button.spec.ts rename to packages/design-system/src/components/N8nButton/Button.test.ts index 371599f877..5b224594b2 100644 --- a/packages/design-system/src/components/N8nButton/__tests__/Button.spec.ts +++ b/packages/design-system/src/components/N8nButton/Button.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import N8nButton from '../Button.vue'; +import N8nButton from './Button.vue'; const slots = { default: 'Button', diff --git a/packages/design-system/src/components/N8nButton/__tests__/__snapshots__/Button.spec.ts.snap b/packages/design-system/src/components/N8nButton/__snapshots__/Button.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nButton/__tests__/__snapshots__/Button.spec.ts.snap rename to packages/design-system/src/components/N8nButton/__snapshots__/Button.test.ts.snap diff --git a/packages/design-system/src/components/N8nCallout/__tests__/Callout.spec.ts b/packages/design-system/src/components/N8nCallout/Callout.test.ts similarity index 98% rename from packages/design-system/src/components/N8nCallout/__tests__/Callout.spec.ts rename to packages/design-system/src/components/N8nCallout/Callout.test.ts index 782ce7c417..e308a73828 100644 --- a/packages/design-system/src/components/N8nCallout/__tests__/Callout.spec.ts +++ b/packages/design-system/src/components/N8nCallout/Callout.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import N8nCallout from '../Callout.vue'; +import N8nCallout from './Callout.vue'; describe('components', () => { describe('N8nCallout', () => { diff --git a/packages/design-system/src/components/N8nCallout/__tests__/__snapshots__/Callout.spec.ts.snap b/packages/design-system/src/components/N8nCallout/__snapshots__/Callout.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nCallout/__tests__/__snapshots__/Callout.spec.ts.snap rename to packages/design-system/src/components/N8nCallout/__snapshots__/Callout.test.ts.snap diff --git a/packages/design-system/src/components/N8nCard/__tests__/Card.spec.ts b/packages/design-system/src/components/N8nCard/Card.test.ts similarity index 94% rename from packages/design-system/src/components/N8nCard/__tests__/Card.spec.ts rename to packages/design-system/src/components/N8nCard/Card.test.ts index 3228a51e2b..544ce61c23 100644 --- a/packages/design-system/src/components/N8nCard/__tests__/Card.spec.ts +++ b/packages/design-system/src/components/N8nCard/Card.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import N8nCard from '../Card.vue'; +import N8nCard from './Card.vue'; describe('components', () => { describe('N8nCard', () => { diff --git a/packages/design-system/src/components/N8nCard/__tests__/__snapshots__/Card.spec.ts.snap b/packages/design-system/src/components/N8nCard/__snapshots__/Card.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nCard/__tests__/__snapshots__/Card.spec.ts.snap rename to packages/design-system/src/components/N8nCard/__snapshots__/Card.test.ts.snap diff --git a/packages/design-system/src/components/N8nCheckbox/__tests__/Checkbox.spec.ts b/packages/design-system/src/components/N8nCheckbox/Checkbox.test.ts similarity index 95% rename from packages/design-system/src/components/N8nCheckbox/__tests__/Checkbox.spec.ts rename to packages/design-system/src/components/N8nCheckbox/Checkbox.test.ts index 43ef21a9c5..ed80d59e64 100644 --- a/packages/design-system/src/components/N8nCheckbox/__tests__/Checkbox.spec.ts +++ b/packages/design-system/src/components/N8nCheckbox/Checkbox.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import N8nCheckbox from '../Checkbox.vue'; +import N8nCheckbox from './Checkbox.vue'; describe('components', () => { describe('N8nCheckbox', () => { diff --git a/packages/design-system/src/components/N8nCheckbox/__tests__/__snapshots__/Checkbox.spec.ts.snap b/packages/design-system/src/components/N8nCheckbox/__snapshots__/Checkbox.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nCheckbox/__tests__/__snapshots__/Checkbox.spec.ts.snap rename to packages/design-system/src/components/N8nCheckbox/__snapshots__/Checkbox.test.ts.snap diff --git a/packages/design-system/src/components/N8nCircleLoader/__tests__/CircleLoader.spec.ts b/packages/design-system/src/components/N8nCircleLoader/CircleLoader.test.ts similarity index 85% rename from packages/design-system/src/components/N8nCircleLoader/__tests__/CircleLoader.spec.ts rename to packages/design-system/src/components/N8nCircleLoader/CircleLoader.test.ts index 76b76d5a30..afe5a6b8f0 100644 --- a/packages/design-system/src/components/N8nCircleLoader/__tests__/CircleLoader.spec.ts +++ b/packages/design-system/src/components/N8nCircleLoader/CircleLoader.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import N8NCircleLoader from '../CircleLoader.vue'; +import N8NCircleLoader from './CircleLoader.vue'; describe('N8NCircleLoader', () => { it('should render correctly', () => { diff --git a/packages/design-system/src/components/N8nCircleLoader/__tests__/__snapshots__/CircleLoader.spec.ts.snap b/packages/design-system/src/components/N8nCircleLoader/__snapshots__/CircleLoader.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nCircleLoader/__tests__/__snapshots__/CircleLoader.spec.ts.snap rename to packages/design-system/src/components/N8nCircleLoader/__snapshots__/CircleLoader.test.ts.snap diff --git a/packages/design-system/src/components/N8nColorPicker/__tests__/ColorPicker.spec.ts b/packages/design-system/src/components/N8nColorPicker/ColorPicker.test.ts similarity index 91% rename from packages/design-system/src/components/N8nColorPicker/__tests__/ColorPicker.spec.ts rename to packages/design-system/src/components/N8nColorPicker/ColorPicker.test.ts index bf1253b8b9..62da81ee00 100644 --- a/packages/design-system/src/components/N8nColorPicker/__tests__/ColorPicker.spec.ts +++ b/packages/design-system/src/components/N8nColorPicker/ColorPicker.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import N8nColorPicker from '../ColorPicker.vue'; +import N8nColorPicker from './ColorPicker.vue'; describe('components', () => { describe('N8nColorPicker', () => { diff --git a/packages/design-system/src/components/N8nColorPicker/__tests__/__snapshots__/ColorPicker.spec.ts.snap b/packages/design-system/src/components/N8nColorPicker/__snapshots__/ColorPicker.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nColorPicker/__tests__/__snapshots__/ColorPicker.spec.ts.snap rename to packages/design-system/src/components/N8nColorPicker/__snapshots__/ColorPicker.test.ts.snap diff --git a/packages/design-system/src/components/N8nDatatable/__tests__/Datatable.spec.ts b/packages/design-system/src/components/N8nDatatable/Datatable.test.ts similarity index 96% rename from packages/design-system/src/components/N8nDatatable/__tests__/Datatable.spec.ts rename to packages/design-system/src/components/N8nDatatable/Datatable.test.ts index c19fa3ca0d..de8659c71c 100644 --- a/packages/design-system/src/components/N8nDatatable/__tests__/Datatable.spec.ts +++ b/packages/design-system/src/components/N8nDatatable/Datatable.test.ts @@ -2,8 +2,8 @@ import { render } from '@testing-library/vue'; import { removeDynamicAttributes } from 'n8n-design-system/utils'; -import { rows, columns } from './data'; -import N8nDatatable from '../Datatable.vue'; +import { rows, columns } from './__tests__/data'; +import N8nDatatable from './Datatable.vue'; const stubs = [ 'n8n-option', diff --git a/packages/design-system/src/components/N8nDatatable/__tests__/__snapshots__/Datatable.spec.ts.snap b/packages/design-system/src/components/N8nDatatable/__snapshots__/Datatable.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nDatatable/__tests__/__snapshots__/Datatable.spec.ts.snap rename to packages/design-system/src/components/N8nDatatable/__snapshots__/Datatable.test.ts.snap diff --git a/packages/design-system/src/components/N8nFormBox/__tests__/FormBox.test.ts b/packages/design-system/src/components/N8nFormBox/FormBox.test.ts similarity index 91% rename from packages/design-system/src/components/N8nFormBox/__tests__/FormBox.test.ts rename to packages/design-system/src/components/N8nFormBox/FormBox.test.ts index a309e1aa40..268c70c060 100644 --- a/packages/design-system/src/components/N8nFormBox/__tests__/FormBox.test.ts +++ b/packages/design-system/src/components/N8nFormBox/FormBox.test.ts @@ -1,5 +1,5 @@ -import { createComponentRenderer } from '../../../__tests__/render'; -import FormBox from '../FormBox.vue'; +import FormBox from './FormBox.vue'; +import { createComponentRenderer } from '../../__tests__/render'; const render = createComponentRenderer(FormBox); diff --git a/packages/design-system/src/components/N8nFormBox/__tests__/__snapshots__/FormBox.test.ts.snap b/packages/design-system/src/components/N8nFormBox/__snapshots__/FormBox.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nFormBox/__tests__/__snapshots__/FormBox.test.ts.snap rename to packages/design-system/src/components/N8nFormBox/__snapshots__/FormBox.test.ts.snap diff --git a/packages/design-system/src/components/N8nInfoTip/__tests__/InfoTip.spec.ts b/packages/design-system/src/components/N8nInfoTip/InfoTip.test.ts similarity index 93% rename from packages/design-system/src/components/N8nInfoTip/__tests__/InfoTip.spec.ts rename to packages/design-system/src/components/N8nInfoTip/InfoTip.test.ts index ce3eb230fa..8f4e905138 100644 --- a/packages/design-system/src/components/N8nInfoTip/__tests__/InfoTip.spec.ts +++ b/packages/design-system/src/components/N8nInfoTip/InfoTip.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import N8nInfoTip from '../InfoTip.vue'; +import N8nInfoTip from './InfoTip.vue'; const slots = { default: ['Need help doing something?', 'Open docs'], diff --git a/packages/design-system/src/components/N8nInfoTip/__tests__/__snapshots__/InfoTip.spec.ts.snap b/packages/design-system/src/components/N8nInfoTip/__snapshots__/InfoTip.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nInfoTip/__tests__/__snapshots__/InfoTip.spec.ts.snap rename to packages/design-system/src/components/N8nInfoTip/__snapshots__/InfoTip.test.ts.snap diff --git a/packages/design-system/src/components/N8nInput/__tests__/Input.spec.ts b/packages/design-system/src/components/N8nInput/Input.test.ts similarity index 94% rename from packages/design-system/src/components/N8nInput/__tests__/Input.spec.ts rename to packages/design-system/src/components/N8nInput/Input.test.ts index cea5a1f006..41b1d1636d 100644 --- a/packages/design-system/src/components/N8nInput/__tests__/Input.spec.ts +++ b/packages/design-system/src/components/N8nInput/Input.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import N8nInput from '../Input.vue'; +import N8nInput from './Input.vue'; describe('N8nInput', () => { it('should render correctly', () => { diff --git a/packages/design-system/src/components/N8nInput/__tests__/__snapshots__/Input.spec.ts.snap b/packages/design-system/src/components/N8nInput/__snapshots__/Input.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nInput/__tests__/__snapshots__/Input.spec.ts.snap rename to packages/design-system/src/components/N8nInput/__snapshots__/Input.test.ts.snap diff --git a/packages/design-system/src/components/N8nInputLabel/__tests__/InputLabel.spec.ts b/packages/design-system/src/components/N8nInputLabel/InputLabel.test.ts similarity index 93% rename from packages/design-system/src/components/N8nInputLabel/__tests__/InputLabel.spec.ts rename to packages/design-system/src/components/N8nInputLabel/InputLabel.test.ts index ab46c89e12..841be5e147 100644 --- a/packages/design-system/src/components/N8nInputLabel/__tests__/InputLabel.spec.ts +++ b/packages/design-system/src/components/N8nInputLabel/InputLabel.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import InputLabel from '../InputLabel.vue'; +import InputLabel from './InputLabel.vue'; describe('component', () => { describe('Text overflow behavior', () => { diff --git a/packages/design-system/src/components/N8nInputLabel/__tests__/__snapshots__/InputLabel.spec.ts.snap b/packages/design-system/src/components/N8nInputLabel/__snapshots__/InputLabel.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nInputLabel/__tests__/__snapshots__/InputLabel.spec.ts.snap rename to packages/design-system/src/components/N8nInputLabel/__snapshots__/InputLabel.test.ts.snap diff --git a/packages/design-system/src/components/N8nMarkdown/__tests__/Markdown.spec.ts b/packages/design-system/src/components/N8nMarkdown/Markdown.test.ts similarity index 98% rename from packages/design-system/src/components/N8nMarkdown/__tests__/Markdown.spec.ts rename to packages/design-system/src/components/N8nMarkdown/Markdown.test.ts index d9671464d2..0e77779b5d 100644 --- a/packages/design-system/src/components/N8nMarkdown/__tests__/Markdown.spec.ts +++ b/packages/design-system/src/components/N8nMarkdown/Markdown.test.ts @@ -2,7 +2,7 @@ import { render, fireEvent } from '@testing-library/vue'; import { n8nHtml } from 'n8n-design-system/directives'; -import N8nMarkdown from '../Markdown.vue'; +import N8nMarkdown from './Markdown.vue'; describe('components', () => { describe('N8nMarkdown', () => { diff --git a/packages/design-system/src/components/N8nNavigationDropdown/__tests__/NavigationDropdown.spec.ts b/packages/design-system/src/components/N8nNavigationDropdown/NavigationDropdown.test.ts similarity index 98% rename from packages/design-system/src/components/N8nNavigationDropdown/__tests__/NavigationDropdown.spec.ts rename to packages/design-system/src/components/N8nNavigationDropdown/NavigationDropdown.test.ts index 465f1f0c2b..adb73aa6d1 100644 --- a/packages/design-system/src/components/N8nNavigationDropdown/__tests__/NavigationDropdown.spec.ts +++ b/packages/design-system/src/components/N8nNavigationDropdown/NavigationDropdown.test.ts @@ -3,7 +3,7 @@ import { configure, render, waitFor } from '@testing-library/vue'; import { h } from 'vue'; import { createRouter, createWebHistory } from 'vue-router'; -import NavigationDropdown from '../NavigationDropdown.vue'; +import NavigationDropdown from './NavigationDropdown.vue'; configure({ testIdAttribute: 'data-test-id' }); diff --git a/packages/design-system/src/components/N8nNotice/__tests__/Notice.spec.ts b/packages/design-system/src/components/N8nNotice/Notice.test.ts similarity index 97% rename from packages/design-system/src/components/N8nNotice/__tests__/Notice.spec.ts rename to packages/design-system/src/components/N8nNotice/Notice.test.ts index 25c098b558..8ef26d1a9c 100644 --- a/packages/design-system/src/components/N8nNotice/__tests__/Notice.spec.ts +++ b/packages/design-system/src/components/N8nNotice/Notice.test.ts @@ -3,7 +3,7 @@ import { render } from '@testing-library/vue'; import { N8nText } from 'n8n-design-system/components'; import { n8nHtml } from 'n8n-design-system/directives'; -import N8nNotice from '../Notice.vue'; +import N8nNotice from './Notice.vue'; describe('components', () => { describe('N8nNotice', () => { diff --git a/packages/design-system/src/components/N8nNotice/__tests__/__snapshots__/Notice.spec.ts.snap b/packages/design-system/src/components/N8nNotice/__snapshots__/Notice.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nNotice/__tests__/__snapshots__/Notice.spec.ts.snap rename to packages/design-system/src/components/N8nNotice/__snapshots__/Notice.test.ts.snap diff --git a/packages/design-system/src/components/N8nRecycleScroller/__tests__/RecycleScroller.spec.ts b/packages/design-system/src/components/N8nRecycleScroller/RecycleScroller.test.ts similarity index 91% rename from packages/design-system/src/components/N8nRecycleScroller/__tests__/RecycleScroller.spec.ts rename to packages/design-system/src/components/N8nRecycleScroller/RecycleScroller.test.ts index 85c83db428..8324ef9aa2 100644 --- a/packages/design-system/src/components/N8nRecycleScroller/__tests__/RecycleScroller.spec.ts +++ b/packages/design-system/src/components/N8nRecycleScroller/RecycleScroller.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import N8nRecycleScroller from '../RecycleScroller.vue'; +import N8nRecycleScroller from './RecycleScroller.vue'; const itemSize = 100; const itemKey = 'id'; diff --git a/packages/design-system/src/components/N8nRecycleScroller/__tests__/__snapshots__/RecycleScroller.spec.ts.snap b/packages/design-system/src/components/N8nRecycleScroller/__snapshots__/RecycleScroller.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nRecycleScroller/__tests__/__snapshots__/RecycleScroller.spec.ts.snap rename to packages/design-system/src/components/N8nRecycleScroller/__snapshots__/RecycleScroller.test.ts.snap diff --git a/packages/design-system/src/components/N8nRoute/__tests__/Route.spec.ts b/packages/design-system/src/components/N8nRoute/Route.test.ts similarity index 94% rename from packages/design-system/src/components/N8nRoute/__tests__/Route.spec.ts rename to packages/design-system/src/components/N8nRoute/Route.test.ts index 430c8f1ae0..ea307826d4 100644 --- a/packages/design-system/src/components/N8nRoute/__tests__/Route.spec.ts +++ b/packages/design-system/src/components/N8nRoute/Route.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import N8nRoute from '../Route.vue'; +import N8nRoute from './Route.vue'; describe('N8nRoute', () => { it('should render internal router links', () => { diff --git a/packages/design-system/src/components/N8nRoute/__tests__/__snapshots__/Route.spec.ts.snap b/packages/design-system/src/components/N8nRoute/__snapshots__/Route.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nRoute/__tests__/__snapshots__/Route.spec.ts.snap rename to packages/design-system/src/components/N8nRoute/__snapshots__/Route.test.ts.snap diff --git a/packages/design-system/src/components/N8nSelect/__tests__/Select.spec.ts b/packages/design-system/src/components/N8nSelect/Select.test.ts similarity index 95% rename from packages/design-system/src/components/N8nSelect/__tests__/Select.spec.ts rename to packages/design-system/src/components/N8nSelect/Select.test.ts index bba6055e46..9aafcf2bff 100644 --- a/packages/design-system/src/components/N8nSelect/__tests__/Select.spec.ts +++ b/packages/design-system/src/components/N8nSelect/Select.test.ts @@ -4,8 +4,8 @@ import { defineComponent, ref } from 'vue'; import { removeDynamicAttributes } from 'n8n-design-system/utils'; -import N8nOption from '../../N8nOption/Option.vue'; -import N8nSelect from '../Select.vue'; +import N8nSelect from './Select.vue'; +import N8nOption from '../N8nOption/Option.vue'; describe('components', () => { describe('N8nSelect', () => { diff --git a/packages/design-system/src/components/N8nSelect/__tests__/__snapshots__/Select.spec.ts.snap b/packages/design-system/src/components/N8nSelect/__snapshots__/Select.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nSelect/__tests__/__snapshots__/Select.spec.ts.snap rename to packages/design-system/src/components/N8nSelect/__snapshots__/Select.test.ts.snap diff --git a/packages/design-system/src/components/N8nTooltip/__tests__/Tooltip.spec.ts b/packages/design-system/src/components/N8nTooltip/Tooltip.test.ts similarity index 95% rename from packages/design-system/src/components/N8nTooltip/__tests__/Tooltip.spec.ts rename to packages/design-system/src/components/N8nTooltip/Tooltip.test.ts index 8fe4219d2d..230a239910 100644 --- a/packages/design-system/src/components/N8nTooltip/__tests__/Tooltip.spec.ts +++ b/packages/design-system/src/components/N8nTooltip/Tooltip.test.ts @@ -1,7 +1,7 @@ import userEvent from '@testing-library/user-event'; import { render } from '@testing-library/vue'; -import N8nTooltip from '../Tooltip.vue'; +import N8nTooltip from './Tooltip.vue'; describe('components', () => { describe('N8nTooltip', () => { diff --git a/packages/design-system/src/components/N8nTree/__tests__/Tree.spec.ts b/packages/design-system/src/components/N8nTree/Tree.test.ts similarity index 97% rename from packages/design-system/src/components/N8nTree/__tests__/Tree.spec.ts rename to packages/design-system/src/components/N8nTree/Tree.test.ts index 1728a6f9fc..8266d03f6a 100644 --- a/packages/design-system/src/components/N8nTree/__tests__/Tree.spec.ts +++ b/packages/design-system/src/components/N8nTree/Tree.test.ts @@ -1,6 +1,6 @@ import { render } from '@testing-library/vue'; -import N8nTree from '../Tree.vue'; +import N8nTree from './Tree.vue'; describe('components', () => { describe('N8nTree', () => { diff --git a/packages/design-system/src/components/N8nTree/__tests__/__snapshots__/Tree.spec.ts.snap b/packages/design-system/src/components/N8nTree/__snapshots__/Tree.test.ts.snap similarity index 100% rename from packages/design-system/src/components/N8nTree/__tests__/__snapshots__/Tree.spec.ts.snap rename to packages/design-system/src/components/N8nTree/__snapshots__/Tree.test.ts.snap diff --git a/packages/design-system/src/components/N8nUserStack/__tests__/UserStack.spec.ts b/packages/design-system/src/components/N8nUserStack/UserStack.test.ts similarity index 98% rename from packages/design-system/src/components/N8nUserStack/__tests__/UserStack.spec.ts rename to packages/design-system/src/components/N8nUserStack/UserStack.test.ts index b08fe3d3d3..1b5ae600ae 100644 --- a/packages/design-system/src/components/N8nUserStack/__tests__/UserStack.spec.ts +++ b/packages/design-system/src/components/N8nUserStack/UserStack.test.ts @@ -2,7 +2,7 @@ import { render } from '@testing-library/vue'; import { N8nAvatar, N8nUserInfo } from 'n8n-design-system/main'; -import UserStack from '../UserStack.vue'; +import UserStack from './UserStack.vue'; describe('UserStack', () => { it('should render flat user list', () => { diff --git a/packages/design-system/src/styleguide/__tests__/ColorCircles.spec.ts b/packages/design-system/src/styleguide/ColorCircles.test.ts similarity index 94% rename from packages/design-system/src/styleguide/__tests__/ColorCircles.spec.ts rename to packages/design-system/src/styleguide/ColorCircles.test.ts index 0e8f7cb479..3f82ff2a18 100644 --- a/packages/design-system/src/styleguide/__tests__/ColorCircles.spec.ts +++ b/packages/design-system/src/styleguide/ColorCircles.test.ts @@ -1,7 +1,7 @@ import { render } from '@testing-library/vue'; import { mock, mockClear } from 'vitest-mock-extended'; -import ColorCircles from '../ColorCircles.vue'; +import ColorCircles from './ColorCircles.vue'; describe('ColorCircles', () => { const mockCssDeclaration = mock(); diff --git a/packages/design-system/src/styleguide/__tests__/Sizes.spec.ts b/packages/design-system/src/styleguide/Sizes.test.ts similarity index 94% rename from packages/design-system/src/styleguide/__tests__/Sizes.spec.ts rename to packages/design-system/src/styleguide/Sizes.test.ts index 9ac613c4d3..2a7f6d916f 100644 --- a/packages/design-system/src/styleguide/__tests__/Sizes.spec.ts +++ b/packages/design-system/src/styleguide/Sizes.test.ts @@ -1,7 +1,7 @@ import { render } from '@testing-library/vue'; import { mock, mockClear } from 'vitest-mock-extended'; -import Sizes from '../Sizes.vue'; +import Sizes from './Sizes.vue'; describe('Sizes', () => { const mockCssDeclaration = mock(); diff --git a/packages/design-system/src/styleguide/__tests__/__snapshots__/ColorCircles.spec.ts.snap b/packages/design-system/src/styleguide/__snapshots__/ColorCircles.test.ts.snap similarity index 100% rename from packages/design-system/src/styleguide/__tests__/__snapshots__/ColorCircles.spec.ts.snap rename to packages/design-system/src/styleguide/__snapshots__/ColorCircles.test.ts.snap diff --git a/packages/design-system/src/styleguide/__tests__/__snapshots__/Sizes.spec.ts.snap b/packages/design-system/src/styleguide/__snapshots__/Sizes.test.ts.snap similarity index 100% rename from packages/design-system/src/styleguide/__tests__/__snapshots__/Sizes.spec.ts.snap rename to packages/design-system/src/styleguide/__snapshots__/Sizes.test.ts.snap diff --git a/packages/design-system/src/utils/__tests__/event-bus.spec.ts b/packages/design-system/src/utils/event-bus.test.ts similarity index 97% rename from packages/design-system/src/utils/__tests__/event-bus.spec.ts rename to packages/design-system/src/utils/event-bus.test.ts index 2fb0735404..0d1500dc54 100644 --- a/packages/design-system/src/utils/__tests__/event-bus.spec.ts +++ b/packages/design-system/src/utils/event-bus.test.ts @@ -1,4 +1,4 @@ -import { createEventBus } from '../event-bus'; +import { createEventBus } from './event-bus'; describe('createEventBus()', () => { const eventBus = createEventBus(); diff --git a/packages/design-system/src/utils/labelUtil.spec.ts b/packages/design-system/src/utils/labelUtil.test.ts similarity index 100% rename from packages/design-system/src/utils/labelUtil.spec.ts rename to packages/design-system/src/utils/labelUtil.test.ts diff --git a/packages/design-system/src/utils/__tests__/markdown.spec.ts b/packages/design-system/src/utils/markdown.test.ts similarity index 95% rename from packages/design-system/src/utils/__tests__/markdown.spec.ts rename to packages/design-system/src/utils/markdown.test.ts index c712b94048..d2d3d0089f 100644 --- a/packages/design-system/src/utils/__tests__/markdown.spec.ts +++ b/packages/design-system/src/utils/markdown.test.ts @@ -1,4 +1,4 @@ -import { toggleCheckbox } from '../markdown'; +import { toggleCheckbox } from './markdown'; describe('toggleCheckbox', () => { it('should do nothing when there are no checkboxes', () => { diff --git a/packages/design-system/src/utils/__tests__/valueByPath.spec.ts b/packages/design-system/src/utils/valueByPath.test.ts similarity index 100% rename from packages/design-system/src/utils/__tests__/valueByPath.spec.ts rename to packages/design-system/src/utils/valueByPath.test.ts diff --git a/packages/editor-ui/src/components/CommunityPackageInstallModal.spec.ts b/packages/editor-ui/src/components/CommunityPackageInstallModal.test.ts similarity index 100% rename from packages/editor-ui/src/components/CommunityPackageInstallModal.spec.ts rename to packages/editor-ui/src/components/CommunityPackageInstallModal.test.ts diff --git a/packages/editor-ui/src/components/Feedback.spec.ts b/packages/editor-ui/src/components/Feedback.test.ts similarity index 100% rename from packages/editor-ui/src/components/Feedback.spec.ts rename to packages/editor-ui/src/components/Feedback.test.ts diff --git a/packages/editor-ui/src/components/MainHeader/TabBar.spec.ts b/packages/editor-ui/src/components/MainHeader/TabBar.test.ts similarity index 100% rename from packages/editor-ui/src/components/MainHeader/TabBar.spec.ts rename to packages/editor-ui/src/components/MainHeader/TabBar.test.ts diff --git a/packages/editor-ui/src/components/MainHeader/WorkflowDetails.spec.ts b/packages/editor-ui/src/components/MainHeader/WorkflowDetails.test.ts similarity index 100% rename from packages/editor-ui/src/components/MainHeader/WorkflowDetails.spec.ts rename to packages/editor-ui/src/components/MainHeader/WorkflowDetails.test.ts diff --git a/packages/editor-ui/src/components/NDVSubConnections.spec.ts b/packages/editor-ui/src/components/NDVSubConnections.test.ts similarity index 100% rename from packages/editor-ui/src/components/NDVSubConnections.spec.ts rename to packages/editor-ui/src/components/NDVSubConnections.test.ts diff --git a/packages/editor-ui/src/components/VariablesRow.spec.ts b/packages/editor-ui/src/components/VariablesRow.test.ts similarity index 100% rename from packages/editor-ui/src/components/VariablesRow.spec.ts rename to packages/editor-ui/src/components/VariablesRow.test.ts diff --git a/packages/editor-ui/src/components/WorkflowSettings.spec.ts b/packages/editor-ui/src/components/WorkflowSettings.test.ts similarity index 100% rename from packages/editor-ui/src/components/WorkflowSettings.spec.ts rename to packages/editor-ui/src/components/WorkflowSettings.test.ts diff --git a/packages/editor-ui/src/components/banners/V1Banner.spec.ts b/packages/editor-ui/src/components/banners/V1Banner.test.ts similarity index 100% rename from packages/editor-ui/src/components/banners/V1Banner.spec.ts rename to packages/editor-ui/src/components/banners/V1Banner.test.ts diff --git a/packages/editor-ui/src/components/banners/__snapshots__/V1Banner.spec.ts.snap b/packages/editor-ui/src/components/banners/__snapshots__/V1Banner.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/banners/__snapshots__/V1Banner.spec.ts.snap rename to packages/editor-ui/src/components/banners/__snapshots__/V1Banner.test.ts.snap diff --git a/packages/editor-ui/src/components/canvas/Canvas.spec.ts b/packages/editor-ui/src/components/canvas/Canvas.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/Canvas.spec.ts rename to packages/editor-ui/src/components/canvas/Canvas.test.ts diff --git a/packages/editor-ui/src/components/canvas/WorkflowCanvas.spec.ts b/packages/editor-ui/src/components/canvas/WorkflowCanvas.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/WorkflowCanvas.spec.ts rename to packages/editor-ui/src/components/canvas/WorkflowCanvas.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/buttons/CanvasChatButton.spec.ts b/packages/editor-ui/src/components/canvas/elements/buttons/CanvasChatButton.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/buttons/CanvasChatButton.spec.ts rename to packages/editor-ui/src/components/canvas/elements/buttons/CanvasChatButton.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/buttons/CanvasClearExecutionDataButton.spec.ts b/packages/editor-ui/src/components/canvas/elements/buttons/CanvasClearExecutionDataButton.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/buttons/CanvasClearExecutionDataButton.spec.ts rename to packages/editor-ui/src/components/canvas/elements/buttons/CanvasClearExecutionDataButton.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/buttons/CanvasControlButtons.spec.ts b/packages/editor-ui/src/components/canvas/elements/buttons/CanvasControlButtons.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/buttons/CanvasControlButtons.spec.ts rename to packages/editor-ui/src/components/canvas/elements/buttons/CanvasControlButtons.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/buttons/CanvasRunWorkflowButton.spec.ts b/packages/editor-ui/src/components/canvas/elements/buttons/CanvasRunWorkflowButton.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/buttons/CanvasRunWorkflowButton.spec.ts rename to packages/editor-ui/src/components/canvas/elements/buttons/CanvasRunWorkflowButton.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/buttons/CanvasStopCurrentExecutionButton.spec.ts b/packages/editor-ui/src/components/canvas/elements/buttons/CanvasStopCurrentExecutionButton.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/buttons/CanvasStopCurrentExecutionButton.spec.ts rename to packages/editor-ui/src/components/canvas/elements/buttons/CanvasStopCurrentExecutionButton.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/buttons/CanvasStopWaitingForWebhookButton.spec.ts b/packages/editor-ui/src/components/canvas/elements/buttons/CanvasStopWaitingForWebhookButton.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/buttons/CanvasStopWaitingForWebhookButton.spec.ts rename to packages/editor-ui/src/components/canvas/elements/buttons/CanvasStopWaitingForWebhookButton.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasChatButton.spec.ts.snap b/packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasChatButton.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasChatButton.spec.ts.snap rename to packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasChatButton.test.ts.snap diff --git a/packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasClearExecutionDataButton.spec.ts.snap b/packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasClearExecutionDataButton.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasClearExecutionDataButton.spec.ts.snap rename to packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasClearExecutionDataButton.test.ts.snap diff --git a/packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasControlButtons.spec.ts.snap b/packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasControlButtons.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasControlButtons.spec.ts.snap rename to packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasControlButtons.test.ts.snap diff --git a/packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasExecuteWorkflowButton.spec.ts.snap b/packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasExecuteWorkflowButton.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasExecuteWorkflowButton.spec.ts.snap rename to packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasExecuteWorkflowButton.test.ts.snap diff --git a/packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasRunWorkflowButton.spec.ts.snap b/packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasRunWorkflowButton.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasRunWorkflowButton.spec.ts.snap rename to packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasRunWorkflowButton.test.ts.snap diff --git a/packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasStopCurrentExecutionButton.spec.ts.snap b/packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasStopCurrentExecutionButton.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasStopCurrentExecutionButton.spec.ts.snap rename to packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasStopCurrentExecutionButton.test.ts.snap diff --git a/packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasStopWaitingForWebhookButton.spec.ts.snap b/packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasStopWaitingForWebhookButton.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasStopWaitingForWebhookButton.spec.ts.snap rename to packages/editor-ui/src/components/canvas/elements/buttons/__snapshots__/CanvasStopWaitingForWebhookButton.test.ts.snap diff --git a/packages/editor-ui/src/components/canvas/elements/edges/CanvasConnectionLine.spec.ts b/packages/editor-ui/src/components/canvas/elements/edges/CanvasConnectionLine.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/edges/CanvasConnectionLine.spec.ts rename to packages/editor-ui/src/components/canvas/elements/edges/CanvasConnectionLine.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/edges/CanvasEdge.spec.ts b/packages/editor-ui/src/components/canvas/elements/edges/CanvasEdge.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/edges/CanvasEdge.spec.ts rename to packages/editor-ui/src/components/canvas/elements/edges/CanvasEdge.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/edges/CanvasEdgeToolbar.spec.ts b/packages/editor-ui/src/components/canvas/elements/edges/CanvasEdgeToolbar.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/edges/CanvasEdgeToolbar.spec.ts rename to packages/editor-ui/src/components/canvas/elements/edges/CanvasEdgeToolbar.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/handles/CanvasHandleRenderer.spec.ts b/packages/editor-ui/src/components/canvas/elements/handles/CanvasHandleRenderer.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/handles/CanvasHandleRenderer.spec.ts rename to packages/editor-ui/src/components/canvas/elements/handles/CanvasHandleRenderer.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleMainInput.spec.ts b/packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleMainInput.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleMainInput.spec.ts rename to packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleMainInput.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleMainOutput.spec.ts b/packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleMainOutput.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleMainOutput.spec.ts rename to packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleMainOutput.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleNonMainInput.spec.ts b/packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleNonMainInput.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleNonMainInput.spec.ts rename to packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleNonMainInput.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleNonMainOutput.spec.ts b/packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleNonMainOutput.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleNonMainOutput.spec.ts rename to packages/editor-ui/src/components/canvas/elements/handles/render-types/CanvasHandleNonMainOutput.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandleDiamond.spec.ts b/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandleDiamond.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandleDiamond.spec.ts rename to packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandleDiamond.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandleDot.spec.ts b/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandleDot.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandleDot.spec.ts rename to packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandleDot.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandlePlus.spec.ts b/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandlePlus.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandlePlus.spec.ts rename to packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandlePlus.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandleRectangle.spec.ts b/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandleRectangle.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandleRectangle.spec.ts rename to packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/CanvasHandleRectangle.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandleDiamond.spec.ts.snap b/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandleDiamond.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandleDiamond.spec.ts.snap rename to packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandleDiamond.test.ts.snap diff --git a/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandleDot.spec.ts.snap b/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandleDot.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandleDot.spec.ts.snap rename to packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandleDot.test.ts.snap diff --git a/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandlePlus.spec.ts.snap b/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandlePlus.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandlePlus.spec.ts.snap rename to packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandlePlus.test.ts.snap diff --git a/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandleRectangle.spec.ts.snap b/packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandleRectangle.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandleRectangle.spec.ts.snap rename to packages/editor-ui/src/components/canvas/elements/handles/render-types/parts/__snapshots__/CanvasHandleRectangle.test.ts.snap diff --git a/packages/editor-ui/src/components/canvas/elements/nodes/CanvasNode.spec.ts b/packages/editor-ui/src/components/canvas/elements/nodes/CanvasNode.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/nodes/CanvasNode.spec.ts rename to packages/editor-ui/src/components/canvas/elements/nodes/CanvasNode.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/nodes/CanvasNodeRenderer.spec.ts b/packages/editor-ui/src/components/canvas/elements/nodes/CanvasNodeRenderer.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/nodes/CanvasNodeRenderer.spec.ts rename to packages/editor-ui/src/components/canvas/elements/nodes/CanvasNodeRenderer.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/nodes/CanvasNodeToolbar.spec.ts b/packages/editor-ui/src/components/canvas/elements/nodes/CanvasNodeToolbar.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/nodes/CanvasNodeToolbar.spec.ts rename to packages/editor-ui/src/components/canvas/elements/nodes/CanvasNodeToolbar.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/nodes/render-types/CanvasNodeDefault.spec.ts b/packages/editor-ui/src/components/canvas/elements/nodes/render-types/CanvasNodeDefault.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/nodes/render-types/CanvasNodeDefault.spec.ts rename to packages/editor-ui/src/components/canvas/elements/nodes/render-types/CanvasNodeDefault.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/nodes/render-types/CanvasNodeStickyNote.spec.ts b/packages/editor-ui/src/components/canvas/elements/nodes/render-types/CanvasNodeStickyNote.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/nodes/render-types/CanvasNodeStickyNote.spec.ts rename to packages/editor-ui/src/components/canvas/elements/nodes/render-types/CanvasNodeStickyNote.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/nodes/render-types/__snapshots__/CanvasNodeDefault.spec.ts.snap b/packages/editor-ui/src/components/canvas/elements/nodes/render-types/__snapshots__/CanvasNodeDefault.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/nodes/render-types/__snapshots__/CanvasNodeDefault.spec.ts.snap rename to packages/editor-ui/src/components/canvas/elements/nodes/render-types/__snapshots__/CanvasNodeDefault.test.ts.snap diff --git a/packages/editor-ui/src/components/canvas/elements/nodes/render-types/__snapshots__/CanvasNodeStickyNote.spec.ts.snap b/packages/editor-ui/src/components/canvas/elements/nodes/render-types/__snapshots__/CanvasNodeStickyNote.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/nodes/render-types/__snapshots__/CanvasNodeStickyNote.spec.ts.snap rename to packages/editor-ui/src/components/canvas/elements/nodes/render-types/__snapshots__/CanvasNodeStickyNote.test.ts.snap diff --git a/packages/editor-ui/src/components/canvas/elements/nodes/render-types/parts/CanvasNodeDisabledStrikeThrough.spec.ts b/packages/editor-ui/src/components/canvas/elements/nodes/render-types/parts/CanvasNodeDisabledStrikeThrough.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/nodes/render-types/parts/CanvasNodeDisabledStrikeThrough.spec.ts rename to packages/editor-ui/src/components/canvas/elements/nodes/render-types/parts/CanvasNodeDisabledStrikeThrough.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/nodes/render-types/parts/CanvasNodeStatusIcons.spec.ts b/packages/editor-ui/src/components/canvas/elements/nodes/render-types/parts/CanvasNodeStatusIcons.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/nodes/render-types/parts/CanvasNodeStatusIcons.spec.ts rename to packages/editor-ui/src/components/canvas/elements/nodes/render-types/parts/CanvasNodeStatusIcons.test.ts diff --git a/packages/editor-ui/src/components/canvas/elements/nodes/toolbar/CanvasNodeStickyColorSelector.spec.ts b/packages/editor-ui/src/components/canvas/elements/nodes/toolbar/CanvasNodeStickyColorSelector.test.ts similarity index 100% rename from packages/editor-ui/src/components/canvas/elements/nodes/toolbar/CanvasNodeStickyColorSelector.spec.ts rename to packages/editor-ui/src/components/canvas/elements/nodes/toolbar/CanvasNodeStickyColorSelector.test.ts diff --git a/packages/editor-ui/src/composables/__snapshots__/useBugReporting.spec.ts.snap b/packages/editor-ui/src/composables/__snapshots__/useBugReporting.test.ts.snap similarity index 100% rename from packages/editor-ui/src/composables/__snapshots__/useBugReporting.spec.ts.snap rename to packages/editor-ui/src/composables/__snapshots__/useBugReporting.test.ts.snap diff --git a/packages/editor-ui/src/composables/__snapshots__/useCanvasOperations.spec.ts.snap b/packages/editor-ui/src/composables/__snapshots__/useCanvasOperations.test.ts.snap similarity index 100% rename from packages/editor-ui/src/composables/__snapshots__/useCanvasOperations.spec.ts.snap rename to packages/editor-ui/src/composables/__snapshots__/useCanvasOperations.test.ts.snap diff --git a/packages/editor-ui/src/composables/__snapshots__/useDebugInfo.spec.ts.snap b/packages/editor-ui/src/composables/__snapshots__/useDebugInfo.test.ts.snap similarity index 100% rename from packages/editor-ui/src/composables/__snapshots__/useDebugInfo.spec.ts.snap rename to packages/editor-ui/src/composables/__snapshots__/useDebugInfo.test.ts.snap diff --git a/packages/editor-ui/src/composables/useBugReporting.spec.ts b/packages/editor-ui/src/composables/useBugReporting.test.ts similarity index 100% rename from packages/editor-ui/src/composables/useBugReporting.spec.ts rename to packages/editor-ui/src/composables/useBugReporting.test.ts diff --git a/packages/editor-ui/src/composables/useCanvasMapping.spec.ts b/packages/editor-ui/src/composables/useCanvasMapping.test.ts similarity index 100% rename from packages/editor-ui/src/composables/useCanvasMapping.spec.ts rename to packages/editor-ui/src/composables/useCanvasMapping.test.ts diff --git a/packages/editor-ui/src/composables/useCanvasNode.spec.ts b/packages/editor-ui/src/composables/useCanvasNode.test.ts similarity index 100% rename from packages/editor-ui/src/composables/useCanvasNode.spec.ts rename to packages/editor-ui/src/composables/useCanvasNode.test.ts diff --git a/packages/editor-ui/src/composables/useCanvasOperations.spec.ts b/packages/editor-ui/src/composables/useCanvasOperations.test.ts similarity index 100% rename from packages/editor-ui/src/composables/useCanvasOperations.spec.ts rename to packages/editor-ui/src/composables/useCanvasOperations.test.ts diff --git a/packages/editor-ui/src/composables/useDebugInfo.spec.ts b/packages/editor-ui/src/composables/useDebugInfo.test.ts similarity index 100% rename from packages/editor-ui/src/composables/useDebugInfo.spec.ts rename to packages/editor-ui/src/composables/useDebugInfo.test.ts diff --git a/packages/editor-ui/src/composables/useExecutionDebugging.spec.ts b/packages/editor-ui/src/composables/useExecutionDebugging.test.ts similarity index 100% rename from packages/editor-ui/src/composables/useExecutionDebugging.spec.ts rename to packages/editor-ui/src/composables/useExecutionDebugging.test.ts diff --git a/packages/editor-ui/src/composables/useNodeBase.spec.ts b/packages/editor-ui/src/composables/useNodeBase.test.ts similarity index 100% rename from packages/editor-ui/src/composables/useNodeBase.spec.ts rename to packages/editor-ui/src/composables/useNodeBase.test.ts diff --git a/packages/editor-ui/src/composables/useNodeConnections.spec.ts b/packages/editor-ui/src/composables/useNodeConnections.test.ts similarity index 100% rename from packages/editor-ui/src/composables/useNodeConnections.spec.ts rename to packages/editor-ui/src/composables/useNodeConnections.test.ts diff --git a/packages/editor-ui/src/composables/usePushConnection.spec.ts b/packages/editor-ui/src/composables/usePushConnection.test.ts similarity index 100% rename from packages/editor-ui/src/composables/usePushConnection.spec.ts rename to packages/editor-ui/src/composables/usePushConnection.test.ts diff --git a/packages/editor-ui/src/composables/useRunWorkflow.spec.ts b/packages/editor-ui/src/composables/useRunWorkflow.test.ts similarity index 100% rename from packages/editor-ui/src/composables/useRunWorkflow.spec.ts rename to packages/editor-ui/src/composables/useRunWorkflow.test.ts diff --git a/packages/editor-ui/src/composables/useStyles.spec.ts b/packages/editor-ui/src/composables/useStyles.test.ts similarity index 100% rename from packages/editor-ui/src/composables/useStyles.spec.ts rename to packages/editor-ui/src/composables/useStyles.test.ts diff --git a/packages/editor-ui/src/composables/useWorkflowHelpers.spec.ts b/packages/editor-ui/src/composables/useWorkflowHelpers.test.ts similarity index 100% rename from packages/editor-ui/src/composables/useWorkflowHelpers.spec.ts rename to packages/editor-ui/src/composables/useWorkflowHelpers.test.ts diff --git a/packages/editor-ui/src/mixins/workflowHelpers.spec.ts b/packages/editor-ui/src/mixins/workflowHelpers.test.ts similarity index 100% rename from packages/editor-ui/src/mixins/workflowHelpers.spec.ts rename to packages/editor-ui/src/mixins/workflowHelpers.test.ts diff --git a/packages/editor-ui/src/permissions.spec.ts b/packages/editor-ui/src/permissions.test.ts similarity index 100% rename from packages/editor-ui/src/permissions.spec.ts rename to packages/editor-ui/src/permissions.test.ts diff --git a/packages/editor-ui/src/plugins/sentry.spec.ts b/packages/editor-ui/src/plugins/sentry.test.ts similarity index 100% rename from packages/editor-ui/src/plugins/sentry.spec.ts rename to packages/editor-ui/src/plugins/sentry.test.ts diff --git a/packages/editor-ui/src/stores/credentials.spec.ts b/packages/editor-ui/src/stores/credentials.test.ts similarity index 100% rename from packages/editor-ui/src/stores/credentials.spec.ts rename to packages/editor-ui/src/stores/credentials.test.ts diff --git a/packages/editor-ui/src/stores/environments.spec.ts b/packages/editor-ui/src/stores/environments.test.ts similarity index 100% rename from packages/editor-ui/src/stores/environments.spec.ts rename to packages/editor-ui/src/stores/environments.test.ts diff --git a/packages/editor-ui/src/stores/npsStore.store.spec.ts b/packages/editor-ui/src/stores/npsStore.store.test.ts similarity index 100% rename from packages/editor-ui/src/stores/npsStore.store.spec.ts rename to packages/editor-ui/src/stores/npsStore.store.test.ts diff --git a/packages/editor-ui/src/stores/workflows.store.spec.ts b/packages/editor-ui/src/stores/workflows.store.test.ts similarity index 100% rename from packages/editor-ui/src/stores/workflows.store.spec.ts rename to packages/editor-ui/src/stores/workflows.store.test.ts diff --git a/packages/editor-ui/src/utils/apiUtils.spec.ts b/packages/editor-ui/src/utils/apiUtils.test.ts similarity index 100% rename from packages/editor-ui/src/utils/apiUtils.spec.ts rename to packages/editor-ui/src/utils/apiUtils.test.ts diff --git a/packages/editor-ui/src/utils/canvasUtilsV2.spec.ts b/packages/editor-ui/src/utils/canvasUtilsV2.test.ts similarity index 100% rename from packages/editor-ui/src/utils/canvasUtilsV2.spec.ts rename to packages/editor-ui/src/utils/canvasUtilsV2.test.ts diff --git a/packages/editor-ui/src/utils/executionUtils.spec.ts b/packages/editor-ui/src/utils/executionUtils.test.ts similarity index 100% rename from packages/editor-ui/src/utils/executionUtils.spec.ts rename to packages/editor-ui/src/utils/executionUtils.test.ts diff --git a/packages/editor-ui/src/utils/htmlUtils.spec.ts b/packages/editor-ui/src/utils/htmlUtils.test.ts similarity index 100% rename from packages/editor-ui/src/utils/htmlUtils.spec.ts rename to packages/editor-ui/src/utils/htmlUtils.test.ts diff --git a/packages/editor-ui/src/utils/nodeViewUtils.spec.ts b/packages/editor-ui/src/utils/nodeViewUtils.test.ts similarity index 100% rename from packages/editor-ui/src/utils/nodeViewUtils.spec.ts rename to packages/editor-ui/src/utils/nodeViewUtils.test.ts diff --git a/packages/editor-ui/src/views/VariablesView.spec.ts b/packages/editor-ui/src/views/VariablesView.test.ts similarity index 100% rename from packages/editor-ui/src/views/VariablesView.spec.ts rename to packages/editor-ui/src/views/VariablesView.test.ts