mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-05-10 05:30:13 +03:00
Fixed tests after bootstrap 5 update
This commit is contained in:
parent
6346f82a0a
commit
dcfb5ab054
10 changed files with 35 additions and 29 deletions
test/servers/helpers
|
@ -1,6 +1,6 @@
|
|||
import { shallow, ShallowWrapper } from 'enzyme';
|
||||
import { FormGroup } from 'reactstrap';
|
||||
import { ServerForm } from '../../../src/servers/helpers/ServerForm';
|
||||
import { InputFormGroup } from '../../../src/utils/forms/InputFormGroup';
|
||||
|
||||
describe('<ServerForm />', () => {
|
||||
let wrapper: ShallowWrapper;
|
||||
|
@ -14,7 +14,7 @@ describe('<ServerForm />', () => {
|
|||
afterEach(jest.resetAllMocks);
|
||||
|
||||
it('renders components', () => {
|
||||
expect(wrapper.find(FormGroup)).toHaveLength(3);
|
||||
expect(wrapper.find(InputFormGroup)).toHaveLength(3);
|
||||
expect(wrapper.find('span')).toHaveLength(1);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue