Adds integration tests for per path access lists

This commit is contained in:
Jamie Curnow committed 2026-09-24 11:37:43 +10:00
1 parent c41ec008bb
commit 9f975cbdf0
21 files changed
+518 -103

No files matched your search

+3
View File
@@ -1,3 +1,4 @@
import net from "node:net";
import Ajv from "ajv/dist/2020.js";
import errs from "../error.js";
@@ -9,6 +10,8 @@ const ajv = new Ajv({
coerceTypes: true,
});
ajv.addFormat("ipv6", { type: "string", validate: (value) => net.isIPv6(value) });
/**
* @param {Object} schema
* @param {Object} payload