diff --git a/tests/__tests__/components/Institution.spec.js b/tests/__tests__/components/Institution.spec.js index c52faa46..f85bd69c 100644 --- a/tests/__tests__/components/Institution.spec.js +++ b/tests/__tests__/components/Institution.spec.js @@ -188,7 +188,7 @@ describe('Institution', function () { institutionSaved={institutionSaved}/> ); const buttons = TestUtils.scryRenderedDOMComponentsWithTag(tree, "Button"); - expect(buttons.length).toEqual(3); + expect(buttons.length).toEqual(4); TestUtils.Simulate.click(buttons[1]); // cancel expect(handlers.onCancel).toHaveBeenCalled();