Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kherock/vitest-new-url-bug
https://github.com/kherock/vitest-new-url-bug
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kherock/vitest-new-url-bug
- Owner: kherock
- Created: 2023-08-11T16:15:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-11T16:36:54.000Z (over 1 year ago)
- Last Synced: 2023-08-11T23:24:59.660Z (over 1 year ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Reproduction of `new URL(..., import.meta.url)` regression in Vitest 0.34
A test case in [basic.spec.js](./test/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:
```console
npm i -D [email protected]
npm test
```