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

@@ -39,7 +39,6 @@
"devDependencies": {
"@n8n_io/eslint-config": "",
"@types/express": "^4.17.6",
"@types/jest": "^27.4.0",
"@types/jmespath": "^0.15.0",
"@types/lodash.get": "^4.4.6",
"@types/lodash.merge": "^4.6.6",
@@ -47,10 +46,7 @@
"@types/luxon": "^2.0.9",
"@types/node": "^16.11.22",
"@types/xml2js": "^0.4.3",
"jest": "^27.4.7",
"jest-environment-jsdom": "^27.5.1",
"prettier": "^2.3.2",
"ts-jest": "^27.1.3",
"typescript": "~4.8.0"
},
"dependencies": {
@@ -62,21 +58,5 @@
"lodash.set": "^4.3.2",
"luxon": "~2.3.0",
"xml2js": "^0.4.23"
},
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testURL": "http://localhost/",
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)$",
"testPathIgnorePatterns": [
"/dist/",
"/node_modules/"
],
"moduleFileExtensions": [
"ts",
"js",
"json"
]
}
}