mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-30 04:39:00 +01:00
[Tests] Fix tests
This commit is contained in:
parent
b874082250
commit
016bc3b83d
@ -73,6 +73,7 @@
|
||||
"project": "./tsconfig.json"
|
||||
},
|
||||
"ignorePatterns": [
|
||||
"webpack.config.js"
|
||||
"webpack.config.js",
|
||||
"jest.config.js"
|
||||
]
|
||||
}
|
||||
|
@ -10,4 +10,8 @@ module.exports = {
|
||||
'<rootDir>/client/src/stylesheets/',
|
||||
],
|
||||
testEnvironment: 'jsdom',
|
||||
transform: {
|
||||
'\\.(jsx?|tsx?)$': 'babel-jest',
|
||||
'\\.txt$': 'jest-raw-loader',
|
||||
},
|
||||
};
|
||||
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -12851,6 +12851,12 @@
|
||||
"integrity": "sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==",
|
||||
"dev": true
|
||||
},
|
||||
"jest-raw-loader": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/jest-raw-loader/-/jest-raw-loader-1.0.1.tgz",
|
||||
"integrity": "sha1-zp9W1UZQ8VfEp9FtIkul1hO81iY=",
|
||||
"dev": true
|
||||
},
|
||||
"jest-regex-util": {
|
||||
"version": "27.0.6",
|
||||
"resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-27.0.6.tgz",
|
||||
|
@ -78,6 +78,7 @@
|
||||
"html-webpack-plugin": "^5.3.2",
|
||||
"husky": "^7.0.1",
|
||||
"jest": "^27.0.6",
|
||||
"jest-raw-loader": "^1.0.1",
|
||||
"lint-staged": "^11.1.2",
|
||||
"mini-css-extract-plugin": "^2.2.0",
|
||||
"node-sass": "^6.0.1",
|
||||
|
Loading…
Reference in New Issue
Block a user