From d4a066a6738cca7b92e90267bf5efe7cfd7830d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Mon, 7 Nov 2022 11:57:31 -0500 Subject: [PATCH] update Babel 8 test fixtures --- .../test/fixtures/preset-options/deno-1_0/output.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))); }