Skip to content

Commit

Permalink
JS tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wkal-pubnub committed Jan 16, 2025
1 parent 8f0aed8 commit 560d663
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js-chat/tests/channel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,11 @@ describe("Channel test", () => {
channelTypeField: true,
statusField: true,
channelStatusField: true,
typeField: true,
},
limit: null,
page: null,
sort: {},
uuid: chat.currentUser.id,
}

Expand Down Expand Up @@ -1262,7 +1266,7 @@ describe("Channel test", () => {
)
})

test.only("use PubNub SDK types from Chat SDK", async () => {
test("use PubNub SDK types from Chat SDK", async () => {
let channelMetadata = await chat.sdk.objects.getChannelMetadata({
channel: channel.id,
include: { customFields: true }
Expand Down
4 changes: 4 additions & 0 deletions js-chat/tests/user.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,11 @@ describe("User test", () => {
channelTypeField: true,
statusField: true,
channelStatusField: true,
typeField: true,
},
limit: null,
page: null,
sort: {},
uuid: chat.currentUser.id,
}

Expand Down

0 comments on commit 560d663

Please sign in to comment.