Yay! import.meta.resolve is coming to Vitest github.com/vitest-dev/v... 🎉🎉🎉
Zach Leatherman 44 replies 2222 likes11 repost Original on BlueskyOriginal on MastodonAlso posted to Mastodon.
4 replies
-
@khalidabuhakmeh I am using `import.meta.resolve` in my import-module-string package (tested in Vitest) and needed to write a separate test suite using Node’s test runner to test the import.meta.resolve functionality.
https://github.com/vitest-dev/vitest/issues/6953
Mentioned here: https://www.zachleat.com/web/dynamic-import/#even-more-features
Direct ref to the separate Node test suite: https://github.com/zachleat/import-module-string/blob/5e09593347e48ca64f54c523b04de0215242d886/test/manual-node-test.js#L5
@zachleat Oh, neat, thanks for sharing. I am always keeping an eye on what you JavaScript folks are doing.
@khalidabuhakmeh just a small feature support wrinkle in Vitest, happy to see it ironed out!