Bug/keyboard issue in manange linked account (#1400)

* add message and add account button when the linked account is empty

* fix account dialog tests

* address comment
This commit is contained in:
Abbie Petchtes
2018-05-14 11:25:13 -07:00
committed by GitHub
parent 3aaf8a24bf
commit 6b549696c5
4 changed files with 139 additions and 40 deletions

View File

@@ -78,6 +78,7 @@ function createInstantiationService(addAccountFailureEmitter?: Emitter<string>):
mockAccountViewModel.setup(x => x.addProviderEvent).returns(() => mockEvent.event);
mockAccountViewModel.setup(x => x.removeProviderEvent).returns(() => mockEvent.event);
mockAccountViewModel.setup(x => x.updateAccountListEvent).returns(() => mockEvent.event);
mockAccountViewModel.setup(x => x.initialize()).returns(() => Promise.resolve([]));
// Create a mocked out instantiation service
let instantiationService = TypeMoq.Mock.ofType(InstantiationService, TypeMoq.MockBehavior.Strict);