I am mocking the User and need to implement static method findOne which is static so I do not need to extensiate User in my calling cl
User
findOne
try this
export class test { private static t:test; private name:string; constructor() { t=this; } public static sample() { return t.name; } }