Skip to content

"absolute import" test has wrong selector #86

Closed
@mkrti-ch

Description

@mkrti-ch

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions