LibreChat/e2e/byom/loopback.cjs
Danny Avila 942be5a0b4
🧪 test: Verify Native BYOM File Reliability End to End (#15678)
* 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
2026-09-06 21:29:20 +00:00

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);
};