grafana/public/test/mocks/angular.ts
2017-10-31 14:30:06 +01:00

18 lines
278 B
TypeScript

export default class AngularJSMock {
service: any;
controller: any;
directive: any;
constructor() {
this.service = jest.fn();
this.controller = jest.fn();
this.directive = jest.fn();
}
module() {
return this;
}
}
module.exports = AngularJSMock;