mirror of
https://github.com/zerotier/zerotier-one-api-spec.git
synced 2026-05-22 16:29:58 -07:00
test: update to zerotier-one:1.14.0
This commit is contained in:
committed by
Travis LaDuke
parent
e369c92c1d
commit
4dc7143741
@@ -15,7 +15,7 @@ import { AnyValidateFunction } from "ajv/dist/core.js";
|
||||
const Ajv = _Ajv.default;
|
||||
const addFormats = _addFormats.default;
|
||||
|
||||
const ZT_VERSION = process.env.ZT_VERSION || "1.12.2";
|
||||
const ZT_VERSION = process.env.ZT_VERSION || "1.14.0";
|
||||
|
||||
function createCreateClient(token: string, port: number) {
|
||||
const authToken = token;
|
||||
@@ -57,7 +57,7 @@ function assertValid(
|
||||
|
||||
const ZEROTIER_API_SECRET = "asdf";
|
||||
|
||||
describe("API exercise", async function () {
|
||||
describe("API exercise", async function() {
|
||||
let network_id: string;
|
||||
const node_id = "1122334455";
|
||||
let container;
|
||||
@@ -81,7 +81,7 @@ describe("API exercise", async function () {
|
||||
client = createCreateClient(ZEROTIER_API_SECRET, apiPort);
|
||||
});
|
||||
|
||||
describe("GET endpoints", async function () {
|
||||
describe("GET endpoints", async function() {
|
||||
const map: { path: PathsWithMethod<paths, "get">; id: string }[] = [
|
||||
{ path: "/status", id: "NodeStatus" },
|
||||
{ path: "/controller", id: "ControllerStatus" },
|
||||
|
||||
Reference in New Issue
Block a user