Skip to content

Commit 5ca781b

Browse files
authored
refactor(editor): Rename design-system unit test files and snapshots (no-changelog) (n8n-io#11539)
1 parent 63d454b commit 5ca781b

File tree

152 files changed

+45
-44
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+45
-44
lines changed

.git-blame-ignore-revs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@
1515
# refactor: Move test files alongside tested files (#11504)
1616

1717
7e58fc4fec468aca0b45d5bfe6150e1af632acbc
18+
f32b13c6ed078be042a735bc8621f27e00dc3116
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { render } from '@testing-library/vue';
22

3-
import AssistantAvatar from '../AssistantAvatar.vue';
3+
import AssistantAvatar from './AssistantAvatar.vue';
44

55
describe('AskAssistantAvatar', () => {
66
it('renders small avatar correctly', () => {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { render } from '@testing-library/vue';
22

3-
import AskAssistantButton from '../AskAssistantButton.vue';
3+
import AskAssistantButton from './AskAssistantButton.vue';
44

55
describe('AskAssistantButton', () => {
66
it('renders default button correctly', () => {

packages/design-system/src/components/AskAssistantChat/__tests__/AskAssistantChat.spec.ts renamed to packages/design-system/src/components/AskAssistantChat/AskAssistantChat.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { render } from '@testing-library/vue';
22

33
import { n8nHtml } from 'n8n-design-system/directives';
44

5-
import AskAssistantChat from '../AskAssistantChat.vue';
5+
import AskAssistantChat from './AskAssistantChat.vue';
66

77
const stubs = ['n8n-avatar', 'n8n-button', 'n8n-icon', 'n8n-icon-button'];
88

packages/design-system/src/components/AskAssistantIcon/__tests__/AssistantIcon.spec.ts renamed to packages/design-system/src/components/AskAssistantIcon/AssistantIcon.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { render } from '@testing-library/vue';
22

3-
import AssistantIcon from '../AssistantIcon.vue';
3+
import AssistantIcon from './AssistantIcon.vue';
44

55
describe('AssistantIcon', () => {
66
it('renders default icon correctly', () => {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { render } from '@testing-library/vue';
22

3-
import AssistantLoadingMessage from '../AssistantLoadingMessage.vue';
3+
import AssistantLoadingMessage from './AssistantLoadingMessage.vue';
44

55
describe('AssistantLoadingMessage', () => {
66
it('renders loading message correctly', () => {

0 commit comments

Comments
 (0)