diff options
author | crupest <crupest@outlook.com> | 2019-03-09 23:40:06 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-03-09 23:40:06 +0800 |
commit | e72a1cc3f98e45aee6eb29d3281118fa8373233f (patch) | |
tree | 22bb24a7ecf57b694d131ec6e6f34ef8cce6bb0c /Timeline/ClientApp/src/app/user/internal-user-service/mock-internal-user-service.ts | |
parent | 76300141a6411c05d585994d5f19938bfe45838e (diff) | |
download | timeline-e72a1cc3f98e45aee6eb29d3281118fa8373233f.tar.gz timeline-e72a1cc3f98e45aee6eb29d3281118fa8373233f.tar.bz2 timeline-e72a1cc3f98e45aee6eb29d3281118fa8373233f.zip |
Half work!
Diffstat (limited to 'Timeline/ClientApp/src/app/user/internal-user-service/mock-internal-user-service.ts')
-rw-r--r-- | Timeline/ClientApp/src/app/user/internal-user-service/mock-internal-user-service.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/app/user/internal-user-service/mock-internal-user-service.ts b/Timeline/ClientApp/src/app/user/internal-user-service/mock-internal-user-service.ts new file mode 100644 index 00000000..f4a85262 --- /dev/null +++ b/Timeline/ClientApp/src/app/user/internal-user-service/mock-internal-user-service.ts @@ -0,0 +1,5 @@ +import { InternalUserService } from './internal-user.service'; + +export function createMockInternalUserService(): jasmine.SpyObj<InternalUserService> { + return jasmine.createSpyObj('InternalUserService', ['userRouteNavigate', 'refreshAndGetUserState', 'tryLogin']); +} |