tests: migrated tests for link_srv to jest, #9666

This commit is contained in:
Torkel Ödegaard
2017-10-31 14:30:06 +01:00
parent 9aa6a6b4c4
commit 7f83460f42
2 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
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;