🎥 Make videos programmatically with React
fix
JonnyBurger2aeeb3378950
diff --git a/packages/example/e2e/lost-node-path.test.mts b/packages/example/e2e/lost-node-path.test.mtsindex 3cbead284d..1b1228009a 100644--- a/packages/example/e2e/lost-node-path.test.mts+++ b/packages/example/e2e/lost-node-path.test.mts@@ -1,7 +1,11 @@import fs from 'fs';import {expect, test} from '@playwright/test';import {EXPANDED_SIDEBAR_STATE, lostNodePathE2eFile} from './constants.mts';-import {navigateToLostNodePathE2e, readStudioLogs, stripAnsi} from './helpers.mts';+import {+ navigateToLostNodePathE2e,+ readStudioLogs,+ stripAnsi,+} from './helpers.mts';import {startStudio, stopStudio} from './studio-server.mts';const getSequenceLine = (content: string): number => {@@ -13,19 +17,16 @@ const getSequenceLine = (content: string): number => {};const applyIssue7393Refactor = (content: string): string => {- if (content.includes('const t = EffectInternals.tint')) {+ if (content.includes('const t = tint')) {return content;}return content.replace('\tconst memoizedEffects = Internals.useMemoizedEffectDefinitions([',- "\tconst t = EffectInternals.tint({color: 'green', amount: 1});\n\tconst memoizedEffects = Internals.useMemoizedEffectDefinitions([",+ "\tconst t = tint({color: 'green', amount: 1});\n\tconst memoizedEffects = Internals.useMemoizedEffectDefinitions([",)- .replace(- "\t\tEffectInternals.tint({color: 'green', amount: 1}),",- '\t\tt,',- );+ .replace("\t\ttint({color: 'green', amount: 1}),", '\t\tt,');};const stackAttribution = (line: number) => `LostNodePathRepro.tsx:${line}`;@@ -104,7 +105,9 @@ test.describe('lost node path recovery', () => {await expect.poll(async () =>- page.getByText(stackAttribution(refactoredLine), {exact: true}).isVisible(),+ page+ .getByText(stackAttribution(refactoredLine), {exact: true})+ .isVisible(),{message: `Expected timeline stack to update to ${stackAttribution(refactoredLine)}`,timeout: 30_000,