aboutsummaryrefslogtreecommitdiff
path: root/test/snapshots/lodash-regexp.hmr.js
blob: 92df71384db3548da55063c6d2efd73056032a7d (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
39
40
41
42
43
44
45
import {
__require
} from "http://localhost:8080/bun:wrap";
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";
import * as $75175720 from "http://localhost:8080/node_modules/lodash/lodash.js";
var { shuffle} = __require($75175720);
var hmr = new FastHMR(2675673186, "lodash-regexp.js", FastRefresh), exports = hmr.exports;
(hmr._load = function() {
  function test() {
    const foo = [1, 2, 3, 4, 6];
    const bar = shuffle(foo);
    console.assert(bar !== foo);
    console.assert(bar.length === foo.length);
    bar.sort();
    foo.sort();
    for (let i = 0;i < bar.length; i++) {
      console.assert(bar[i] === foo[i], "expected " + i + " to be " + foo[i]);
      console.assert(typeof bar[i] === "number");
      console.assert(typeof foo[i] === "number");
    }
    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/lodash-regexp.js.map
2ca5&follow=1'>Tweak default main fields for the bun platform to match other popular bundler...Gravatar Mateusz Burzyński 1-10/+7 2022-01-04:skull: dead codeGravatar Jarred Sumner 1-13/+0 2022-01-04[bun dev] Print error in status line textGravatar Jarred Sumner 1-3/+13 2022-01-04noramlize some errorsGravatar Jarred Sumner 3-3/+4 2022-01-04[Bun.js][bun dev] Support macros inside of Bun.jsGravatar Jarred Sumner 5-51/+103 2022-01-04[bun bun] Fix error when regenerating node_modules.bun after moving itGravatar Jarred Sumner 1-1/+17 2022-01-04Improve how we detect if terminal colors are supportedGravatar Jarred Sumner 3-11/+66 2022-01-04Improve error handling when out of file handlesGravatar Jarred Sumner 5-58/+248 2022-01-04Update build-idGravatar Jarred Sumner 1-1/+1 2022-01-04Downgrade mimalloc due to crashesGravatar Jarred Sumner 1-0/+0 2022-01-04Upload compressed `.dSYM` for every releaseGravatar Jarred Sumner 2-4/+34 2022-01-04Update .gitignoreGravatar Jarred Sumner 1-0/+3 2022-01-04[bun install] Fix more cases where bytes are printed instead of stringsGravatar Jarred Sumner 1-10/+38 2022-01-04minor perf optimization: remove this loop on macOSGravatar Jarred Sumner 2-4/+8 2022-01-03Update crash_reporter_linux.zigbun-v0.0.66Gravatar Jarred Sumner 1-1/+1 2022-01-03:confused:Gravatar Jarred Sumner 5-0/+1 2022-01-03:nail_care:Gravatar Jarred Sumner 3-1652/+1826 2022-01-03Update crash_reporter_linux.zigGravatar Jarred Sumner 1-1/+1 2022-01-03Update PLCrashReport.mGravatar Jarred Sumner 1-1/+1 2022-01-03Update PLCrashReport.mGravatar Jarred Sumner 1-2/+1 2022-01-03:lock:Gravatar Jarred Sumner 4-1/+1 2022-01-03dead codeGravatar Jarred Sumner 13-1881/+1660