Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed Feb 14, 2020
1 parent a6d138e commit ecc2bd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe('Create Remote cluster', () => {
beforeEach(async () => {
({ component, form, actions } = setup());

await nextTick(100);
await nextTick();
component.update();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('Edit Remote cluster', () => {
httpRequestsMockHelpers.setLoadRemoteClustersResponse([REMOTE_CLUSTER_EDIT]);

({ component, find, exists } = setup());
await nextTick(100);
await nextTick(100); // We need to wait next tick for the mock server response to kick in
component.update();
});

Expand All @@ -52,7 +52,7 @@ describe('Edit Remote cluster', () => {
test('should use the same Form component as the "<RemoteClusterEdit />" component', async () => {
const { component: addRemoteClusterComponent } = setupRemoteClustersAdd();

await nextTick(100);
await nextTick();
addRemoteClusterComponent.update();

const formEdit = component.find(RemoteClusterForm);
Expand Down

0 comments on commit ecc2bd0

Please sign in to comment.