UNPKG

@sync-in/server

Version:

The secure, open-source platform for file storage, sharing, collaboration, and sync

56 lines (55 loc) 2.27 kB
/* * Copyright (C) 2012-2025 Johan Legrand <johan.legrand@sync-in.com> * This file is part of Sync-in | The open source file sync and share solution * See the LICENSE file for licensing details */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const _testing = require("@nestjs/testing"); const _contextmanagerservice = require("../../../infrastructure/context/services/context-manager.service"); const _filesqueriesservice = require("../../files/services/files-queries.service"); const _notificationsmanagerservice = require("../../notifications/services/notifications-manager.service"); const _spacesmanagerservice = require("../../spaces/services/spaces-manager.service"); const _usersqueriesservice = require("../../users/services/users-queries.service"); const _syncpathsmanagerservice = require("./sync-paths-manager.service"); const _syncqueriesservice = require("./sync-queries.service"); describe(_syncpathsmanagerservice.SyncPathsManager.name, ()=>{ let service; beforeAll(async ()=>{ const module = await _testing.Test.createTestingModule({ providers: [ _syncpathsmanagerservice.SyncPathsManager, { provide: _contextmanagerservice.ContextManager, useValue: {} }, { provide: _spacesmanagerservice.SpacesManager, useValue: {} }, { provide: _usersqueriesservice.UsersQueries, useValue: {} }, { provide: _filesqueriesservice.FilesQueries, useValue: {} }, { provide: _notificationsmanagerservice.NotificationsManager, useValue: {} }, { provide: _syncqueriesservice.SyncQueries, useValue: {} } ] }).compile(); service = module.get(_syncpathsmanagerservice.SyncPathsManager); }); it('should be defined', ()=>{ expect(service).toBeDefined(); }); }); //# sourceMappingURL=sync-paths-manager.service.spec.js.map