1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-26 13:07:07 +00:00
termux-packages/packages/nodejs/test-sequential-test-gc-http-client-onerror.js.patch
Yaksh Bariya a765ae2ba1
upgpkg(main/nodejs): update to v18.3.0
Also patches for tests have been commited which I had since a while but
never made them public.
2022-06-05 10:54:02 +05:30

12 lines
417 B
Diff

--- ./test/sequential/test-gc-http-client-onerror.js.orig 2022-06-05 10:18:02.427598802 +0530
+++ ./test/sequential/test-gc-http-client-onerror.js 2022-06-05 10:18:17.627598796 +0530
@@ -6,7 +6,7 @@
const common = require('../common');
const onGC = require('../common/ongc');
-const cpus = require('os').cpus().length;
+const cpus = require('os').numcpus();
function serverHandler(req, res) {
req.resume();