-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mitigate potential hook race condition and close open handles (#396)
* chore: sync prettier config parser with npm script * chore: redo package-lock.json * chore: change codeowners to angels * fix: mitigate potential race condition in unhandledrejection hook, close open test connections, test utils cleanup (typos and formatting)
- Loading branch information
1 parent
1f86185
commit 2703251
Showing
33 changed files
with
4,516 additions
and
32,375 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
const targets = { node: 'current' }; | ||
const presets = ["@babel/preset-typescript", ['@babel/preset-env', { targets }]]; | ||
const presets = [ | ||
"@babel/preset-typescript", | ||
[ "@babel/preset-env", { targets } ] | ||
]; | ||
|
||
const plugins = [ | ||
["@babel/plugin-proposal-decorators", { "legacy": true }], | ||
'@babel/plugin-proposal-class-properties', | ||
'@babel/plugin-proposal-optional-chaining', | ||
[ "@babel/plugin-proposal-decorators", { "legacy": true } ], | ||
"@babel/plugin-proposal-class-properties", | ||
"@babel/plugin-proposal-optional-chaining", | ||
]; | ||
|
||
module.exports = { presets, plugins }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
* @lumigo-io/wall-e | ||
* @lumigo-io/angels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
module.exports = { | ||
silent: true, | ||
testEnvironment: 'node', | ||
coverageDirectory: './coverage/', | ||
testEnvironment: "node", | ||
coverageDirectory: "./coverage/", | ||
collectCoverage: true, | ||
collectCoverageFrom: [ | ||
'**/src/**/**/**/**.js', | ||
'**/src/**/**/**/**.ts', | ||
'!./src/tools/xmlToJson.js', | ||
'!./src/testdata/functions/**/**.js', | ||
'!./d_example/**/**', | ||
"**/src/**/**/**/**.js", | ||
"**/src/**/**/**/**.ts", | ||
"!./src/tools/xmlToJson.js", | ||
"!./src/testdata/functions/**/**.js", | ||
"!./d_example/**/**", | ||
], | ||
coverageThreshold: { | ||
global: { | ||
lines: 100, | ||
}, | ||
}, | ||
setupFilesAfterEnv: ['./testUtils/jest.setup.js'], | ||
roots: ['<rootDir>/src'], | ||
modulePaths: ['<rootDir>/dist'], | ||
setupFilesAfterEnv: [ "./testUtils/jest.setup.js" ], | ||
roots: [ "<rootDir>/src" ], | ||
modulePaths: [ "<rootDir>/dist" ], | ||
}; |
Oops, something went wrong.