Skip to content

Importing @web/test-runner specific paths does not work #1732

Answered by Pajn
Pajn asked this question in Troubleshooting
Discussion options

You must be logged in to vote

I found a solution, setting it as an external package in the snowpack config works:

  installOptions: {
    // externalPackage: ["/__web-dev-server__web-socket.js"],
  },

I'll submit a PR to have @snowpack/web-test-runner-plugin do that automatically

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Pajn
Comment options

You must be logged in to vote
1 reply
@Pajn
Comment options

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