kherock / vitest-new-url-bug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reproduction of new URL(..., import.meta.url) regression in Vitest 0.34

A test case in basic.spec.js has been added asserting that URLs are correctly transformed with an http protocol URL when the jsdom environment (web transform mode) is configured.

This test will fail when Vitest is upgraded to 0.34:

npm i -D vitest@0.34
npm test

About


Languages

Language:JavaScript 100.0%