diff --git a/jest.config.js b/jest.config.js index 7d7ae91..ab74087 100644 --- a/jest.config.js +++ b/jest.config.js @@ -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"], diff --git a/src/model/model.ts b/src/model/model.ts index 4868138..1a8ed8d 100644 --- a/src/model/model.ts +++ b/src/model/model.ts @@ -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(); } /**