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