mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
jest reporters
This commit is contained in:
@@ -1,7 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
setupFilesAfterEnv: ['<rootDir>/setupTests.js'],
|
setupFilesAfterEnv: ['<rootDir>/setupTests.js'],
|
||||||
reporters: [
|
reporters: ['default', 'github-actions'],
|
||||||
'summary', // nice overall summary
|
|
||||||
'github-actions', // adds inline annotations in PRs
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"jest": "^27.0.1",
|
"jest": "^28.1.3",
|
||||||
"pino-pretty": "^11.2.2",
|
"pino-pretty": "^11.2.2",
|
||||||
"tmp": "^0.2.3"
|
"tmp": "^0.2.3"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,8 +2,5 @@ module.exports = {
|
|||||||
preset: 'ts-jest',
|
preset: 'ts-jest',
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
moduleFileExtensions: ['js'],
|
moduleFileExtensions: ['js'],
|
||||||
reporters: [
|
reporters: ['default', 'github-actions'],
|
||||||
'summary', // nice overall summary
|
|
||||||
'github-actions', // adds inline annotations in PRs
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,8 +2,5 @@ module.exports = {
|
|||||||
preset: 'ts-jest',
|
preset: 'ts-jest',
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
moduleFileExtensions: ['js'],
|
moduleFileExtensions: ['js'],
|
||||||
reporters: [
|
reporters: ['default', 'github-actions'],
|
||||||
'summary', // nice overall summary
|
|
||||||
'github-actions', // adds inline annotations in PRs
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -2,8 +2,5 @@ module.exports = {
|
|||||||
preset: 'ts-jest',
|
preset: 'ts-jest',
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
moduleFileExtensions: ['js'],
|
moduleFileExtensions: ['js'],
|
||||||
reporters: [
|
reporters: ['default', 'github-actions'],
|
||||||
'summary', // nice overall summary
|
|
||||||
'github-actions', // adds inline annotations in PRs
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user