summaryrefslogtreecommitdiff
path: root/test/message/source_map_throw_first_tick.js
diff options
context:
space:
mode:
authorbcoe <bencoe@google.com>2019-09-29 14:15:39 -0700
committerBenjamin Coe <bencoe@google.com>2019-10-05 17:08:00 -0700
commite1e2f669f65fd53323b8a58d80ed3cee039706b7 (patch)
tree582baba1511e57a9915b379d0f263cb29fb6c38f /test/message/source_map_throw_first_tick.js
parent739f113ba63367a93e1567032d85573a079b97b5 (diff)
downloadandroid-node-v8-e1e2f669f65fd53323b8a58d80ed3cee039706b7.tar.gz
android-node-v8-e1e2f669f65fd53323b8a58d80ed3cee039706b7.tar.bz2
android-node-v8-e1e2f669f65fd53323b8a58d80ed3cee039706b7.zip
process: add source-map support to stack traces
PR-URL: https://github.com/nodejs/node/pull/29564 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/message/source_map_throw_first_tick.js')
-rw-r--r--test/message/source_map_throw_first_tick.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/message/source_map_throw_first_tick.js b/test/message/source_map_throw_first_tick.js
new file mode 100644
index 0000000000..b691b51f35
--- /dev/null
+++ b/test/message/source_map_throw_first_tick.js
@@ -0,0 +1,5 @@
+// Flags: --enable-source-maps
+
+'use strict';
+require('../common');
+require('../fixtures/source-map/typescript-throw');