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

Enable babel for tests #4564

Merged
merged 4 commits into from Oct 12, 2016
Merged

Enable babel for tests #4564

merged 4 commits into from Oct 12, 2016

Conversation

danez
Copy link
Member

@danez danez commented Sep 25, 2016

Q A
Bug fix? no
Breaking change? no
New feature? no
Deprecations? no
Spec compliancy? no
Tests added/pass? yes
Fixed tickets
License MIT
Doc PR

This enables babel for tests by using a mocha compiler and it uses the babel config from package.json
I transformed OptionsManager test to es2015 to see if it works

Also removed the 5s timeout from cli tests, as the default timeout is already 10s, this should probably fix the timouts on travis that we had in babylon

Also run the cli tests on travis, they were disabled if istanbul is active, but istanbul is always active on travis so we were never running this tests. If they still timeout sometimes, we might need to investigate

@danez danez added the PR: Internal 🏠 A type of pull request used for our changelog categories label Sep 25, 2016
@codecov-io
Copy link

codecov-io commented Sep 25, 2016

Current coverage is 88.76% (diff: 100%)

Merging #4564 into master will increase coverage by <.01%

@@             master      #4564   diff @@
==========================================
  Files           195        195          
  Lines         13774      13776     +2   
  Methods        1425       1425          
  Messages          0          0          
  Branches       3172       3173     +1   
==========================================
+ Hits          12226      12228     +2   
  Misses         1548       1548          
  Partials          0          0          

Powered by Codecov. Last update f9ccee9...70a0037

This enables babel for tests by using a mocha compiler
It uses the babel config from package.json
Transformed OptionsManager test to es2015 to see if it works
Removed the 5s timeout from cli tests, as the default timeout is already 10s, this should probably fix the timouts on travis that we had in babylon
Also run the cli tests on travis, they were disabled if istanbul active, but istanbul is always active on travis so we were never running this tests.
@danez danez merged commit 1dca51f into master Oct 12, 2016
@danez danez deleted the tests-es2015 branch October 12, 2016 08:56
panagosg7 pushed a commit to panagosg7/babel that referenced this pull request Jan 17, 2017
* Enable babel for tests

This enables babel for tests by using a mocha compiler
It uses the babel config from package.json
Transformed OptionsManager test to es2015 to see if it works
Removed the 5s timeout from cli tests, as the default timeout is already 10s, this should probably fix the timouts on travis that we had in babylon
Also run the cli tests on travis, they were disabled if istanbul active, but istanbul is always active on travis so we were never running this tests.

* ignore scripts directory

* only register for tests

* Set only flag correctly
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 7, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Internal 🏠 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants