Skip to content

Commit

Permalink
Increase coverage requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
alessiostalla committed Apr 24, 2024
1 parent a89575b commit 632f738
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ const config = {
coverageThreshold: {
// Note: we have several deprecated functions that reduce coverage
global: {
statements: 88,
branches: 83,
functions: 80,
lines: 88,
statements: 89,
branches: 84,
functions: 82,
lines: 89,
},
},
moduleDirectories: ["node_modules"],
Expand Down
4 changes: 1 addition & 3 deletions src/model/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -523,9 +523,7 @@ export function Children(): (target, methodName: string) => void {
* @deprecated use Attribute instead.
*/
export function Property(): (target, methodName: string) => void {
return function (target, methodName: string) {
registerNodeAttribute(target, methodName);
};
return Attribute();
}

/**
Expand Down

0 comments on commit 632f738

Please sign in to comment.