test(es/minifier): Add an execution test for a fixed issue (#5925)

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/5914.
This commit is contained in:
Donny/강동윤 2022-09-21 21:19:14 +09:00 committed by GitHub
parent a9270a8475
commit 31711e76af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ class Test {
const that = this;
this.config = config;
this.options = {
config() {
get config() {
return that.config;
},
};

View File

@ -10048,8 +10048,8 @@ fn issue_5914() {
const that = this;
this.config = config;
this.options = {
config() {
return that.config;
get config() {
return that.config;
},
};
}