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:
parent
6e34090f8f
commit
88c1a41b2f
13 changed files with 2297 additions and 91 deletions
15
jest.config.cjs
Normal file
15
jest.config.cjs
Normal 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"],
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue