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

Removes dependency upon babel-polyfills #2731

Merged
merged 5 commits into from
Sep 24, 2016
Merged

Removes dependency upon babel-polyfills #2731

merged 5 commits into from
Sep 24, 2016

Conversation

flovilmart
Copy link
Contributor

@flovilmart flovilmart commented Sep 18, 2016

  • Testsuite don't rely on babel-node that would inject polyfills into the environment
  • kill switch if test are polyfilled (to ensure the lack of babel-polyfill at runtime won't cause issues)
  • use lodash implementations if possible for array/object instance methods.

@@ -14,6 +14,11 @@ global.on_db = (db, callback, elseCallback) => {
}
}

if (global._babelPolyfill) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

make sure nothing is poly filled before running the tests

@flovilmart flovilmart changed the title No polyfills Removes dependency upon babel-polyfills Sep 18, 2016
@flovilmart flovilmart modified the milestone: 2.2.22 Sep 19, 2016
@flovilmart flovilmart merged commit 2ec2bb5 into master Sep 24, 2016
@flovilmart flovilmart deleted the no-polyfills branch September 24, 2016 17:53
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.

2 participants