UNPKG

@sync-in/server

Version:

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

36 lines (35 loc) 1.41 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 _adminusersmanagerservice = require("../../../applications/users/services/admin-users-manager.service"); const _usersmanagerservice = require("../../../applications/users/services/users-manager.service"); const _authmethodldapservice = require("./auth-method-ldap.service"); describe(_authmethodldapservice.AuthMethodLdapService.name, ()=>{ let service; beforeAll(async ()=>{ const module = await _testing.Test.createTestingModule({ providers: [ _authmethodldapservice.AuthMethodLdapService, { provide: _usersmanagerservice.UsersManager, useValue: {} }, { provide: _adminusersmanagerservice.AdminUsersManager, useValue: {} } ] }).compile(); service = module.get(_authmethodldapservice.AuthMethodLdapService); }); it('should be defined', ()=>{ expect(service).toBeDefined(); }); }); //# sourceMappingURL=auth-method-ldap.service.spec.js.map