Shubham | Add. Test setup
This commit is contained in:
@@ -3,3 +3,7 @@
|
||||
// expect(element).toHaveTextContent(/react/i)
|
||||
// learn more: https://github.com/testing-library/jest-dom
|
||||
import '@testing-library/jest-dom/extend-expect';
|
||||
const enzyme = require('enzyme');
|
||||
const Adapter = require('enzyme-adapter-react-16');
|
||||
|
||||
enzyme.configure({ adapter: new Adapter() });
|
||||
|
||||
Reference in New Issue
Block a user