1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 22:46:41 +07:00

added tests and fixed errors

This commit is contained in:
Fedor Katurov 2024-01-11 19:22:03 +07:00
parent 6e34090f8f
commit 88c1a41b2f
13 changed files with 2297 additions and 91 deletions

15
jest.config.cjs Normal file
View file

@ -0,0 +1,15 @@
/** @type {import('@jest/types').Config.ProjectConfig} */
module.exports = {
transform: {
"\\.[jt]sx?$": [
"ts-jest",
{
useESM: true,
},
],
},
moduleNameMapper: {
"(.+)\\.js": "$1",
},
extensionsToTreatAsEsm: [".ts"],
};