UNPKG

@sync-in/server

Version:

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

46 lines (45 loc) 1.81 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 _mailerservice = require("../../../infrastructure/mailer/mailer.service"); const _usersmanagerservice = require("../../users/services/users-manager.service"); const _notificationsgateway = require("../notifications.gateway"); const _notificationsmanagerservice = require("./notifications-manager.service"); const _notificationsqueriesservice = require("./notifications-queries.service"); describe(_notificationsmanagerservice.NotificationsManager.name, ()=>{ let service; beforeAll(async ()=>{ const module = await _testing.Test.createTestingModule({ providers: [ _notificationsmanagerservice.NotificationsManager, { provide: _usersmanagerservice.UsersManager, useValue: {} }, { provide: _mailerservice.Mailer, useValue: {} }, { provide: _notificationsgateway.WebSocketNotifications, useValue: {} }, { provide: _notificationsqueriesservice.NotificationsQueries, useValue: {} } ] }).compile(); service = module.get(_notificationsmanagerservice.NotificationsManager); }); it('should be defined', ()=>{ expect(service).toBeDefined(); }); }); //# sourceMappingURL=notifications-manager.service.spec.js.map