OpenReel Video - Professional browser-based video editor. Open source CapCut alternative. 100% browser-based, no installation, no cloud uploads, no watermarks.
TypeScript
refactor: remove emojis from speed labels
Augustus Otudf672098dca8
diff --git a/packages/core/src/device/export-estimator.test.ts b/packages/core/src/device/export-estimator.test.tsindex bc3aca26..56a0918b 100644--- a/packages/core/src/device/export-estimator.test.ts+++ b/packages/core/src/device/export-estimator.test.ts@@ -211,7 +211,7 @@ describe("ExportEstimator", () => {const comparisons = compareCodecEstimates(profile, settings);comparisons.forEach((c) => {- expect(c.speedLabel).toMatch(/Fast|Good|Slow|Very slow/i);+ expect(["Fast", "Good", "Slow", "Very slow"]).toContain(c.speedLabel);});});diff --git a/packages/core/src/device/export-estimator.ts b/packages/core/src/device/export-estimator.tsindex ac45e02d..c6cb52e0 100644--- a/packages/core/src/device/export-estimator.ts+++ b/packages/core/src/device/export-estimator.ts@@ -213,13 +213,13 @@ export function compareCodecEstimates(let speedLabel = "";if (estimate.seconds < 60) {- speedLabel = "⚡ Fast";+ speedLabel = "Fast";} else if (estimate.seconds < 300) {- speedLabel = "✓ Good";+ speedLabel = "Good";} else if (estimate.seconds < 900) {- speedLabel = "⚠️ Slow";+ speedLabel = "Slow";} else {- speedLabel = "🐢 Very slow";+ speedLabel = "Very slow";}return { codec, estimate, speedLabel };