refactor(core): Move integration test utils for insights (#16693)

This commit is contained in:
Iván Ovejero
2025-06-25 17:32:54 +02:00
committed by GitHub
parent a6ded1fc80
commit 7c33292483
231 changed files with 684 additions and 651 deletions

View File

@@ -1,3 +1,4 @@
import { testDb } from '@n8n/backend-test-utils';
import type { User, Variables } from '@n8n/db';
import { FeatureNotLicensedError } from '@/errors/feature-not-licensed.error';
@@ -5,8 +6,6 @@ import { createOwnerWithApiKey } from '@test-integration/db/users';
import { createVariable, getVariableByIdOrFail } from '@test-integration/db/variables';
import { setupTestServer } from '@test-integration/utils';
import * as testDb from '../shared/test-db';
describe('Variables in Public API', () => {
let owner: User;
const testServer = setupTestServer({ endpointGroups: ['publicApi'] });