diff --git a/.github/workflows/continuous-integrations.yaml b/.github/workflows/continuous-integrations.yaml index 677e7d7..cc9228e 100644 --- a/.github/workflows/continuous-integrations.yaml +++ b/.github/workflows/continuous-integrations.yaml @@ -3,6 +3,8 @@ name: 'Continuous Integrations' on: push: branches: ['main'] + pull_request: + branches: ['main'] jobs: lint: diff --git a/coverage/cobertura-coverage.xml b/coverage/cobertura-coverage.xml index f1c1c13..e56e0f3 100644 --- a/coverage/cobertura-coverage.xml +++ b/coverage/cobertura-coverage.xml @@ -1,11 +1,11 @@ - + /Users/luongminh/workspace/bluesea/media-sdk-js - + @@ -198,7 +198,7 @@ - + @@ -230,9 +230,9 @@ - + - + @@ -272,7 +272,7 @@ - + @@ -287,7 +287,7 @@ - + @@ -307,17 +307,17 @@ - - - - - - - + + + + + + + diff --git a/src/lib/sender.test.ts b/src/lib/sender.test.ts index 5da3739..06877d8 100644 --- a/src/lib/sender.test.ts +++ b/src/lib/sender.test.ts @@ -41,6 +41,7 @@ describe('Sender', () => { name: 'test-sender', kind: 'video', track: mockTrack.trackId, + label: 'test-sender', }); expect(sender.state).toEqual(StreamSenderState.Connected); }); @@ -54,6 +55,7 @@ describe('Sender', () => { name: 'test-sender', kind: 'video', track: undefined, + label: 'test-sender', }); expect(sender.state).toEqual(StreamSenderState.Deactivated); });