UNPKG

@sync-in/server

Version:

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

33 lines (32 loc) 1.22 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 _notificationscontroller = require("./notifications.controller"); const _notificationsmanagerservice = require("./services/notifications-manager.service"); describe(_notificationscontroller.NotificationsController.name, ()=>{ let controller; beforeAll(async ()=>{ const module = await _testing.Test.createTestingModule({ controllers: [ _notificationscontroller.NotificationsController ], providers: [ { provide: _notificationsmanagerservice.NotificationsManager, useValue: {} } ] }).compile(); controller = module.get(_notificationscontroller.NotificationsController); }); it('should be defined', ()=>{ expect(controller).toBeDefined(); }); }); //# sourceMappingURL=notifications.controller.spec.js.map