Browse Source

update wrapper renderer after click (#32834)

Taylan Gocmen 3 years ago
parent
commit
80a545f1da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/js/spec/views/organizationGroupDetails/actions.spec.tsx

+ 1 - 1
tests/js/spec/views/organizationGroupDetails/actions.spec.tsx

@@ -116,8 +116,8 @@ describe('GroupActions', function () {
       expect(reprocessActionButton).toBeTruthy();
 
       reprocessActionButton.simulate('click');
-
       await tick();
+      wrapper.update();
 
       expect(onReprocessEventFunc).toHaveBeenCalled();
     });