🎥 Make videos programmatically with React
mix references for better testing
Jonny Burgerd9f2de801c81
diff --git a/packages/cli/src/get-env.ts b/packages/cli/src/get-env.tsindex 634d0eb0e7..141cc59f60 100644--- a/packages/cli/src/get-env.ts+++ b/packages/cli/src/get-env.ts@@ -119,7 +119,7 @@ export const getEnvironmentVariables = (const envFile = path.resolve(remotionRoot, configFileSetting);if (!fs.existsSync(envFile)) {Log.error(- 'You specified a custom .env file using `Config.Rendering.setDotEnvLocation()` in the config file but it could not be found'+ 'You specified a custom .env file using `Config.setDotEnvLocation()` in the config file but it could not be found');Log.error('We looked for the file at:', envFile);Log.error('Check that your path is correct and try again.');diff --git a/packages/cli/src/test/config-chromium.test.ts b/packages/cli/src/test/config-chromium.test.tsindex 92daa29c85..253c2aeecc 100644--- a/packages/cli/src/test/config-chromium.test.ts+++ b/packages/cli/src/test/config-chromium.test.ts@@ -9,7 +9,7 @@ test('getChromiumOpenGlRenderer from Config - angle value', () => {});test('getChromiumOpenGlRenderer from old Puppeter Config - egl value', () => {- Config.Puppeteer.setChromiumOpenGlRenderer('egl');+ Config.setChromiumOpenGlRenderer('egl');expect(getChromiumOpenGlRenderer()).toEqual('egl');});diff --git a/packages/example/remotion.config.js b/packages/example/remotion.config.jsindex 9bfa0a6d5f..06dbab2ca1 100644--- a/packages/example/remotion.config.js+++ b/packages/example/remotion.config.js@@ -1,4 +1,4 @@import {Config} from 'remotion';-Config.Rendering.setConcurrency(require('os').cpus().length);+Config.setConcurrency(require('os').cpus().length);Config.Output.setOverwriteOutput(true);