more source map tests

This commit is contained in:
Sebastian McKenzie
2014-10-12 13:39:31 +11:00
parent bb697c6436
commit ed3c047480
6 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1 @@
arr.map(x => x * x);

View File

@@ -0,0 +1,3 @@
arr.map(function (x) {
return x * x;
});

View File

@@ -0,0 +1,8 @@
{
"version": 3,
"file": "source-maps/full/expected.js",
"sources": ["source-maps/full/actual.js"],
"names": [],
"mappings": "AAAA,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAC;SAAK,EAAE,EAAE;CAAC,CAAC",
"sourcesContent": ["arr.map(x => x * x);"]
}

View File

@@ -0,0 +1 @@
arr.map(x => x * x);

View File

@@ -0,0 +1,3 @@
arr.map(function (x) {
return x * x;
});

View File

@@ -0,0 +1,3 @@
{
"sourceMap": "inline"
}