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

Rework test build #211

Merged
merged 11 commits into from
Mar 18, 2017
Merged

Rework test build #211

merged 11 commits into from
Mar 18, 2017

Conversation

searls
Copy link
Member

@searls searls commented Mar 18, 2017

There is a lot of work needed to whip the test build into shape, however we plan to do that (ES6, teenytest, etc).

  • get the tests built with one big browserify bundle instead of babel/coffee filter operations
  • upgrade our test deps (testem, mocha 3)
  • upgrade to browserify 14
  • upgrade to phantom 2 on travis (sick and tired of dealing with 1.9.8 quirks, compatibility check or no
  • remove the global-ish hacks and just use normal require where we can (this had been done because the tests had to run where require couldn't be used, but getting a browserify build solves this
  • audit all the tests that are currently flagged to run only when NODE_JS is true, as some of those should now be runnable

I sorta can't believe this actually worked in one shot.
when-test had to change because mocha 3 blows up if a method returns
a then-able and also uses callbacks
This kills our istanbul config btw, oops
this will blow up in node 4 b/c we cannot override the js:babel compiler

how can i get this to run only for the node 6 build?
@searls searls merged commit c28dafa into master Mar 18, 2017
@searls searls deleted the browserify-tests branch March 18, 2017 15:31
@searls
Copy link
Member Author

searls commented Mar 18, 2017

heads up @jacobthemyth, this actually worked! Took a ton of fiddling, but the build is now against the full browserified bundle

@systemist
Copy link

systemist commented Mar 27, 2017 via email

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.

None yet

2 participants