You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
585 B
19 lines
585 B
import { Test, TestingModule } from '@nestjs/testing';
|
|
import { NotificationGateway } from './notification.gateway';
|
|
import { NotificationService } from './notification.service';
|
|
|
|
describe('NotificationGateway', () => {
|
|
let gateway: NotificationGateway;
|
|
|
|
beforeEach(async () => {
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
providers: [NotificationGateway, NotificationService],
|
|
}).compile();
|
|
|
|
gateway = module.get<NotificationGateway>(NotificationGateway);
|
|
});
|
|
|
|
it('should be defined', () => {
|
|
expect(gateway).toBeDefined();
|
|
});
|
|
});
|
|
|