mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
19 lines
494 B
TypeScript
19 lines
494 B
TypeScript
|
|
import { Test, TestingModule } from "@nestjs/testing";
|
||
|
|
import { ConnectionsService } from "./connections.service";
|
||
|
|
|
||
|
|
describe("ConnectionsService", () => {
|
||
|
|
let service: ConnectionsService;
|
||
|
|
|
||
|
|
beforeEach(async () => {
|
||
|
|
const module: TestingModule = await Test.createTestingModule({
|
||
|
|
providers: [ConnectionsService]
|
||
|
|
}).compile();
|
||
|
|
|
||
|
|
service = module.get<ConnectionsService>(ConnectionsService);
|
||
|
|
});
|
||
|
|
|
||
|
|
it("should be defined", () => {
|
||
|
|
expect(service).toBeDefined();
|
||
|
|
});
|
||
|
|
});
|