I think that jenkins is not configured to use node 4 for the mathoid tests.
cf. https://integration.wikimedia.org/ci/job/npm/47960/console triggerd by
https://gerrit.wikimedia.org/r/#/c/262737/
However, node 4 is required for the tests to pass, and not having to merge changes manually.