Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic committed Apr 23, 2020
1 parent ea7390f commit 1ff3926
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ describe('useConfigure', () => {
result.current.setMapping(mapping);
expect(result.current.mapping).toEqual(mapping);
});
})
});

test('set isLoading to true when fetching case configuration', async () => {
await act(async () => {
Expand Down Expand Up @@ -177,7 +177,7 @@ describe('useConfigure', () => {
await waitForNextUpdate();
await waitForNextUpdate();

result.current.persistCaseConfigure({ ...configuration });
result.current.persistCaseConfigure(configuration);

expect(result.current.connectorId).toEqual('123');
await waitForNextUpdate();
Expand Down

0 comments on commit 1ff3926

Please sign in to comment.