mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
moved socket tests from server to quizRoom directory
This commit is contained in:
parent
0b2552bdff
commit
0580268a4a
3 changed files with 3398 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
const http = require("http");
|
||||
const { Server } = require("socket.io");
|
||||
const Client = require("socket.io-client");
|
||||
const { setupWebsocket } = require("../socket/socket");
|
||||
const { setupWebsocket } = require("../socket/setupWebSocket");
|
||||
|
||||
process.env.NODE_ENV = "test";
|
||||
|
||||
3388
quizRoom/package-lock.json
generated
3388
quizRoom/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -13,6 +13,7 @@
|
|||
"description": "",
|
||||
"devDependencies": {
|
||||
"@types/express": "^5.0.0",
|
||||
"jest": "^29.7.0",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.6.3"
|
||||
},
|
||||
|
|
@ -20,6 +21,14 @@
|
|||
"dotenv": "^16.4.5",
|
||||
"express": "^4.21.1",
|
||||
"http": "^0.0.1-security",
|
||||
"socket.io": "^4.8.1"
|
||||
"socket.io": "^4.8.1",
|
||||
"socket.io-client": "^4.7.2"
|
||||
},
|
||||
"jest": {
|
||||
"testEnvironment": "node",
|
||||
"testMatch": [
|
||||
"**/__tests__/**/*.js?(x)",
|
||||
"**/?(*.)+(spec|test).js?(x)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue