refactor(core): Update supertest, and fix some typing errors (no-changelog) (#9527)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-05-31 09:40:03 +02:00
committed by GitHub
parent 47d774100b
commit 08902bf941
35 changed files with 148 additions and 143 deletions

View File

@@ -1,5 +1,4 @@
import path from 'path';
import type { SuperAgentTest } from 'supertest';
import type { InstalledPackages } from '@db/entities/InstalledPackages';
import type { InstalledNodes } from '@db/entities/InstalledNodes';
@@ -10,6 +9,7 @@ import { mockInstance } from '../shared/mocking';
import { COMMUNITY_PACKAGE_VERSION } from './shared/constants';
import { setupTestServer, mockPackage, mockNode, mockPackageName } from './shared/utils';
import { createOwner } from './shared/db/users';
import type { SuperAgentTest } from './shared/types';
const communityPackagesService = mockInstance(CommunityPackagesService, {
hasMissingPackages: false,