Skip to content

🎥 Make videos programmatically with React

ts expect error

Patric Salvisbergb7fb4bd98c4e
diff --git a/packages/core/src/test/static-file-errors.test.ts b/packages/core/src/test/static-file-errors.test.ts
index 28801f0fba..d9d42a8433 100644
--- a/packages/core/src/test/static-file-errors.test.ts
+++ b/packages/core/src/test/static-file-errors.test.ts
@@ -2,6 +2,7 @@ import {expect, test} from 'vitest';
import {staticFile} from '../static-file.js';
test('duplicate staticFile() should throw a warning', () => {
+ // @ts-expect-error
global.window = {
remotion_staticBase: '/static-abcdef',
};