From 5bf2323880ec6e00b21d2cbaea98ce9dbf83dbeb Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Mon, 8 Apr 2024 11:23:29 -0400 Subject: [PATCH] Fix missing playground snapshot ghstack-source-id: f2c8a542b525ab8c91beaad6327c128a96d122f6 Pull Request resolved: https://github.com/facebook/react-forget/pull/2827 --- .../e2e/__snapshots__/page.spec.ts/results.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 compiler/apps/playground/__tests__/e2e/__snapshots__/page.spec.ts/results.txt diff --git a/compiler/apps/playground/__tests__/e2e/__snapshots__/page.spec.ts/results.txt b/compiler/apps/playground/__tests__/e2e/__snapshots__/page.spec.ts/results.txt new file mode 100644 index 0000000000..8942b8fdd9 --- /dev/null +++ b/compiler/apps/playground/__tests__/e2e/__snapshots__/page.spec.ts/results.txt @@ -0,0 +1,11 @@ +function MyApp() { +  const $ = useMemoCache(1); +  let t0; +  if ($[0] === Symbol.for("react.memo_cache_sentinel")) { +    t0 = 
Hello World
; +    $[0] = t0; +  } else { +    t0 = $[0]; +  } +  return t0; +} \ No newline at end of file