mongoose + tests
This commit is contained in:
1 parent
2cfcd7347b
commit
4b0d9b4dbc
1295 files changed
+4579
-1719
No files matched your search
@@ -0,0 +1,11 @@
|
||||
const { getIo } = require('../../../io')
|
||||
|
||||
const io = getIo()
|
||||
|
||||
io.on('connection', (socket) => {
|
||||
socket.on('play', () => {
|
||||
socket.broadcast.emit('play')
|
||||
})
|
||||
})
|
||||
|
||||
console.log('test')
|
||||
Reference in new issue
Block a user