🎥 Make videos programmatically with React
improved naming
Tobias Boner80a6416c6629
diff --git a/packages/core/src/test/pixel-format.test.ts b/packages/core/src/test/pixel-format.test.tsindex 6e1fb918f3..9199fab053 100644--- a/packages/core/src/test/pixel-format.test.ts+++ b/packages/core/src/test/pixel-format.test.ts@@ -9,7 +9,7 @@ import {expectToThrow} from './expect-to-throw';test('pixel-format tests setPixelFormat', () => {// input format- const valuesA: PixelFormat[] = [+ const validPixelFormats: PixelFormat[] = ['yuv420p','yuva420p','yuv422p',@@ -18,14 +18,14 @@ test('pixel-format tests setPixelFormat', () => {'yuv422p10le','yuv444p10le',];- valuesA.forEach((entry) => {+ validPixelFormats.forEach((entry) => {setPixelFormat(entry);expect(getPixelFormat()).toEqual(entry);});// input format- const valuesB = ['abc', '', 3, undefined];- valuesB.forEach((entry) =>+ const invalidPixelFormats = ['abc', '', 3, undefined];+ invalidPixelFormats.forEach((entry) =>expectToThrow(// @ts-expect-error() => setPixelFormat(entry),