fix source-map transformation tests
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
"use strict";
|
||||
|
||||
var t = function(x) {
|
||||
return x * x;
|
||||
};
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"column": 18
|
||||
},
|
||||
"generated": {
|
||||
"line": 4,
|
||||
"line": 3,
|
||||
"column": 14
|
||||
}
|
||||
}]
|
||||
|
||||
@@ -1,18 +1,10 @@
|
||||
"use strict";
|
||||
|
||||
var Test = function() {
|
||||
var Test = (function () {
|
||||
var Test = function Test() {};
|
||||
|
||||
Object.defineProperties(Test.prototype, {
|
||||
bar: {
|
||||
get: function() {
|
||||
throw new Error("wow");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Object.defineProperties(Test.prototype, { bar: { get: function () {
|
||||
throw new Error("wow");
|
||||
} } });
|
||||
return Test;
|
||||
}();
|
||||
|
||||
var test = new Test();
|
||||
test.bar;
|
||||
})();
|
||||
var test = new Test;
|
||||
test.bar;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"column": 11
|
||||
},
|
||||
"generated": {
|
||||
"line": 9,
|
||||
"column": 15
|
||||
"line": 5,
|
||||
"column": 11
|
||||
}
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user