Describe the bug

i 'm not able write unit test cases for the maxGraph functionalities due to this error and is there any way/solution for this or any configuration i need to update??
Environment
maxGraph version or commit: 0.18.0
- Desktop or mobile:
- OS and version: [e.g. iOS 14.1]
- Browser and version: [e.g. chrome 118, safari 15]
- Node/npm version (if applicable):
- Used frameworks (if applicable):
Additional context
Add any other context about the problem here.