This failure is caused by an unidentified change in upstream Node.js which results in a test's output not being wrapped as expected. Simply modifying that test to add some more data so that its output is wrapped does the trick:
https://salsa.debian.org/js-team/node-grunt-contrib-nodeunit/-/merge_requests/1