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