Fixed frontend tests. (#6210)

* Fixed frontend tests.

* Use old socket io syntax.

* uSE ESM:

* Remove padvar.

* Remove cypress.
This commit is contained in:
SamTV12345 2024-03-08 18:50:29 +01:00 committed by GitHub
parent 2fa2d5bd17
commit d34b964cc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 18 additions and 23 deletions

View file

@ -88,7 +88,6 @@
"@types/sinon": "^17.0.3",
"@types/supertest": "^6.0.2",
"@types/underscore": "^1.11.15",
"cypress": "^13.6.6",
"eslint": "^8.57.0",
"eslint-config-etherpad": "^3.0.22",
"etherpad-cli-client": "^3.0.1",
@ -114,7 +113,7 @@
},
"scripts": {
"lint": "eslint .",
"test": "mocha --import=tsx --timeout 120000 --recursive tests/backend/specs/**.ts tests/backend/specs/**/*.ts",
"test": "mocha --import=tsx --timeout 120000 --recursive tests/backend/specs/**.ts tests/backend/specs/**/*.ts ../node_modules/ep_*/static/tests/backend/specs",
"test-container": "mocha --import=tsx --timeout 5000 tests/container/specs/api",
"dev": "node --import tsx node/server.ts",
"prod": "node --import tsx node/server.ts",