diff --git a/tests/Resizable.spec.jsx b/tests/Resizable.spec.jsx index 17ca064f6..f4e91eee0 100644 --- a/tests/Resizable.spec.jsx +++ b/tests/Resizable.spec.jsx @@ -185,12 +185,13 @@ describe('Table.resizable', () => { width: 300, columnWidths: [ { columnKey: 'a', width: 300 }, - { columnKey: 'b', width: 500 }, + // scrollBarSize = 15px + { columnKey: 'b', width: 485 }, ], }); expect(wrapper.find('colgroup col').at(0).props().style.width).toBe(300); - expect(wrapper.find('colgroup col').at(1).props().style.width).toBe(500); + expect(wrapper.find('colgroup col').at(1).props().style.width).toBe(485); }); it('minWidth should be worked', async () => {