cjolowicz / muckr-web

Web app for muckr
https://muckr-web.herokuapp.com
MIT License
0 stars 0 forks source link

Fix warning about document being null when running tests #13

Closed cjolowicz closed 5 years ago

cjolowicz commented 5 years ago

Running the test suite on Travis CI generates several warnings, including:

(node:5052) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'body' of null

See https://travis-ci.org/cjolowicz/muckr-web/jobs/475744426#L490