mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-16 13:00:55 +00:00
* test: Add Native BYOM Acceptance Harness * test: Keep Acceptance Startup and Mongo Environment Isolated * test: Drain In-Flight BYOM Acceptance Resources on Shutdown * test: Tolerate Transient Process Probe Denial During Teardown
6 lines
290 B
JavaScript
6 lines
290 B
JavaScript
/** Code API currently calls listen(port) without a host. Restrict this test child. */
|
|
const net = require('node:net');
|
|
const listen = net.Server.prototype.listen;
|
|
net.Server.prototype.listen = function (port, callback) {
|
|
return listen.call(this, Number(port), '127.0.0.1', callback);
|
|
};
|