all files / core/decorators/ focus-test-decorator.ts

100% Statements 5/5
100% Branches 0/0
100% Functions 1/1
100% Lines 4/4
1 2 3 4 5 6 7 8 9          
import "reflect-metadata";
import { FOCUS } from "./_metadata-keys";
 
export function FocusTest(target: any, propertyKey: string, descriptor: TypedPropertyDescriptor<any>) {
 
    // mark test method as focussed
    Reflect.defineMetadata(FOCUS, true, target, propertyKey);
};