-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Remove babel-polyfill #229
Conversation
fc4381f
to
ee51ca3
Compare
@@ -87,6 +87,7 @@ | |||
"karma-mocha": "^0.2.2", | |||
"karma-mocha-reporter": "^2.0.0", | |||
"karma-phantomjs-launcher": "^1.0.0", | |||
"karma-phantomjs-shim": "github:technologyadvice/karma-phantomjs-shim", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can go back to main branch once String.repeat and String.includes are merged:
tschaub/karma-phantomjs-shim#6
tschaub/karma-phantomjs-shim#7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
karma-phantomjs-shim@1.4.0
published with both includes
and repeat
. Thanks for the contribution.
We could also use lodash repeat/includes, however, chai-enzyme also uses |
], | ||
phantomjsLauncher: { | ||
// exit on ResourceError, useful if karma exits without killing phantom | ||
exitOnResourceError: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, didn't know about this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Me either, just saw it in the docs while debugging something else.
👻 |
(w/ tests passing) |
2157b04
to
163f376
Compare
As noted in #206, this PR removes the
babel-polyfill
for it's size and global namespace pollution. We don't want to drop this on our consumers.