Skip to content

Commit

Permalink
remove unused context
Browse files Browse the repository at this point in the history
  • Loading branch information
iAmmar7 committed Nov 7, 2023
1 parent 7c02890 commit 5e1e054
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@ import { Video } from '@signalwire/realtime-api'
import { createRoomAndJoinTwoMembers, expectMemberUpdated } from './videoUtils'

test.describe('Video room hand raise/lower', () => {
let context: BrowserContext
let pageOne: Page
let pageTwo: Page
let memberOne: Video.RoomSessionMember
let memberTwo: Video.RoomSessionMember
let roomSession: Video.RoomSession

test.beforeAll(async ({ browser }) => {
context = await browser.newContext()

const data = await createRoomAndJoinTwoMembers(browser)
pageOne = data.pageOne
pageTwo = data.pageTwo
Expand All @@ -21,10 +18,6 @@ test.describe('Video room hand raise/lower', () => {
roomSession = data.roomSession
})

test.afterAll(async () => {
await context.close()
})

test('should raise memberOne hand using room session instance via Node SDK', async () => {
// Expect no hand raise from both members
expect(memberOne.handraised).toBe(false)
Expand Down

0 comments on commit 5e1e054

Please sign in to comment.