This commit is contained in:
boufni95 2024-08-09 15:06:30 +02:00
parent 4b876e648d
commit bbfeb905e3
3 changed files with 9341 additions and 9320 deletions

18653
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -61,7 +61,8 @@
"typescript": "^4.6.4", "typescript": "^4.6.4",
"uuid": "^8.3.2", "uuid": "^8.3.2",
"websocket": "^1.0.34", "websocket": "^1.0.34",
"websocket-polyfill": "^0.0.3" "websocket-polyfill": "^0.0.3",
"why-is-node-running": "^3.2.0"
}, },
"devDependencies": { "devDependencies": {
"@types/chai": "^4.3.4", "@types/chai": "^4.3.4",

View file

@ -1,4 +1,4 @@
import whyIsNodeRunning from 'why-is-node-running'
import { globby } from 'globby' import { globby } from 'globby'
import { setupNetwork } from './networkSetup.js' import { setupNetwork } from './networkSetup.js'
import { Describe, SetupTest, teardown, TestBase } from './testBase.js' import { Describe, SetupTest, teardown, TestBase } from './testBase.js'
@ -51,6 +51,9 @@ const start = async () => {
console.log(greenConsole, "there have been 0 failures in all tests", resetConsole) console.log(greenConsole, "there have been 0 failures in all tests", resetConsole)
} }
setInterval(() => {
whyIsNodeRunning()
}, 1000);
} }
const runTestFile = async (fileName: string, mod: TestModule) => { const runTestFile = async (fileName: string, mod: TestModule) => {