aboutsummaryrefslogtreecommitdiff
path: root/test/snapshots/optional-chain-with-function.hmr.js
blob: 3a479ffcee7315b3f2fe2e6f090cee74a11a1ee3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(false);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
var hmr = new FastHMR(2145684817, "optional-chain-with-function.js", FastRefresh), exports = hmr.exports;
(hmr._load = function() {
  function test() {
    try {
      const ratings = ["123"];
      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);
    } catch (e) {
      throw e;
    }
    return testDone(import.meta.url);
  }
  hmr.exportAll({
    test: () => test
  });
})();
var $$hmr_test = hmr.exports.test;
hmr._update = function(exports) {
  $$hmr_test = exports.test;
};

export {
  $$hmr_test as test
};

//# sourceMappingURL=http://localhost:8080/optional-chain-with-function.js.map
.gravatar.com/avatar/5145ad1d8bb861137d85da7a3e32ef36?s=13&d=retro' width='13' height='13' alt='Gravatar' /> Jarred Sumner 2-2/+33 2022-11-28Ensure we report errors in controller.closeGravatar Jarred Sumner 1-1/+9 2022-11-28Update JSEnvironmentVariableMap.cppGravatar Jarred Sumner 1-1/+1 2022-11-28Allow overriding node:fsGravatar Jarred Sumner 1-0/+9 2022-11-28Add test for processGravatar Jarred Sumner 1-3/+14 2022-11-28Fix process.env and Bun.env object spreadGravatar Jarred Sumner 8-204/+127 2022-11-27Fix `console.log(process.env)`Gravatar Jarred Sumner 2-20/+27