test: fix test error

This commit is contained in:
xrkffgg 2021-12-05 11:49:08 +08:00 committed by GitHub
parent 90f062e339
commit 3881e5d787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
import React from 'react';
import { mount } from 'enzyme';
import { mount, render } from 'enzyme';
import { act } from 'react-dom/test-utils';
import Alert from '..';
import Button from '../../button';