codesandbox-client
codesandbox-client copied to clipboard
Unable to import jsdom
🐛 bug report
Preflight Checklist
- [x] I have read the Contributing Guidelines for this project.
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.
Description of the problem
Unable to import jsdom in the sandbox with the vanilla template (parcel-bundler)

How has this issue affected you? What are you trying to accomplish?
We are trying to do UI testing for vanilla HTML and javascript. This error is blocking us to go forward.
To Reproduce
Include import { JSDOM } from "jsdom" in any of the files in the sandbox with the vanilla template (parcel-bundler)
https://codesandbox.io/s/jolly-christian-zlxbpw?file=/calculator.spec.js
Link to sandbox: link
Your Environment
| Software | Name/Version |
|---|---|
| Сodesandbox | |
| Browser | Brave |
| Operating System |
Similar Sandbox failures:
- https://codesandbox.io/s/the-elevator-challenge-rtxfv?file=/src/scripts/App.test.js
This appears to be working now