tc39 / eshost

A uniform wrapper around a multitude of ECMAScript hosts. CLI: https://github.com/bterlson/eshost-cli
Other
142 stars 36 forks source link

Refactor test code #30

Closed jugglinmike closed 7 years ago

jugglinmike commented 7 years ago

Organize tests into dedicated Mocha.js "suites" according to their initialization requirements. This reduces the amount of duplication in test setup (specifically related to test skipping and timeout values), and it produces more descriptive logging output.

jugglinmike commented 7 years ago

For convenience, here's a link to the diff with whitespace changes suppressed: https://github.com/bterlson/eshost/pull/30/files?w=1

bterlson commented 7 years ago

Conflicts heavily with my module branch but I'll fix that.