Update Jest configuration to include TypeScript support and add new code quality checks workflow; translate comments to Russian and adjust paths in test files.

This commit is contained in:
Primakov Alexandr Alexandrovich committed 2025-12-05 16:51:44 +03:00
1 parent d477a0a5f1
commit 7066252bcb
14 files changed
+646 -294

No files matched your search

@@ -48,6 +48,7 @@ exports.generate = async (req, res) => {
}
);
const content = chatResp.data.choices[0].message.content;
// eslint-disable-next-line no-useless-escape
const match = content.match(/<img src=\"(.*?)\"/);
if (!match) {
return res.status(500).json({ error: 'No image generated' });