agent updates

This commit is contained in:
znetsixe
2026-02-12 10:14:56 +01:00
parent 105a3082ab
commit 1cfb36f604
22 changed files with 649 additions and 23 deletions

24
test/helpers.js Normal file
View File

@@ -0,0 +1,24 @@
const path = require('node:path');
function makeLogger() {
return {
debug() {},
info() {},
warn() {},
error() {},
};
}
function near(actual, expected, epsilon = 1e-6) {
return Math.abs(actual - expected) <= epsilon;
}
function fixturePath(...segments) {
return path.join(__dirname, ...segments);
}
module.exports = {
makeLogger,
near,
fixturePath,
};