Skip to content
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

Use npx for local browser testing #2828

Closed
wants to merge 1 commit into from

Conversation

jgonggrijp
Copy link
Collaborator

I changed the test-browser script to use npx. This prevents npm from messing up the package.json and package-lock.json when you npm run test-browser.

To be on the safe side, I copied the old version of the command to test-browser-ci for the Travis build.

@jashkenas FYI. I'm going to submit a bunch of small PRs in parallel to #2826. Please don't worry about the order, I'll fix any merge conflicts in #2826 if the need arises.

@jgonggrijp
Copy link
Collaborator Author

When testing on a different machine, I found out that Karma cannot reliably find PhantomJS when following this approach. It happened to work on the machine where I created this PR because I already had a global installation of PhantomJS. I'm withdrawing the PR for this reason.

@jgonggrijp jgonggrijp closed this Mar 14, 2020
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.

1 participant