Skip to content

Commit

Permalink
Update snapshot.
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar committed Jan 20, 2025
1 parent 3255a2a commit b0a652c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions test/build-engine/__snapshots__/engine-js.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,33 @@ MangleStaticPropertyTest._ccprivate$prop_d_mangle = 12;
MangleStaticPropertyTest._ccprivate$prop_e_mangle_by_config = 4;
MangleStaticPropertyTest._ccprivate$static_get_set_should_mangle_by_config = 123;
console.log(MangleStaticPropertyTest._ccprivate$static_get_set_should_mangle_by_config);
class MangleQuestionProperties {
constructor() {
this._ccprivate$_myProp = void 0;
}
test() {
var _this$_ccprivate$_myP, _this$_ccprivate$_myP2, _this$_ccprivate$_myP3;
if ((_this$_ccprivate$_myP = this._ccprivate$_myProp) !== null && _this$_ccprivate$_myP !== void 0 && _this$_ccprivate$_myP._ccprivate$mangleMeQuestionProp) {
this._ccprivate$_myProp._ccprivate$mangleMeQuestionProp = 123;
}
const a = (_this$_ccprivate$_myP2 = this._ccprivate$_myProp) === null || _this$_ccprivate$_myP2 === void 0 ? void 0 : _this$_ccprivate$_myP2._ccprivate$mangleMeQuestionProp;
console.log(a);
console.log((_this$_ccprivate$_myP3 = this._ccprivate$_myProp) === null || _this$_ccprivate$_myP3 === void 0 ? void 0 : _this$_ccprivate$_myP3['mangleMeQuestionProp']);
if (this._ccprivate$_myProp) {
console.log(this._ccprivate$_myProp["_ccprivate$mangleMeQuestionProp"]);
}
}
getProp() {
var _this$_ccprivate$_myP4;
return (_this$_ccprivate$_myP4 = this._ccprivate$_myProp) === null || _this$_ccprivate$_myP4 === void 0 ? void 0 : _this$_ccprivate$_myP4._ccprivate$mangleMeQuestionProp;
}
getProp2() {
var _this$_ccprivate$_myP5;
return (_this$_ccprivate$_myP5 = this._ccprivate$_myProp) === null || _this$_ccprivate$_myP5 === void 0 ? void 0 : _this$_ccprivate$_myP5['mangleMeQuestionProp'];
}
}
const mangleQuestionProperties = new MangleQuestionProperties();
mangleQuestionProperties.test();
export { ManglePrivatePropertiesTest, ManglePropertyBase, ManglePropertyGrand, MangleTestConstEnum, MangleTestMyBaseEnum, MangleTestMyEnum, MangleTestMyStringEnum, MangleWholeClass, MangleWholeClassBase, MyClassExtendsMangleWholeClass };
"
Expand Down

0 comments on commit b0a652c

Please sign in to comment.