aboutsummaryrefslogtreecommitdiff
path: root/test/input
diff options
context:
space:
mode:
Diffstat (limited to 'test/input')
-rw-r--r--test/input/issue-1236/simple.js8
-rw-r--r--test/input/issue-1236/simple.js.map8
2 files changed, 16 insertions, 0 deletions
diff --git a/test/input/issue-1236/simple.js b/test/input/issue-1236/simple.js
new file mode 100644
index 00000000..8bdd7f26
--- /dev/null
+++ b/test/input/issue-1236/simple.js
@@ -0,0 +1,8 @@
+"use strict";
+
+var foo = function foo(x) {
+ return "foo " + x;
+};
+console.log(foo("bar"));
+
+//# sourceMappingURL=simple.js.map
diff --git a/test/input/issue-1236/simple.js.map b/test/input/issue-1236/simple.js.map
new file mode 100644
index 00000000..28989e0f
--- /dev/null
+++ b/test/input/issue-1236/simple.js.map
@@ -0,0 +1,8 @@
+{
+ "version": 3,
+ "sources": ["index.js"],
+ "names": [],
+ "mappings": ";;AAAA,IAAI,MAAM,SAAN,GAAM;AAAA,SAAK,SAAS,CAAd;AAAA,CAAV;AACA,QAAQ,GAAR,CAAY,IAAI,KAAJ,CAAZ",
+ "file": "simple.js",
+ "sourcesContent": ["let foo = x => \"foo \" + x;\nconsole.log(foo(\"bar\"));"]
+}