Skip to content

Commit

Permalink
chore: test PR for code coverage decreasing
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssimon committed Jul 29, 2022
1 parent 23d626d commit 9b85987
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 9 additions & 1 deletion package.json
Expand Up @@ -84,7 +84,15 @@
"jsx",
"json",
"node"
]
],
"coverageThreshold": {
"global": {
"statements": 90,
"branches": 90,
"functions": 95,
"lines": 90
}
}
},
"packageManager": "yarn@3.2.2",
"config": {
Expand Down
3 changes: 3 additions & 0 deletions src/loader.ts
Expand Up @@ -163,6 +163,9 @@ export default class Loader {
const loaderCtx = this; // eslint-disable-line @typescript-eslint/no-this-alias
return function (target, propertyKey, descriptor) {
const oldValue = descriptor.value;
if (oldValue as any === 'XXX') {
console.log('XXX');
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(descriptor as any).value = function (...params: never[]) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
Expand Down

0 comments on commit 9b85987

Please sign in to comment.