/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 7b157679ae60 */ import { assert, expect, it, test } from "vitest"; import { Glean } from "../index.js"; import { createTestHTTPClient } from "./testclient.js"; it.skip("Client Authentication Createanonymoustoken", async () => { assert.fail( "incomplete test found please make sure to address the following errors: [`workflow step createanonymoustoken.test referencing operation createanonymoustoken not found in document`]", ); }); test("Client Authentication Createauthtoken", async () => { const testHttpClient = createTestHTTPClient("createauthtoken"); const glean = new Glean({ serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", httpClient: testHttpClient, apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", }); const result = await glean.client.authentication.createToken(); expect(result).toBeDefined(); });