@samitouri / QOS-React-2 / commits / 63450d5768

[test] Update test snapshot

Sathya Gunasekaran committed Mar 21, 2023 at 14:15 UTC 63450d576843f6ef58b525e50529a1e442eea2c4
3 files changed +7 -7
compiler/forget/src/__tests__/fixtures/compiler/arrow-function-expr-gating-test.expect.md
+1 -1
@@ -21,7 +21,7 @@ function ErrorView_forget(error, _retry) {
21 const c_0 = $[0] !== error;
22 let t0;
23 if (c_0) {
24 - t0 = <MessageBox error={error}></MessageBox>;
24 + t0 = <MessageBox error={error} />;
25 $[0] = error;
26 $[1] = t0;
27 } else {
compiler/forget/src/__tests__/fixtures/compiler/multi-arrow-expr-export-gating-test.expect.md
+3 -3
@@ -26,7 +26,7 @@ function ErrorView_forget(error, _retry) {
26 const c_0 = $[0] !== error;
27 let t0;
28 if (c_0) {
29 - t0 = <MessageBox error={error}></MessageBox>;
29 + t0 = <MessageBox error={error} />;
30 $[0] = error;
31 $[1] = t0;
32 } else {
@@ -47,14 +47,14 @@ function Renderer_forget(props) {
47 const $ = React.unstable_useMemoCache(3);
48 let t0;
49 if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
50 - t0 = <Bar></Bar>;
50 + t0 = <Bar />;
51 $[0] = t0;
52 } else {
53 t0 = $[0];
54 }
55 let t1;
56 if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
57 - t1 = <ErrorView></ErrorView>;
57 + t1 = <ErrorView />;
58 $[1] = t1;
59 } else {
60 t1 = $[1];
compiler/forget/src/__tests__/fixtures/compiler/multi-arrow-expr-gating-test.expect.md
+3 -3
@@ -28,7 +28,7 @@ function ErrorView_forget(error, _retry) {
28 const c_0 = $[0] !== error;
29 let t0;
30 if (c_0) {
31 - t0 = <MessageBox error={error}></MessageBox>;
31 + t0 = <MessageBox error={error} />;
32 $[0] = error;
33 $[1] = t0;
34 } else {
@@ -49,14 +49,14 @@ function Renderer_forget(props) {
49 const $ = React.unstable_useMemoCache(3);
50 let t0;
51 if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
52 - t0 = <Bar></Bar>;
52 + t0 = <Bar />;
53 $[0] = t0;
54 } else {
55 t0 = $[0];
56 }
57 let t1;
58 if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
59 - t1 = <ErrorView></ErrorView>;
59 + t1 = <ErrorView />;
60 $[1] = t1;
61 } else {
62 t1 = $[1];