Transmission plus immédiate via websockets
This commit is contained in:
18
server/src/geolocations/geolocations.gateway.spec.ts
Normal file
18
server/src/geolocations/geolocations.gateway.spec.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing'
|
||||
import { GeolocationsGateway } from './geolocations.gateway'
|
||||
|
||||
describe('GeolocationsGateway', () => {
|
||||
let gateway: GeolocationsGateway
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
providers: [GeolocationsGateway],
|
||||
}).compile();
|
||||
|
||||
gateway = module.get<GeolocationsGateway>(GeolocationsGateway)
|
||||
});
|
||||
|
||||
it('should be defined', () => {
|
||||
expect(gateway).toBeDefined()
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user