Closed
Description
Related plugins
Describe the bug
Just found a little bug in playground/vue/__tests__/vue.spec.ts:136
at "absolute import" test case in "asset reference" section.
I want to create a PR and fix it.
Reproduction
No link needed in this case
Steps to reproduce
Run pnpm i
Run pnpm dev
Run pnpm test
All tests are passed, but the element selector is wrong and because path to the asset is same, there is no test fail when you run it.
System Info
System:
OS: macOS 13.0
CPU: (10) arm64 Apple M1 Pro
Memory: 828.33 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.7.0 - ~/.nvm/versions/node/v18.7.0/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 9.1.1 - ~/.nvm/versions/node/v18.7.0/bin/npm
Browsers:
Chrome: 108.0.5359.124
Safari: 16.1
npmPackages:
vite: ^4.0.3 => 4.0.3
Used Package Manager
pnpm
Logs
No logs needed in this case
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.