多维表格
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
499 B

import { Test } from '@nestjs/testing';
import { SocketService } from './socket.service';
import type { TestingModule } from '@nestjs/testing';
describe('ClientService', () => {
let service: SocketService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [SocketService],
}).compile();
service = module.get<SocketService>(SocketService);
});
it('should be defined', () => {
expect(service).toBeDefined();
});
});