/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { expect, test } from "vitest"; import { Incidentio } from "../index.js"; test("Custom Fields V2 Custom Fields V2 #List", async () => { const incidentio = new Incidentio(); const result = await incidentio.customFieldsV2.list(); expect(result).toBeDefined(); expect(result).toBeDefined(); expect(result).toEqual({ customFields: [ { catalogTypeId: "01FCNDV6P870EA6S7TK1DSYDG0", createdAt: new Date("2021-08-17T13:28:57.801578Z"), description: "Which team is impacted by this issue", fieldType: "single_select", id: "01FCNDV6P870EA6S7TK1DSYDG0", name: "Affected Team", updatedAt: new Date("2021-08-17T13:28:57.801578Z"), }, ], }); });