aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/optional-chain-with-function.hmr.js
diff options
context:
space:
mode:
Diffstat (limited to 'integration/snapshots/optional-chain-with-function.hmr.js')
-rw-r--r--integration/snapshots/optional-chain-with-function.hmr.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/integration/snapshots/optional-chain-with-function.hmr.js b/integration/snapshots/optional-chain-with-function.hmr.js
index 77ea50dd0..91666bf96 100644
--- a/integration/snapshots/optional-chain-with-function.hmr.js
+++ b/integration/snapshots/optional-chain-with-function.hmr.js
@@ -12,7 +12,10 @@ var hmr = new HMR(3608848620, "optional-chain-with-function.js"), exports = hmr.
try {
const multipleSecondaryValues = undefined;
const ratings = ["123"];
- const multipleSecondaryIds = ratings && (multipleSecondaryValues?.map)((value) => false);
+ var bar = multipleSecondaryValues?.map((value) => false);
+ bar = bar?.multipleSecondaryValues?.map((value) => false);
+ bar = bar?.bar?.multipleSecondaryValues?.map((value) => false);
+ bar = {}?.bar?.multipleSecondaryValues?.map((value) => false);
} catch (e) {
throw e;
}