angular.ts 278 B

1234567891011121314151617
  1. export default class AngularJSMock {
  2. service: any;
  3. controller: any;
  4. directive: any;
  5. constructor() {
  6. this.service = jest.fn();
  7. this.controller = jest.fn();
  8. this.directive = jest.fn();
  9. }
  10. module() {
  11. return this;
  12. }
  13. }
  14. module.exports = AngularJSMock;