Skip to content

Commit

Permalink
test: moved socket test to utils, not passing
Browse files Browse the repository at this point in the history
  • Loading branch information
L-Steinmacher committed Jun 30, 2023
1 parent e585a84 commit 97360d5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions server/socket.test.ts → app/utils/socket.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@ import { Server } from 'socket.io'
import { createServer } from 'http'
import client, { type Socket } from 'socket.io-client'




let ioServer: Server
let server: ReturnType<typeof createServer>
let socket: Socket


beforeEach(async () => {
server = createServer()
ioServer = new Server(server)
Expand Down Expand Up @@ -53,5 +49,4 @@ test('should get a pong', async () => {
resolve()
})
})
})

})

0 comments on commit 97360d5

Please sign in to comment.