When running just the diff tests with npm run test:diff, the server never shuts down. Let's figure out why, because I run this very frequently, and having to continually ctrl-C is annoying.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Use old mocha exit behavior for test:diff | mediawiki/services/mobileapps | master | +1 -1 |
Event Timeline
Comment Actions
Theoretically this is accomplished by adding after(() => server.stop()); in test/diff/diff.js. That's easier to do without side effects if the diff tests run stand-alone.
Otherwise the server stops prematurely, if other tests follow.
Comment Actions
Change 443868 had a related patch set uploaded (by Mholloway; owner: Mholloway):
[mediawiki/services/mobileapps@master] Use old mocha exit behavior for test:diff
Comment Actions
See here for background on the fix: https://github.com/chaijs/chai-http/issues/178#issuecomment-336602457
Comment Actions
Change 443868 merged by jenkins-bot:
[mediawiki/services/mobileapps@master] Use old mocha exit behavior for test:diff