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

leondreamed-archives/vitest-dynamic-import-eval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published