feat: setup nightly tests for postgres and mysql schemas (#4441)

* feat: unify Jest config

* feat: simplify DB setup for tests

* feat: setup nightly tests for postgres and mysql schemas
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-10-25 22:06:03 +02:00
committed by GitHub
parent 5c9b40117a
commit 99157cf581
20 changed files with 352 additions and 9984 deletions

View File

@@ -0,0 +1,2 @@
/** @type {import('jest').Config} */
module.exports = require('../../jest.config');

View File

@@ -31,15 +31,12 @@
"@types/cron": "~1.7.1",
"@types/crypto-js": "^4.0.1",
"@types/express": "^4.17.6",
"@types/jest": "^27.4.0",
"@types/lodash.get": "^4.4.6",
"@types/mime-types": "^2.1.0",
"@types/node": "^16.11.22",
"@types/request-promise-native": "~1.0.15",
"@types/uuid": "^8.3.2",
"jest": "^27.4.7",
"source-map-support": "^0.5.9",
"ts-jest": "^27.1.3",
"typescript": "~4.8.0"
},
"dependencies": {
@@ -59,22 +56,5 @@
"request": "^2.88.2",
"request-promise-native": "^1.0.7",
"uuid": "^8.3.2"
},
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testURL": "http://localhost/",
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)$",
"testPathIgnorePatterns": [
"/dist/",
"/node_modules/"
],
"moduleFileExtensions": [
"ts",
"js",
"json",
"node"
]
}
}