Drop Jest e2e testing (#2174)

This commit is contained in:
Louis Lam
2022-10-05 14:26:30 +08:00
committed by GitHub
parent a5c102e750
commit b993859926
10 changed files with 3 additions and 1821 deletions

View File

@@ -557,7 +557,7 @@ exports.doubleCheckPassword = async (socket, currentPassword) => {
exports.startUnitTest = async () => {
console.log("Starting unit test...");
const npm = /^win/.test(process.platform) ? "npm.cmd" : "npm";
const child = childProcess.spawn(npm, [ "run", "jest" ]);
const child = childProcess.spawn(npm, [ "run", "jest-backend" ]);
child.stdout.on("data", (data) => {
console.log(data.toString());