Update fixtures (#13045)

* Update fixtures

* Update standalone tests
This commit is contained in:
Nicolò Ribaudo 2021-03-24 14:18:02 +01:00 committed by GitHub
parent 1ef78ca55b
commit 2ae19d01b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 6 deletions

View File

@ -18,7 +18,7 @@ Using plugins:
proposal-numeric-separator { "ios":"12.2" }
proposal-logical-assignment-operators { "chrome":"84", "firefox":"78", "ios":"12.2", "opera":"71", "safari":"13.1", "samsung":"11.1" }
proposal-nullish-coalescing-operator { "ios":"12.2", "samsung":"11.1" }
proposal-optional-chaining { "ios":"12.2", "samsung":"11.1" }
proposal-optional-chaining { "android":"85", "chrome":"84", "edge":"85", "ios":"12.2", "opera":"71", "samsung":"11.1" }
syntax-json-strings { "android":"85", "chrome":"84", "edge":"85", "firefox":"78", "ios":"12.2", "opera":"71", "safari":"13.1", "samsung":"11.1" }
syntax-optional-catch-binding { "android":"85", "chrome":"84", "edge":"85", "firefox":"78", "ios":"12.2", "opera":"71", "safari":"13.1", "samsung":"11.1" }
syntax-async-generators { "android":"85", "chrome":"84", "edge":"85", "firefox":"78", "ios":"12.2", "opera":"71", "safari":"13.1", "samsung":"11.1" }

View File

@ -19,7 +19,7 @@ Using plugins:
proposal-numeric-separator { "ie":"11", "ios":"12.2" }
proposal-logical-assignment-operators { "chrome":"84", "firefox":"78", "ie":"11", "ios":"12.2", "opera":"71", "safari":"13.1", "samsung":"11.1" }
proposal-nullish-coalescing-operator { "ie":"11", "ios":"12.2", "samsung":"11.1" }
proposal-optional-chaining { "ie":"11", "ios":"12.2", "samsung":"11.1" }
proposal-optional-chaining { "android":"85", "chrome":"84", "edge":"85", "ie":"11", "ios":"12.2", "opera":"71", "samsung":"11.1" }
proposal-json-strings { "ie":"11" }
proposal-optional-catch-binding { "ie":"11" }
transform-parameters { "ie":"11" }

View File

@ -18,7 +18,7 @@ Using plugins:
syntax-numeric-separator { "android":"85", "chrome":"85", "edge":"85", "firefox":"81", "ios":"13.4", "opera":"71", "safari":"13.1", "samsung":"11.1" }
proposal-logical-assignment-operators { "ios":"13.4", "opera":"71", "safari":"13.1", "samsung":"11.1" }
proposal-nullish-coalescing-operator { "samsung":"11.1" }
proposal-optional-chaining { "samsung":"11.1" }
proposal-optional-chaining { "android":"85", "chrome":"85", "edge":"85", "opera":"71", "samsung":"11.1" }
syntax-json-strings { "android":"85", "chrome":"85", "edge":"85", "firefox":"81", "ios":"13.4", "opera":"71", "safari":"13.1", "samsung":"11.1" }
syntax-optional-catch-binding { "android":"85", "chrome":"85", "edge":"85", "firefox":"81", "ios":"13.4", "opera":"71", "safari":"13.1", "samsung":"11.1" }
syntax-async-generators { "android":"85", "chrome":"85", "edge":"85", "firefox":"81", "ios":"13.4", "opera":"71", "safari":"13.1", "samsung":"11.1" }

View File

@ -13,7 +13,7 @@ Using plugins:
syntax-numeric-separator { "chrome":"80" }
proposal-logical-assignment-operators { "chrome":"80" }
syntax-nullish-coalescing-operator { "chrome":"80" }
syntax-optional-chaining { "chrome":"80" }
proposal-optional-chaining { "chrome":"80" }
syntax-json-strings { "chrome":"80" }
syntax-optional-catch-binding { "chrome":"80" }
syntax-async-generators { "chrome":"80" }

View File

@ -12,7 +12,7 @@ Using plugins:
syntax-numeric-separator { "chrome":"84" }
proposal-logical-assignment-operators { "chrome":"84" }
syntax-nullish-coalescing-operator { "chrome":"84" }
syntax-optional-chaining { "chrome":"84" }
proposal-optional-chaining { "chrome":"84" }
syntax-json-strings { "chrome":"84" }
syntax-optional-catch-binding { "chrome":"84" }
syntax-async-generators { "chrome":"84" }

View File

@ -11,7 +11,7 @@ Using plugins:
syntax-numeric-separator { "chrome":"80" }
proposal-logical-assignment-operators { "chrome":"80" }
syntax-nullish-coalescing-operator { "chrome":"80" }
syntax-optional-chaining { "chrome":"80" }
proposal-optional-chaining { "chrome":"80" }
syntax-json-strings { "chrome":"80" }
syntax-optional-catch-binding { "chrome":"80" }
syntax-async-generators { "chrome":"80" }

View File

@ -170,6 +170,7 @@ const require = createRequire(import.meta.url);
it("useBuiltIns works", () => {
const output = Babel.transform("[].includes(2)", {
sourceType: "module",
targets: { ie: 11 },
presets: [
["env", { useBuiltIns: "usage", corejs: 3, modules: false }],
],