Skip to content

Commit

Permalink
feat: correct check in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniow committed Jun 12, 2024
1 parent 3513785 commit 48e0bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connection-state-handler.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('ConnectionStateHandler', () => {
expect.assertions(1);
const connStateHandler = new ConnectionStateHandler(fakeCallback);

expect(connStateHandler.getConnectionState()).toBe('New');
expect(connStateHandler.getConnectionState()).toStrictEqual(ConnectionState.New);
});

it('updates ice connection state on ice connection state change and emits the event', () => {
Expand Down

0 comments on commit 48e0bea

Please sign in to comment.