restructure test directory
This commit is contained in:
5
test/fixtures/syntax/classes/instance-setter/actual.js
vendored
Normal file
5
test/fixtures/syntax/classes/instance-setter/actual.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
class Test {
|
||||
set test(val) {
|
||||
this._test = val;
|
||||
}
|
||||
}
|
||||
12
test/fixtures/syntax/classes/instance-setter/expected.js
vendored
Normal file
12
test/fixtures/syntax/classes/instance-setter/expected.js
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
var Test = function () {
|
||||
function Test() {
|
||||
}
|
||||
Object.defineProperties(Test.prototype, {
|
||||
test: {
|
||||
set: function (val) {
|
||||
this._test = val;
|
||||
}
|
||||
}
|
||||
});
|
||||
return Test;
|
||||
}();
|
||||
Reference in New Issue
Block a user