From 3c9b2e1e01adc39ba6f0c43bded5cf22168dedb3 Mon Sep 17 00:00:00 2001 From: Csaba Tuncsik Date: Wed, 19 Apr 2023 08:46:06 +0200 Subject: [PATCH] test(editor): Move unit tests (no-changelog) (#5998) * test(editor): Move unit tests (no-changelog) * trigger checks * trigger checks * trigger checks * trigger checks --- .../src/components/{ => __tests__}/RunDataJson.test.ts | 0 .../components/{ => __tests__}/RunDataSchema.test.ts | 0 .../__snapshots__/RunDataJson.test.ts.snap | 0 .../__snapshots__/RunDataSchema.test.ts.snap | 0 .../src/stores/{ => __tests__}/posthog.test.ts | 10 +++++----- 5 files changed, 5 insertions(+), 5 deletions(-) rename packages/editor-ui/src/components/{ => __tests__}/RunDataJson.test.ts (100%) rename packages/editor-ui/src/components/{ => __tests__}/RunDataSchema.test.ts (100%) rename packages/editor-ui/src/components/{ => __tests__}/__snapshots__/RunDataJson.test.ts.snap (100%) rename packages/editor-ui/src/components/{ => __tests__}/__snapshots__/RunDataSchema.test.ts.snap (100%) rename packages/editor-ui/src/stores/{ => __tests__}/posthog.test.ts (92%) diff --git a/packages/editor-ui/src/components/RunDataJson.test.ts b/packages/editor-ui/src/components/__tests__/RunDataJson.test.ts similarity index 100% rename from packages/editor-ui/src/components/RunDataJson.test.ts rename to packages/editor-ui/src/components/__tests__/RunDataJson.test.ts diff --git a/packages/editor-ui/src/components/RunDataSchema.test.ts b/packages/editor-ui/src/components/__tests__/RunDataSchema.test.ts similarity index 100% rename from packages/editor-ui/src/components/RunDataSchema.test.ts rename to packages/editor-ui/src/components/__tests__/RunDataSchema.test.ts diff --git a/packages/editor-ui/src/components/__snapshots__/RunDataJson.test.ts.snap b/packages/editor-ui/src/components/__tests__/__snapshots__/RunDataJson.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/__snapshots__/RunDataJson.test.ts.snap rename to packages/editor-ui/src/components/__tests__/__snapshots__/RunDataJson.test.ts.snap diff --git a/packages/editor-ui/src/components/__snapshots__/RunDataSchema.test.ts.snap b/packages/editor-ui/src/components/__tests__/__snapshots__/RunDataSchema.test.ts.snap similarity index 100% rename from packages/editor-ui/src/components/__snapshots__/RunDataSchema.test.ts.snap rename to packages/editor-ui/src/components/__tests__/__snapshots__/RunDataSchema.test.ts.snap diff --git a/packages/editor-ui/src/stores/posthog.test.ts b/packages/editor-ui/src/stores/__tests__/posthog.test.ts similarity index 92% rename from packages/editor-ui/src/stores/posthog.test.ts rename to packages/editor-ui/src/stores/__tests__/posthog.test.ts index a7fe4b4cc9..ed31f1a252 100644 --- a/packages/editor-ui/src/stores/posthog.test.ts +++ b/packages/editor-ui/src/stores/__tests__/posthog.test.ts @@ -1,10 +1,10 @@ import { createPinia, setActivePinia } from 'pinia'; -import { usePostHog } from './posthog'; -import { useUsersStore } from './users'; -import { useSettingsStore } from './settings'; +import { usePostHog } from '@/stores/posthog'; +import { useUsersStore } from '@/stores/users'; +import { useSettingsStore } from '@/stores/settings'; import { IN8nUISettings } from '@/Interface'; -import { useRootStore } from './n8nRootStore'; -import { useTelemetryStore } from './telemetry'; +import { useRootStore } from '@/stores/n8nRootStore'; +import { useTelemetryStore } from '@/stores/telemetry'; const DEFAULT_POSTHOG_SETTINGS: IN8nUISettings['posthog'] = { enabled: true,