Skip to content

Commit

Permalink
chore: add test
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoenig134 committed Dec 10, 2024
1 parent 1ab44ce commit bae041f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/attributes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -623,3 +623,10 @@ describe("Delete attributes", () => {
expect(client3DeletedAttribute.isError).toBe(true);
});
});

describe("Attributes Tag Collection", () => {
test("should get all valid tags", async () => {
const response = await client1.attributes.getAttributeTagCollection();
expect(response).toBeSuccessful(ValidationSchema.ConnectorAttributeTagCollection);
});
});
1 change: 1 addition & 0 deletions test/lib/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export enum ValidationSchema {
ConnectorRequests = "ConnectorRequests",
ConnectorAttribute = "ConnectorAttribute",
ConnectorAttributes = "ConnectorAttributes",
ConnectorAttributeTagCollection = "ConnectorAttributeTagCollection",
SucceedAttributeResponse = "SucceedAttributeResponse"
}

Expand Down

0 comments on commit bae041f

Please sign in to comment.