Skip to content

Commit ae98286

Browse files
committed
test: update snapshots (expanded importMapData)
1 parent 9779bf1 commit ae98286

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/build/tests/monitor/snapshots/tests.js.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,7 +1620,7 @@ Generated by [AVA](https://avajs.dev).
16201620
────────────────────────────────────────────────────────────────␊
16211621
16221622
Error message␊
1623-
Command failed with exit code 1: deno run --allow-all --no-config --import-map=packages/edge-bundler/deno/vendor/import_map.json --quiet packages/edge-bundler/deno/bundle.ts {"basePath":"packages/build/tests/monitor/fixtures/edge_function_error","destPath":"packages/build/tests/monitor/fixtures/edge_function_error/.netlify/edge-functions-dist/HEXADECIMAL_ID.eszip","externals":[],"functions":[{"name":"trouble","path":"packages/build/tests/monitor/fixtures/edge_function_error/netlify/edge-functions/trouble.ts"}],"importMapData":"{/"imports/":{/"@netlify/edge-functions/":/"https://edge.netlify.com/v1.0.0/index.ts/",/"netlify:edge/":/"https://edge.netlify.com/v1.0.0/index.ts?v=legacy/"},/"scopes/":{}}"}␊
1623+
Command failed with exit code 1: deno run --allow-all --no-config --import-map=packages/edge-bundler/deno/vendor/import_map.json --quiet packages/edge-bundler/deno/bundle.ts {"basePath":"packages/build/tests/monitor/fixtures/edge_function_error","destPath":"packages/build/tests/monitor/fixtures/edge_function_error/.netlify/edge-functions-dist/HEXADECIMAL_ID.eszip","externals":[],"functions":[{"name":"trouble","path":"packages/build/tests/monitor/fixtures/edge_function_error/netlify/edge-functions/trouble.ts"}],"importMapData":"{/"imports/":{/"zlib/":/"node:zlib/",/"worker_threads/":/"node:worker_threads/",/"wasi/":/"node:wasi/",/"vm/":/"node:vm/",/"v1.0.0/":/"node:v1.0.0/",/"util/types/":/"node:util/types/",/"util/":/"node:util/",/"url/":/"node:url/",/"tty/":/"node:tty/",/"trace_events/":/"node:trace_events/",/"tls/":/"node:tls/",/"timers/promises/":/"node:timers/promises/",/"timers/":/"node:timers/",/"sys/":/"node:sys/",/"string_decoder/":/"node:string_decoder/",/"stream/web/":/"node:stream/web/",/"stream/promises/":/"node:stream/promises/",/"stream/consumers/":/"node:stream/consumers/",/"stream/":/"node:stream/",/"repl/":/"node:repl/",/"readline/promises/":/"node:readline/promises/",/"readline/":/"node:readline/",/"querystring/":/"node:querystring/",/"punycode/":/"node:punycode/",/"process/":/"node:process/",/"perf_hooks/":/"node:perf_hooks/",/"path/win32/":/"node:path/win32/",/"path/posix/":/"node:path/posix/",/"path/":/"node:path/",/"os/":/"node:os/",/"net/":/"node:net/",/"module/":/"node:module/",/"inspector/":/"node:inspector/",/"https/":/"node:https/",/"http2/":/"node:http2/",/"http/":/"node:http/",/"fs/promises/":/"node:fs/promises/",/"fs/":/"node:fs/",/"events/":/"node:events/",/"domain/":/"node:domain/",/"dns/promises/":/"node:dns/promises/",/"dns/":/"node:dns/",/"diagnostics_channel/":/"node:diagnostics_channel/",/"dgram/":/"node:dgram/",/"crypto/":/"node:crypto/",/"constants/":/"node:constants/",/"console/":/"node:console/",/"cluster/":/"node:cluster/",/"child_process/":/"node:child_process/",/"buffer/":/"node:buffer/",/"async_hooks/":/"node:async_hooks/",/"assert/strict/":/"node:assert/strict/",/"assert/":/"node:assert/",/"_tls_wrap/":/"node:_tls_wrap/",/"_tls_common/":/"node:_tls_common/",/"_stream_writable/":/"node:_stream_writable/",/"_stream_wrap/":/"node:_stream_wrap/",/"_stream_transform/":/"node:_stream_transform/",/"_stream_readable/":/"node:_stream_readable/",/"_stream_passthrough/":/"node:_stream_passthrough/",/"_stream_duplex/":/"node:_stream_duplex/",/"_http_server/":/"node:_http_server/",/"_http_outgoing/":/"node:_http_outgoing/",/"_http_incoming/":/"node:_http_incoming/",/"_http_common/":/"node:_http_common/",/"_http_client/":/"node:_http_client/",/"_http_agent/":/"node:_http_agent/",/"@netlify/edge-functions/":/"https://edge.netlify.com/v1.0.0/index.ts/",/"netlify:edge/":/"https://edge.netlify.com/v1.0.0/index.ts?v=legacy/"},/"scopes/":{}}","vendorDirectory":"/external/path"}␊
16241624
error: Uncaught (in promise) Error: Error: Could not find file: packages/build/tests/monitor/fixtures/edge_function_error/netlify/edge-functions/file.ts␊
16251625
const ret = new Error(getStringFromWasm0(arg0, arg1));␊
16261626
^␊
@@ -1638,9 +1638,9 @@ Generated by [AVA](https://avajs.dev).
16381638
Error monitoring payload:␊
16391639
{␊
16401640
"errorClass": "functionsBundling",␊
1641-
"errorMessage": "Command failed with exit code 1: deno run --allow-all --no-config --import-map=packages/edge-bundler/deno/vendor/import_map.json --quiet packages/edge-bundler/deno/bundle.ts {/"basePath/":/"packages/build/tests/monitor/fixtures/edge_function_error",/"destPath/":/"packages/build/tests/monitor/fixtures/edge_function_error/.netlify/edge-functions-dist/HEXADECIMAL_ID.eszip",/"externals/":[],/"functions/":[{/"name/":/"trouble/",/"path/":/"packages/build/tests/monitor/fixtures/edge_function_error/netlify/edge-functions/trouble.ts"}],/"importMapData/":/"{//"imports//":{//"@netlify/edge-functions//"://"https://edge.netlify.com/v1.0.0/index.ts//",//"netlify:edge//"://"https://edge.netlify.com/v1.0.0/index.ts?v=legacy//"},//"scopes//":{}}/"}/nerror: Uncaught (in promise) Error: Error: Could not find file: packages/build/tests/monitor/fixtures/edge_function_error/netlify/edge-functions/file.ts/n const ret = new Error(getStringFromWasm0(arg0, arg1));/n ^/n at __wbg_new_HEXADECIMAL_ID (packages/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm.generated.js:80:80)/n at <anonymous> (packages/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm_bg.wasm:1:80)/n at <anonymous> (packages/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm_bg.wasm:1:80)/n at <anonymous> (packages/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm_bg.wasm:1:80)/n at __wbg_adapter_40 (packages/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm.generated.js:80:8)/n at real (packages/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm.generated.js:80:80)/n at eventLoopTick (ext:core/01_core.js:80:7)",␊
1641+
"errorMessage": "Command failed with exit code 1: deno run --allow-all --no-config --import-map=packages/edge-bundler/deno/vendor/import_map.json --quiet packages/edge-bundler/deno/bundle.ts {/"basePath/":/"packages/build/tests/monitor/fixtures/edge_function_error",/"destPath/":/"packages/build/tests/monitor/fixtures/edge_function_error/.netlify/edge-functions-dist/HEXADECIMAL_ID.eszip",/"externals/":[],/"functions/":[{/"name/":/"trouble/",/"path/":/"packages/build/tests/monitor/fixtures/edge_function_error/netlify/edge-functions/trouble.ts"}],/"importMapData/":/"{//"imports//":{//"zlib//"://"node:zlib//",//"worker_threads//"://"node:worker_threads//",//"wasi//"://"node:wasi//",//"vm//"://"node:vm//",//"v1.0.0//"://"node:v1.0.0//",//"util/types//"://"node:util/types//",//"util//"://"node:util//",//"url//"://"node:url//",//"tty//"://"node:tty//",//"trace_events//"://"node:trace_events//",//"tls//"://"node:tls//",//"timers/promises//"://"node:timers/promises//",//"timers//"://"node:timers//",//"sys//"://"node:sys//",//"string_decoder//"://"node:string_decoder//",//"stream/web//"://"node:stream/web//",//"stream/promises//"://"node:stream/promises//",//"stream/consumers//"://"node:stream/consumers//",//"stream//"://"node:stream//",//"repl//"://"node:repl//",//"readline/promises//"://"node:readline/promises//",//"readline//"://"node:readline//",//"querystring//"://"node:querystring//",//"punycode//"://"node:punycode//",//"process//"://"node:process//",//"perf_hooks//"://"node:perf_hooks//",//"path/win32//"://"node:path/win32//",//"path/posix//"://"node:path/posix//",//"path//"://"node:path//",//"os//"://"node:os//",//"net//"://"node:net//",//"module//"://"node:module//",//"inspector//"://"node:inspector//",//"https//"://"node:https//",//"http2//"://"node:http2//",//"http//"://"node:http//",//"fs/promises//"://"node:fs/promises//",//"fs//"://"node:fs//",//"events//"://"node:events//",//"domain//"://"node:domain//",//"dns/promises//"://"node:dns/promises//",//"dns//"://"node:dns//",//"diagnostics_channel//"://"node:diagnostics_channel//",//"dgram//"://"node:dgram//",//"crypto//"://"node:crypto//",//"constants//"://"node:constants//",//"console//"://"node:console//",//"cluster//"://"node:cluster//",//"child_process//"://"node:child_process//",//"buffer//"://"node:buffer//",//"async_hooks//"://"node:async_hooks//",//"assert/strict//"://"node:assert/strict//",//"assert//"://"node:assert//",//"_tls_wrap//"://"node:_tls_wrap//",//"_tls_common//"://"node:_tls_common//",//"_stream_writable//"://"node:_stream_writable//",//"_stream_wrap//"://"node:_stream_wrap//",//"_stream_transform//"://"node:_stream_transform//",//"_stream_readable//"://"node:_stream_readable//",//"_stream_passthrough//"://"node:_stream_passthrough//",//"_stream_duplex//"://"node:_stream_duplex//",//"_http_server//"://"node:_http_server//",//"_http_outgoing//"://"node:_http_outgoing//",//"_http_incoming//"://"node:_http_incoming//",//"_http_common//"://"node:_http_common//",//"_http_client//"://"node:_http_client//",//"_http_agent//"://"node:_http_agent//",//"@netlify/edge-functions//"://"https://edge.netlify.com/v1.0.0/index.ts//",//"netlify:edge//"://"https://edge.netlify.com/v1.0.0/index.ts?v=legacy//"},//"scopes//":{}}/",/"vendorDirectory/":/"/external/path"}/nerror: Uncaught (in promise) Error: Error: Could not find file: packages/build/tests/monitor/fixtures/edge_function_error/netlify/edge-functions/file.ts/n const ret = new Error(getStringFromWasm0(arg0, arg1));/n ^/n at __wbg_new_HEXADECIMAL_ID (packages/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm.generated.js:80:80)/n at <anonymous> (packages/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm_bg.wasm:1:80)/n at <anonymous> (packages/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm_bg.wasm:1:80)/n at <anonymous> (packages/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm_bg.wasm:1:80)/n at __wbg_adapter_40 (packages/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm.generated.js:80:8)/n at real (packages/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm.generated.js:80:80)/n at eventLoopTick (ext:core/01_core.js:80:7)",␊
16421642
"context": "Bundling of edge function failed",␊
1643-
"groupingHash": "Bundling of edge function failed/nCommand failed with exit code 0: deno run --allow-all --no-config /external/path --quiet /external/path {/"/":/"/",/"/":/"/",/"/":[],/"/":[{/"/":/"/",/"/":/"/"}],/"/":/"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"}/nerror: Uncaught (in promise) Error: Error: Could not find file: /external/path const ret = new Error(getStringFromWasm0(arg0, arg0));/n ^/n at __wbg_new_hex /external/path at <anonymous> /external/path at <anonymous> /external/path at <anonymous> /external/path at __wbg_adapter_0 /external/path at real /external/path at eventLoopTick /external/path",␊
1643+
"groupingHash": "Bundling of edge function failed/nCommand failed with exit code 0: deno run --allow-all --no-config /external/path --quiet /external/path {/"/":/"/",/"/":/"/",/"/":[],/"/":[{/"/":/"/",/"/":/"/"}],/"/":/"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/",/"/":/"/"}/nerror: Uncaught (in promise) Error: Error: Could not find file: /external/path const ret = new Error(getStringFromWasm0(arg0, arg0));/n ^/n at __wbg_new_hex /external/path at <anonymous> /external/path at <anonymous> /external/path at <anonymous> /external/path at __wbg_adapter_0 /external/path at real /external/path at eventLoopTick /external/path",␊
16441644
"severity": "info",␊
16451645
"unhandled": false,␊
16461646
"location": {␊
@@ -1651,7 +1651,7 @@ Generated by [AVA](https://avajs.dev).
16511651
"pluginPackageJson": false,␊
16521652
"BUILD_ID": "0",␊
16531653
"other": {␊
1654-
"groupingHash": "Bundling of edge function failed/nCommand failed with exit code 0: deno run --allow-all --no-config /external/path --quiet /external/path {/"/":/"/",/"/":/"/",/"/":[],/"/":[{/"/":/"/",/"/":/"/"}],/"/":/"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"}/nerror: Uncaught (in promise) Error: Error: Could not find file: /external/path const ret = new Error(getStringFromWasm0(arg0, arg0));/n ^/n at __wbg_new_hex /external/path at <anonymous> /external/path at <anonymous> /external/path at <anonymous> /external/path at __wbg_adapter_0 /external/path at real /external/path at eventLoopTick /external/path"␊
1654+
"groupingHash": "Bundling of edge function failed/nCommand failed with exit code 0: deno run --allow-all --no-config /external/path --quiet /external/path {/"/":/"/",/"/":/"/",/"/":[],/"/":[{/"/":/"/",/"/":/"/"}],/"/":/"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/"/external/path"/",/"/":/"/"}/nerror: Uncaught (in promise) Error: Error: Could not find file: /external/path const ret = new Error(getStringFromWasm0(arg0, arg0));/n ^/n at __wbg_new_hex /external/path at <anonymous> /external/path at <anonymous> /external/path at <anonymous> /external/path at __wbg_adapter_0 /external/path at real /external/path at eventLoopTick /external/path"␊
16551655
}␊
16561656
}`
16571657

1.05 KB
Binary file not shown.

0 commit comments

Comments
 (0)