Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
liweitian committed May 12, 2020
1 parent fd80eba commit 591315a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ describe('<DefineConversation/>', () => {
});

it('should render the component', () => {
storeContext.state.storages = [];
component = renderComponent();
expect(component.container).toBeDefined();
});

it('should update formdata with data passed through location props', async () => {
storeContext.state.storages = [];
storeContext.state.templateId = 'EchoBot';
locationMock = {
search:
Expand Down

0 comments on commit 591315a

Please sign in to comment.