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

Es6 #5

Merged
merged 93 commits into from
Jan 21, 2016
Merged

Es6 #5

merged 93 commits into from
Jan 21, 2016

Conversation

des-des
Copy link
Member

@des-des des-des commented Jan 19, 2016

  • parsing logic pulled out of adoro project
  • es6 templates instead of handlebars
  • example server which serves input form and responds with amp file

nelsonic and others added 30 commits October 12, 2014 16:57
@nelsonic
Copy link
Member

@des-des we need to collect coverage data for the tests.
annoyingly, when we attempt to run the tests using istanbul no coverage data is collected. see: #17

@nelsonic
Copy link
Member

@des-des good idea to transpile before running tests on Travis 💡
did this work on your local ...?

@des-des
Copy link
Member Author

des-des commented Jan 20, 2016

@nelsonic
trying on local defo much faster than pushing and waiting for travis ...

@nelsonic
Copy link
Member

@des-des when I run anything involving babel on my local machine it takes ages... 😞
I think I might have to sit with you some time to see how you make it go faster... 🐎

@nelsonic
Copy link
Member

@des-des yes, if we are going to ES5 the tests ...

however that still requires the babel build on Travis which we would similarly need to run on local... I'm experimenting with babel-istanbul so that any ES6 code in the project (including in the /test dir) will be transpiled _before_ the tests are run ...

Thoughts...? 💭

Safe journey. 🚄

cc: @rjmk how are you tracking code coverage in your babel-powered projects...?

@codecov-io
Copy link

Current coverage is 100.00%

Branch #5 has no coverage reports uploaded yet.

No diff could be generated. No reports for master found.
Review entire Coverage Diff as of d5be481

Powered by Codecov. Updated on successful CI builds.

@nelsonic
Copy link
Member

@des-des so... this might work... https://travis-ci.org/dwyl/ampl/builds/103683244#L297
what do you think...?

@nelsonic
Copy link
Member

@des-des would you mind investigating the coverage and adding a couple more test cases to cover the conditional branches that are not being executed...?

@des-des
Copy link
Member Author

des-des commented Jan 20, 2016


woop
on it

@des-des
Copy link
Member Author

des-des commented Jan 20, 2016

image

@nelsonic
Copy link
Member

Ok. this is acceptable code. 😜
Nice one @des-des 👍

@nelsonic
Copy link
Member

@des-des totes merging into Master as a first version. Great work! 👍

nelsonic added a commit that referenced this pull request Jan 21, 2016
@nelsonic nelsonic merged commit 8cf50e7 into master Jan 21, 2016
@nelsonic nelsonic deleted the es6 branch January 21, 2016 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants