Files
node/test/parallel/test-string-decoder.js
Michaël Zasso e5b8c61717 test: guard large string decoder allocation
Use common.enoughTestMem to avoid "Array buffer allocation failed"
error on low memory devices.

Fixes: https://github.com/nodejs/node/issues/36792

PR-URL: https://github.com/nodejs/node/pull/36795
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-01-05 09:39:51 +01:00

9.8 KiB