Update failing tests after last merged PR
This commit is contained in:
parent
ed47d2e89a
commit
2e5594d562
@ -185,12 +185,14 @@ describe("getTargets", () => {
|
||||
esmodules: true,
|
||||
}),
|
||||
).toEqual({
|
||||
android: "61.0.0",
|
||||
chrome: "61.0.0",
|
||||
safari: "10.1.0",
|
||||
firefox: "60.0.0",
|
||||
opera: "48.0.0",
|
||||
ios: "10.3.0",
|
||||
edge: "16.0.0",
|
||||
firefox: "60.0.0",
|
||||
ios: "10.3.0",
|
||||
opera: "48.0.0",
|
||||
safari: "10.1.0",
|
||||
samsung: "8.2.0",
|
||||
});
|
||||
});
|
||||
|
||||
@ -201,12 +203,14 @@ describe("getTargets", () => {
|
||||
browsers: "ie 8",
|
||||
}),
|
||||
).toEqual({
|
||||
android: "61.0.0",
|
||||
chrome: "61.0.0",
|
||||
safari: "10.1.0",
|
||||
firefox: "60.0.0",
|
||||
opera: "48.0.0",
|
||||
ios: "10.3.0",
|
||||
edge: "16.0.0",
|
||||
firefox: "60.0.0",
|
||||
ios: "10.3.0",
|
||||
opera: "48.0.0",
|
||||
safari: "10.1.0",
|
||||
samsung: "8.2.0",
|
||||
});
|
||||
});
|
||||
|
||||
@ -217,6 +221,7 @@ describe("getTargets", () => {
|
||||
ie: 11,
|
||||
}),
|
||||
).toEqual({
|
||||
android: "61.0.0",
|
||||
chrome: "61.0.0",
|
||||
safari: "10.1.0",
|
||||
firefox: "60.0.0",
|
||||
@ -224,6 +229,7 @@ describe("getTargets", () => {
|
||||
ios: "10.3.0",
|
||||
ie: "11.0.0",
|
||||
edge: "16.0.0",
|
||||
samsung: "8.2.0",
|
||||
});
|
||||
});
|
||||
|
||||
@ -235,6 +241,7 @@ describe("getTargets", () => {
|
||||
ie: 11,
|
||||
}),
|
||||
).toEqual({
|
||||
android: "61.0.0",
|
||||
chrome: "61.0.0",
|
||||
safari: "10.1.0",
|
||||
ios: "10.3.0",
|
||||
@ -242,6 +249,7 @@ describe("getTargets", () => {
|
||||
edge: "16.0.0",
|
||||
firefox: "60.0.0",
|
||||
opera: "48.0.0",
|
||||
samsung: "8.2.0",
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@ -2,35 +2,37 @@
|
||||
|
||||
Using targets:
|
||||
{
|
||||
"android": "61",
|
||||
"chrome": "61",
|
||||
"edge": "16",
|
||||
"firefox": "60",
|
||||
"ios": "10.3",
|
||||
"opera": "48",
|
||||
"safari": "10.1"
|
||||
"safari": "10.1",
|
||||
"samsung": "8.2"
|
||||
}
|
||||
|
||||
Using modules transform: false
|
||||
|
||||
Using plugins:
|
||||
proposal-nullish-coalescing-operator { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-optional-chaining { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-json-strings { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-optional-catch-binding { "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-async-generator-functions { "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-nullish-coalescing-operator { "android":"61", "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
proposal-optional-chaining { "android":"61", "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
proposal-json-strings { "android":"61", "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
proposal-optional-catch-binding { "android":"61", "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
proposal-async-generator-functions { "android":"61", "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-object-rest-spread { "edge":"16", "ios":"10.3", "safari":"10.1" }
|
||||
transform-dotall-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-unicode-property-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
transform-named-capturing-groups-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
transform-dotall-regex { "android":"61", "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-unicode-property-regex { "android":"61", "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
transform-named-capturing-groups-regex { "android":"61", "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
transform-async-to-generator { "ios":"10.3", "safari":"10.1" }
|
||||
transform-template-literals { "ios":"10.3", "safari":"10.1" }
|
||||
transform-function-name { "edge":"16" }
|
||||
transform-unicode-regex { "ios":"10.3", "safari":"10.1" }
|
||||
transform-parameters { "edge":"16" }
|
||||
transform-block-scoping { "ios":"10.3", "safari":"10.1" }
|
||||
syntax-dynamic-import { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
syntax-dynamic-import { "android":"61", "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
|
||||
Using polyfills with `usage` option:
|
||||
|
||||
[<CWD>/packages/babel-preset-env/test/fixtures/corejs2/usage-browserslist-config-ignore/input.mjs] Added following core-js polyfill:
|
||||
web.dom.iterable { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
web.dom.iterable { "android":"61", "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
|
||||
@ -2,36 +2,38 @@
|
||||
|
||||
Using targets:
|
||||
{
|
||||
"android": "61",
|
||||
"chrome": "61",
|
||||
"edge": "16",
|
||||
"firefox": "60",
|
||||
"ios": "10.3",
|
||||
"opera": "48",
|
||||
"safari": "10.1"
|
||||
"safari": "10.1",
|
||||
"samsung": "8.2"
|
||||
}
|
||||
|
||||
Using modules transform: false
|
||||
|
||||
Using plugins:
|
||||
proposal-nullish-coalescing-operator { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-optional-chaining { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-json-strings { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-optional-catch-binding { "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-async-generator-functions { "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-nullish-coalescing-operator { "android":"61", "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
proposal-optional-chaining { "android":"61", "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
proposal-json-strings { "android":"61", "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
proposal-optional-catch-binding { "android":"61", "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
proposal-async-generator-functions { "android":"61", "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-object-rest-spread { "edge":"16", "ios":"10.3", "safari":"10.1" }
|
||||
transform-dotall-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-unicode-property-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
transform-named-capturing-groups-regex { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
transform-dotall-regex { "android":"61", "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
proposal-unicode-property-regex { "android":"61", "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
transform-named-capturing-groups-regex { "android":"61", "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
transform-async-to-generator { "ios":"10.3", "safari":"10.1" }
|
||||
transform-template-literals { "ios":"10.3", "safari":"10.1" }
|
||||
transform-function-name { "edge":"16" }
|
||||
transform-unicode-regex { "ios":"10.3", "safari":"10.1" }
|
||||
transform-parameters { "edge":"16" }
|
||||
transform-block-scoping { "ios":"10.3", "safari":"10.1" }
|
||||
syntax-dynamic-import { "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
syntax-dynamic-import { "android":"61", "chrome":"61", "edge":"16", "firefox":"60", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
|
||||
Using polyfills with `usage` option:
|
||||
|
||||
[<CWD>/packages/babel-preset-env/test/fixtures/corejs3/usage-browserslist-config-ignore/input.mjs] Added following core-js polyfills:
|
||||
es.array.iterator { "chrome":"61", "opera":"48" }
|
||||
web.dom-collections.iterator { "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1" }
|
||||
es.array.iterator { "android":"61", "chrome":"61", "opera":"48", "samsung":"8.2" }
|
||||
web.dom-collections.iterator { "android":"61", "chrome":"61", "edge":"16", "ios":"10.3", "opera":"48", "safari":"10.1", "samsung":"8.2" }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user