diff --git a/packages/babel-preset-env/test/fixtures/preset-options/deno-1_0/output.js b/packages/babel-preset-env/test/fixtures/preset-options/deno-1_0/output.js index e68220a425b4..27cb93f987cc 100644 --- a/packages/babel-preset-env/test/fixtures/preset-options/deno-1_0/output.js +++ b/packages/babel-preset-env/test/fixtures/preset-options/deno-1_0/output.js @@ -6,5 +6,5 @@ var _selfBrandCheck = /*#__PURE__*/new WeakSet(); // The class declaration and the static private property should not be transpiled class C { static #self = (_selfBrandCheck.add(this), C); - static #_ = C.#self ?? (C.#self = _selfBrandCheck.has(C?.#self)); + static #_ = C.#self ?? (C.#self = _selfBrandCheck.has(babelHelpers.checkInRHS(C?.#self))); }