Skip to content

Commit 67839f0

Browse files
test: track VideoFrame flip and rotation support
1 parent bcfcbb5 commit 67839f0

File tree

6 files changed

+144
-0
lines changed

6 files changed

+144
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
describe('VideoFrame', () => {
2+
let videoFrame;
3+
4+
beforeEach(() => {
5+
// eslint-disable-next-line no-undef
6+
videoFrame = new VideoFrame(document.createElement('canvas'), { timestamp: 0 });
7+
});
8+
9+
describe('flip', () => {
10+
// bug #22
11+
12+
it('should not be implemented', () => {
13+
expect(videoFrame.flip).to.be.undefined;
14+
});
15+
});
16+
17+
describe('rotation', () => {
18+
// bug #23
19+
20+
it('should not be implemented', () => {
21+
expect(videoFrame.rotation).to.be.undefined;
22+
});
23+
});
24+
});
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
describe('VideoFrame', () => {
2+
let videoFrame;
3+
4+
beforeEach(() => {
5+
// eslint-disable-next-line no-undef
6+
videoFrame = new VideoFrame(document.createElement('canvas'), { timestamp: 0 });
7+
});
8+
9+
describe('flip', () => {
10+
// bug #22
11+
12+
it('should not be implemented', () => {
13+
expect(videoFrame.flip).to.be.undefined;
14+
});
15+
});
16+
17+
describe('rotation', () => {
18+
// bug #23
19+
20+
it('should not be implemented', () => {
21+
expect(videoFrame.rotation).to.be.undefined;
22+
});
23+
});
24+
});
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
describe('VideoFrame', () => {
2+
let videoFrame;
3+
4+
beforeEach(() => {
5+
// eslint-disable-next-line no-undef
6+
videoFrame = new VideoFrame(document.createElement('canvas'), { timestamp: 0 });
7+
});
8+
9+
describe('flip', () => {
10+
// bug #22
11+
12+
it('should not be implemented', () => {
13+
expect(videoFrame.flip).to.be.undefined;
14+
});
15+
});
16+
17+
describe('rotation', () => {
18+
// bug #23
19+
20+
it('should not be implemented', () => {
21+
expect(videoFrame.rotation).to.be.undefined;
22+
});
23+
});
24+
});
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
describe('VideoFrame', () => {
2+
let videoFrame;
3+
4+
beforeEach(() => {
5+
// eslint-disable-next-line no-undef
6+
videoFrame = new VideoFrame(document.createElement('canvas'), { timestamp: 0 });
7+
});
8+
9+
describe('flip', () => {
10+
// bug #22
11+
12+
it('should not be implemented', () => {
13+
expect(videoFrame.flip).to.be.undefined;
14+
});
15+
});
16+
17+
describe('rotation', () => {
18+
// bug #23
19+
20+
it('should not be implemented', () => {
21+
expect(videoFrame.rotation).to.be.undefined;
22+
});
23+
});
24+
});
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
describe('VideoFrame', () => {
2+
let videoFrame;
3+
4+
beforeEach(() => {
5+
// eslint-disable-next-line no-undef
6+
videoFrame = new VideoFrame(document.createElement('canvas'), { timestamp: 0 });
7+
});
8+
9+
describe('flip', () => {
10+
// bug #22
11+
12+
it('should not be implemented', () => {
13+
expect(videoFrame.flip).to.be.undefined;
14+
});
15+
});
16+
17+
describe('rotation', () => {
18+
// bug #23
19+
20+
it('should not be implemented', () => {
21+
expect(videoFrame.rotation).to.be.undefined;
22+
});
23+
});
24+
});
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
describe('VideoFrame', () => {
2+
let videoFrame;
3+
4+
beforeEach(() => {
5+
// eslint-disable-next-line no-undef
6+
videoFrame = new VideoFrame(document.createElement('canvas'), { timestamp: 0 });
7+
});
8+
9+
describe('flip', () => {
10+
// bug #22
11+
12+
it('should not be implemented', () => {
13+
expect(videoFrame.flip).to.be.undefined;
14+
});
15+
});
16+
17+
describe('rotation', () => {
18+
// bug #23
19+
20+
it('should not be implemented', () => {
21+
expect(videoFrame.rotation).to.be.undefined;
22+
});
23+
});
24+
});

0 commit comments

Comments
 (0)