fix commentout
parent
8f331bbb58
commit
4b912fe836
|
@ -28,7 +28,7 @@ describe('WebSocket helper', () => {
|
||||||
server.close()
|
server.close()
|
||||||
})
|
})
|
||||||
|
|
||||||
/*it('Should be inited WebSocket Context even if upgrading process is asynchronous', async () => {
|
it('Should be inited WebSocket Context even if upgrading process is asynchronous', async () => {
|
||||||
const mainPromise = new Promise<boolean>((resolve) =>
|
const mainPromise = new Promise<boolean>((resolve) =>
|
||||||
app.get(
|
app.get(
|
||||||
'/',
|
'/',
|
||||||
|
@ -245,7 +245,7 @@ describe('WebSocket helper', () => {
|
||||||
createNodeWebSocket({ app })
|
createNodeWebSocket({ app })
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
*/
|
|
||||||
it('Should client can connect when use cors()', async () => {
|
it('Should client can connect when use cors()', async () => {
|
||||||
app.use(cors())
|
app.use(cors())
|
||||||
const mainPromise = new Promise<boolean>((resolve) =>
|
const mainPromise = new Promise<boolean>((resolve) =>
|
||||||
|
|
Loading…
Reference in New Issue