Skip to content

Commit

Permalink
add InvalidObject
Browse files Browse the repository at this point in the history
  • Loading branch information
InsaneZein committed Oct 3, 2023
1 parent 521a280 commit 698ae1f
Show file tree
Hide file tree
Showing 11 changed files with 1,233 additions and 120 deletions.
5 changes: 5 additions & 0 deletions config/setupTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ import 'whatwg-fetch';
import 'babel-polyfill';
import '@testing-library/jest-dom';

import Adapter from '@cfaester/enzyme-adapter-react-18';
import { configure } from 'enzyme';

global.SVGPathElement = function () {};

configure({ adapter: new Adapter() });

global.MutationObserver = class {
constructor(callback) {}
disconnect() {}
Expand Down
Loading

0 comments on commit 698ae1f

Please sign in to comment.