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

WIP: Upgrade all outdated dependencies #117

Closed
wants to merge 47 commits into from
Closed

Conversation

rmg
Copy link
Member

@rmg rmg commented May 2, 2016

  • refactor tests to work with tap@5 (required since we previously used tap@0.x)
  • add coverage reporting
    • add some additional tests to plug some of the holes that were uncovered
  • remove dependency on chai entirely instead of upgrading it

@rmg rmg mentioned this pull request May 2, 2016
rmg added 18 commits May 8, 2016 12:50
This makes them compatible with node-tap 1.x and newer.
For chai heavy tests, simply wrap them in a t.doesNotThrow(), but for
plain assertion tests, refactor them to use TAP's assertions.
The usage was so minor that it is easier to just remove it entirely than
to upgrade to a recent version.
node-foreman's builtin logging interfers with certain TAP parsers,
resulting in a passing test suite that shows up as a failed build.
Not all versions of node on all platforms properly give a signal with
the 'exit' event. This is likely causing the tests to be a little flaky
on Windows under node 0.10.
The first argument was originally supposed to be the expected exit code,
but these tests assumed it would default to 0 if not specified. Now it
does.
Switch to TAP output for easier debugging and disable coverage
reporting.
As a side effect, this also allows nyc to generate more accurate
coverage reports :-)
The test setup is based on the behaviour described in #93, but with the
required modifications to support testing without using any fixed ports.
@rmg rmg force-pushed the upgrade-all-the-things branch from 3f74b93 to 13b92b9 Compare May 8, 2016 19:54
@bajtos
Copy link
Member

bajtos commented May 21, 2018

Closing as abandoned.

@bajtos bajtos closed this May 21, 2018
@bajtos bajtos deleted the upgrade-all-the-things branch May 21, 2018 08:26
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