20 lines
485 B
TypeScript
20 lines
485 B
TypeScript
import { LdapService } from './ldap.service';
|
|
import type { TestingModule } from '@nestjs/testing';
|
|
import { Test } from '@nestjs/testing';
|
|
|
|
describe('LdapService', () => {
|
|
let service: LdapService;
|
|
|
|
beforeEach(async () => {
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
providers: [LdapService],
|
|
}).compile();
|
|
|
|
service = module.get<LdapService>(LdapService);
|
|
});
|
|
|
|
it('should be defined', () => {
|
|
expect(service).toBeDefined();
|
|
});
|
|
});
|