support elevenlabs stt

This commit is contained in:
Hoan HL
2025-11-18 16:06:09 +07:00
parent 486428727a
commit 1629f52962
7 changed files with 208 additions and 23 deletions
+17 -17
View File
@@ -6,7 +6,7 @@ process.on('SIGINT', async() => {
if (stopping) return;
stopping = true;
console.log('shutting down');
await stopDocker();
// await stopDocker();
process.exit(0);
});
@@ -84,19 +84,19 @@ const stopDocker = () => {
});
})
};
startDocker()
.then(createDb)
.then(createSchema)
.then(seedDb)
.then(resetAdminPassword)
.then(generateSipTrace)
.then(() => {
console.log('ready for testing!');
require('..');
})
.catch(async(err) => {
console.error({err}, 'Error running integration test');
await stopDocker();
process.exit(-1);
});
require('..');
// startDocker()
// .then(createDb)
// .then(createSchema)
// .then(seedDb)
// .then(resetAdminPassword)
// .then(generateSipTrace)
// .then(() => {
// console.log('ready for testing!');
// require('..');
// })
// .catch(async(err) => {
// console.error({err}, 'Error running integration test');
// await stopDocker();
// process.exit(-1);
// });