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(3474597122, "array-args-with-default-values.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { var lines; const data = () => lines.map(([a = null, b = null, c = null, d = null]) => ({ a, b, c, d })); function test() { let ran = false; lines = [ [undefined, undefined, undefined, undefined], [undefined, undefined, undefined, undefined], [undefined, undefined, undefined, undefined], [undefined, undefined, undefined, undefined] ]; for (let foo of data()) { console.assert(foo.a === null); console.assert(foo.b === null); console.assert(foo.c === null); console.assert(foo.d === null); ran = true; } console.assert(ran); 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/array-args-with-default-values.js.map k Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/wasm.test.js (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-04-18[timer] Remove timer.zig and use system_timer.zig (#149)Gravatar wangao 6-33/+7
2022-04-18[build] Fix Dockerfile COPY slash (#147)Gravatar wangao 2-5/+5
2022-04-18not sure yetGravatar Jarred Sumner 4-92/+107
2022-04-18fix wasm build take 2 (one more thing is broken)Gravatar Jarred Sumner 15-195/+641
2022-04-18Fix wasm buildGravatar Jarred Sumner 6-13/+58
2022-04-18[node] Add more fs constants (#144)Gravatar wangao 4-137/+201
2022-04-16Move some code around + delete dead codeGravatar Jarred Sumner 4-2113/+1889
2022-04-16[JS Parser] Support explicit removingGravatar Jarred Sumner 10-88/+480
2022-04-16Workaround C ABI bugGravatar Jarred Sumner 1-9/+12
2022-04-16[JS Parser] API for removing & replacing exportsGravatar Jarred Sumner 2-85/+495
2022-04-15Update README.mdGravatar Jarred Sumner 1-29/+0