From 0126c429cc8a868df83b48e2f0e9517f013a1436 Mon Sep 17 00:00:00 2001 From: Tomi Turtiainen <10324676+tomi@users.noreply.github.com> Date: Wed, 18 Sep 2024 11:40:59 +0300 Subject: [PATCH] fix: Fix lint issues (no-changelog) (#10866) --- .../AskAssistantChat/__tests__/AskAssistantChat.spec.ts | 3 ++- .../src/components/N8nMarkdown/__tests__/Markdown.spec.ts | 3 ++- packages/design-system/src/directives/n8n-html.test.ts | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/design-system/src/components/AskAssistantChat/__tests__/AskAssistantChat.spec.ts b/packages/design-system/src/components/AskAssistantChat/__tests__/AskAssistantChat.spec.ts index eef958a006e325..2c1649b2cd6283 100644 --- a/packages/design-system/src/components/AskAssistantChat/__tests__/AskAssistantChat.spec.ts +++ b/packages/design-system/src/components/AskAssistantChat/__tests__/AskAssistantChat.spec.ts @@ -1,8 +1,9 @@ import { render } from '@testing-library/vue'; -import AskAssistantChat from '../AskAssistantChat.vue'; import { n8nHtml } from 'n8n-design-system/directives'; +import AskAssistantChat from '../AskAssistantChat.vue'; + describe('AskAssistantChat', () => { it('renders default placeholder chat correctly', () => { const { container } = render(AskAssistantChat, { diff --git a/packages/design-system/src/components/N8nMarkdown/__tests__/Markdown.spec.ts b/packages/design-system/src/components/N8nMarkdown/__tests__/Markdown.spec.ts index 1ee181d8bb9237..d9671464d22366 100644 --- a/packages/design-system/src/components/N8nMarkdown/__tests__/Markdown.spec.ts +++ b/packages/design-system/src/components/N8nMarkdown/__tests__/Markdown.spec.ts @@ -1,8 +1,9 @@ import { render, fireEvent } from '@testing-library/vue'; -import N8nMarkdown from '../Markdown.vue'; import { n8nHtml } from 'n8n-design-system/directives'; +import N8nMarkdown from '../Markdown.vue'; + describe('components', () => { describe('N8nMarkdown', () => { it('should render unchecked checkboxes', () => { diff --git a/packages/design-system/src/directives/n8n-html.test.ts b/packages/design-system/src/directives/n8n-html.test.ts index 94fb30de512903..d964a3345cf901 100644 --- a/packages/design-system/src/directives/n8n-html.test.ts +++ b/packages/design-system/src/directives/n8n-html.test.ts @@ -1,4 +1,5 @@ import { render } from '@testing-library/vue'; + import { n8nHtml } from './n8n-html'; const TestComponent = {