is not a constructor typescript jest