Skip to content

Commit

Permalink
Update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FabienLavocat committed May 10, 2024
1 parent 060d858 commit a978a1b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
9 changes: 0 additions & 9 deletions tests/WebRTCStats.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,6 @@ const getResult = (data: any): Promise<OnStats> => {
};

describe('webRTCStats', () => {
test('webRTCStats should match the snapshot', () => {
const collection = new WebRTCStats({
getStatsInterval: 100,
getStats: () => getLocalStats(first),
});

expect(collection).toMatchSnapshot();
});

test('start / stop', async () => {
const expectedCalls = 2;
const interval = 50;
Expand Down
13 changes: 0 additions & 13 deletions tests/__snapshots__/WebRTCStats.test.ts.snap

This file was deleted.

0 comments on commit a978a1b

Please sign in to comment.