Skip to content

chore: fix URL must be file:// protocol error in e2e tests #1331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JessicaSachs
Copy link
Contributor

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

I couldn't run the E2E Example tests because the configs use fileURLToPath without a file:// protocol. It's just trying to resolve the rootDir up a directory, so this PR swaps to using resolve

Siteproxy

Verified

This commit was signed with the committer’s verified signature.
@JessicaSachs JessicaSachs requested a review from danielroe as a code owner June 17, 2025 22:02
Copy link

pkg-pr-new bot commented Jun 17, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/test-utils@1331

commit: ad6495b

@danielroe
Copy link
Member

in what environment do they not work? can you give me more info on how to reproduce?

the tests work for me locally on macos, as well as in CI on linux + windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants