Skip to content

Commit

Permalink
Fixed broken test.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyanziano committed Sep 25, 2019
1 parent 08c9660 commit 54129f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app/client/src/commands/uiCommands.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import { store } from '../state/store';
import {
AzureLoginPromptDialogContainer,
AzureLoginSuccessDialogContainer,
BotCreationDialog,
BotCreationDialogContainer,
DialogService,
OpenBotDialogContainer,
SecretPromptDialogContainer,
Expand Down Expand Up @@ -97,7 +97,7 @@ describe('the uiCommands', () => {
it('should call DialogService.showDialog when the ShowBotCreationDialog command is dispatched', async () => {
const spy = jest.spyOn(DialogService, 'showDialog').mockResolvedValueOnce(true);
const result = await registry.getCommand(Commands.ShowBotCreationDialog)();
expect(spy).toHaveBeenCalledWith(BotCreationDialog);
expect(spy).toHaveBeenCalledWith(BotCreationDialogContainer);
expect(result).toBe(true);
});

Expand Down

0 comments on commit 54129f5

Please sign in to comment.