1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 1× 1× 51× 51× 9× 51× 51× 1× | "use strict"; require("reflect-metadata"); function Teardown(target, propertyKey, descriptor) { var teardownFunctions = Reflect.getMetadata("alsatian:teardown", target); if (!teardownFunctions) { teardownFunctions = []; } teardownFunctions.push(propertyKey); // mark as teardown test method Reflect.defineMetadata("alsatian:teardown", teardownFunctions, target); } exports.Teardown = Teardown; ; //# sourceMappingURL=teardown-decorator.js.map |