Skip to content
This repository has been archived by the owner on Oct 2, 2022. It is now read-only.

Latest commit

 

History

History
7 lines (4 loc) · 361 Bytes

readme.md

File metadata and controls

7 lines (4 loc) · 361 Bytes

Vitest dynamic import error

Running arrayUniqEval from eval.js using regular Node works fine, but when running it from Vitest, the following error appears:

error

It looks like Vitest doesn't support the dynamic import when using eval or new Function(). Perhaps it's related to this error?: nodejs/node#30591