aboutsummaryrefslogtreecommitdiff
path: root/test/snapshots/optional-chain-with-function.hmr.debug.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/optional-chain-with-function.hmr.debug.js')
-rw-r--r--test/snapshots/optional-chain-with-function.hmr.debug.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/snapshots/optional-chain-with-function.hmr.debug.js b/test/snapshots/optional-chain-with-function.hmr.debug.js
index 4ad140c1e..f84290468 100644
--- a/test/snapshots/optional-chain-with-function.hmr.debug.js
+++ b/test/snapshots/optional-chain-with-function.hmr.debug.js
@@ -12,9 +12,8 @@ var hmr = new FastHMR(2145684817, "optional-chain-with-function.js", FastRefresh
(hmr._load = function() {
function test() {
try {
- const multipleSecondaryValues = undefined;
const ratings = ["123"];
- var bar = multipleSecondaryValues?.map((value) => false);
+ var bar = undefined?.map((value) => false);
bar = bar?.multipleSecondaryValues?.map((value) => false);
bar = bar?.bar?.multipleSecondaryValues?.map((value) => false);
bar = {}?.bar?.multipleSecondaryValues?.map((value) => false);