From c25eab0036febbbb5cd069f66b2b325bc4ff0769 Mon Sep 17 00:00:00 2001 From: Dunqing <29533304+Dunqing@users.noreply.github.com> Date: Sat, 12 Apr 2025 13:39:48 +0000 Subject: [PATCH] test(transformer/typescript): override namespace/empty-removed test (#10365) Just override the test without any changes to prepare for #10366. --- .../namespace/empty-removed/output.mjs | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 tasks/transform_conformance/overrides/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/output.mjs diff --git a/tasks/transform_conformance/overrides/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/output.mjs b/tasks/transform_conformance/overrides/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/output.mjs new file mode 100644 index 0000000000000..c9d208843bce0 --- /dev/null +++ b/tasks/transform_conformance/overrides/babel-plugin-transform-typescript/test/fixtures/namespace/empty-removed/output.mjs @@ -0,0 +1,37 @@ +let a; +(function(_a) { + let c; + (function(_c) { + var x; + })(c || (c = {})); +})(a || (a = {})); +let WithTypes; +(function(_WithTypes) { + let d; + (function(_d2) {})(d || (d = {})); +})(WithTypes || (WithTypes = {})); +let WithValues; +(function(_WithValues) { + let a; + (function(_a3) { + class A {} + })(a || (a = {})); + let b; + (function(_b3) { + let B = /* @__PURE__ */ function(B) { + return B; + }({}); + })(b || (b = {})); + let c; + (function(_c3) { + function C() {} + })(c || (c = {})); + let d; + (function(_d3) { + var D; + })(d || (d = {})); + let e; + (function(_e2) { + E; + })(e || (e = {})); +})(WithValues || (WithValues = {}));