Skip to content

Commit 632f738

Browse files
committed
Increase coverage requirements
1 parent a89575b commit 632f738

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

jest.config.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ const config = {
1818
coverageThreshold: {
1919
// Note: we have several deprecated functions that reduce coverage
2020
global: {
21-
statements: 88,
22-
branches: 83,
23-
functions: 80,
24-
lines: 88,
21+
statements: 89,
22+
branches: 84,
23+
functions: 82,
24+
lines: 89,
2525
},
2626
},
2727
moduleDirectories: ["node_modules"],

src/model/model.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -523,9 +523,7 @@ export function Children(): (target, methodName: string) => void {
523523
* @deprecated use Attribute instead.
524524
*/
525525
export function Property(): (target, methodName: string) => void {
526-
return function (target, methodName: string) {
527-
registerNodeAttribute(target, methodName);
528-
};
526+
return Attribute();
529527
}
530528

531529
/**

0 commit comments

Comments
 (0)