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

Build: Add karma-chrome-launcher support #11027

Merged
merged 3 commits into from Jan 4, 2019

Conversation

aladdin-add
Copy link
Member

@aladdin-add aladdin-add commented Oct 28, 2018

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofixing to a rule
[ ] Add a CLI option
[ ] Add something to the core
[x ] Other, please explain:

What changes did you make? (Give an overview)
the change was merged in #10898, but was reverted in #10973, due to a release build failing on Jenkins.

the change added it back again, and added puppeteer in dev, to fix the build failing.

Is there anything you'd like reviewers to focus on?

what can we do to make sure it fixed the issue? (e.g. run on Jenkins)

@aladdin-add aladdin-add added build This change relates to ESLint's build process accepted There is consensus among the team that this change meets the criteria for inclusion labels Oct 28, 2018
Copy link
Member

@g-plane g-plane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing process.env.CHROME_BIN = require("puppeteer").executablePath() at the header of karma.conf.js.

@platinumazure
Copy link
Member

Apologies if this was discussed elsewhere, but: Why do we want to do this in the first place? Is this to help validate our unofficial browser capability?

@aladdin-add
Copy link
Member Author

I think it was discussed in #10898. it was introduced as Phantomjs no longer being maintained, than to help validate our unofficial browser capability.

@g-plane
Copy link
Member

g-plane commented Jan 4, 2019

Once we are going to use Chrome, babel-core, babelify, babel-polyfill and babel-preset-es2015 can be removed.

@aladdin-add
Copy link
Member Author

@g-plane switching to chrome does not mean dropping support IE. so I'm not sure we can remove these deps. but it seems a good idea to upgrade babel 7, since babel-* were no longer maintained.

Copy link
Member

@not-an-aardvark not-an-aardvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

I created a test build on the Jenkins server and confirmed that the tests on this branch pass.

@not-an-aardvark
Copy link
Member

Ignoring the CLA checker because the name changed and the email address is the same (also see #11220 (comment)).

@not-an-aardvark not-an-aardvark merged commit f92d6f0 into master Jan 4, 2019
@not-an-aardvark not-an-aardvark deleted the revert-10973-revert-chrome-headless branch January 4, 2019 20:46
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Jul 4, 2019
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Jul 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion archived due to age This issue has been archived; please open a new issue for any further discussion build This change relates to ESLint's build process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants