add more reliable source-map tests
This commit is contained in:
16
test/fixtures/source-maps/class/expected.js
vendored
Normal file
16
test/fixtures/source-maps/class/expected.js
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
var Test = function() {
|
||||
function Test() {}
|
||||
|
||||
Object.defineProperties(Test.prototype, {
|
||||
bar: {
|
||||
get: function() {
|
||||
throw new Error("wow");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
return Test;
|
||||
}();
|
||||
|
||||
var test = new Test;
|
||||
test.bar;
|
||||
Reference in New Issue
Block a user