[be] Fix test

'e' does not exist, use 'd' instead
This commit is contained in:
Sathya Gunasekaran
2023-02-10 17:26:25 +00:00
parent 199e284eda
commit 2a9fab001a
2 changed files with 15 additions and 12 deletions
@@ -18,7 +18,7 @@ function foo(a, b, c) {
},
o,
} = b);
return { e, g, n, o };
return { d, g, n, o };
}
```
@@ -29,22 +29,25 @@ function foo(a, b, c) {
function foo(a, b, c) {
const $ = React.unstable_useMemoCache();
const d = a[0];
const g = a[1][0].e.f;
const n = b.l.m[0][0];
const o = b.o;
const c_0 = $[0] !== g;
const c_1 = $[1] !== n;
const c_2 = $[2] !== o;
const c_0 = $[0] !== d;
const c_1 = $[1] !== g;
const c_2 = $[2] !== n;
const c_3 = $[3] !== o;
let t0;
if (c_0 || c_1 || c_2) {
t0 = { e: e, g: g, n: n, o: o };
$[0] = g;
$[1] = n;
$[2] = o;
$[3] = t0;
if (c_0 || c_1 || c_2 || c_3) {
t0 = { d: d, g: g, n: n, o: o };
$[0] = d;
$[1] = g;
$[2] = n;
$[3] = o;
$[4] = t0;
} else {
t0 = $[3];
t0 = $[4];
}
return t0;
}
@@ -14,5 +14,5 @@ function foo(a, b, c) {
},
o,
} = b);
return { e, g, n, o };
return { d, g, n, o };
}