| 1 |
// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 |
|
| 3 |
exports[`getTargets esmodules can be intersected with a .browserslistrc file 1`] = ` |
| 4 |
Object { |
| 5 |
"chrome": "70.0.0", |
| 6 |
"firefox": "60.0.0", |
| 7 |
} |
| 8 |
`; |
| 9 |
|
| 10 |
exports[`getTargets esmodules can be intersected with ios browsers option 1`] = ` |
| 11 |
Object { |
| 12 |
"ios": "12.0.0", |
| 13 |
} |
| 14 |
`; |
| 15 |
|
| 16 |
exports[`getTargets esmodules can be intersected with the browsers option 1`] = ` |
| 17 |
Object { |
| 18 |
"chrome": "70.0.0", |
| 19 |
"firefox": "60.0.0", |
| 20 |
} |
| 21 |
`; |
| 22 |
|
| 23 |
exports[`getTargets esmodules explicit browser versions have the precedence over 'esmodules' 1`] = ` |
| 24 |
Object { |
| 25 |
"chrome": "20.0.0", |
| 26 |
"firefox": "70.0.0", |
| 27 |
} |
| 28 |
`; |
| 29 |
|
| 30 |
exports[`getTargets esmodules returns browser supporting modules and keyed browser overrides 1`] = ` |
| 31 |
Object { |
| 32 |
"android": "61.0.0", |
| 33 |
"chrome": "61.0.0", |
| 34 |
"edge": "16.0.0", |
| 35 |
"firefox": "60.0.0", |
| 36 |
"ie": "11.0.0", |
| 37 |
"ios": "10.3.0", |
| 38 |
"node": "13.2.0", |
| 39 |
"opera": "48.0.0", |
| 40 |
"safari": "10.1.0", |
| 41 |
"samsung": "8.2.0", |
| 42 |
} |
| 43 |
`; |
| 44 |
|
| 45 |
exports[`getTargets esmodules returns browser supporting modules and keyed browser overrides, ignoring browsers field 1`] = ` |
| 46 |
Object { |
| 47 |
"android": "61.0.0", |
| 48 |
"chrome": "61.0.0", |
| 49 |
"edge": "16.0.0", |
| 50 |
"firefox": "60.0.0", |
| 51 |
"ie": "11.0.0", |
| 52 |
"ios": "10.3.0", |
| 53 |
"node": "13.2.0", |
| 54 |
"opera": "48.0.0", |
| 55 |
"safari": "10.1.0", |
| 56 |
"samsung": "8.2.0", |
| 57 |
} |
| 58 |
`; |
| 59 |
|
| 60 |
exports[`getTargets esmodules returns browsers supporting modules 1`] = ` |
| 61 |
Object { |
| 62 |
"android": "61.0.0", |
| 63 |
"chrome": "61.0.0", |
| 64 |
"edge": "16.0.0", |
| 65 |
"firefox": "60.0.0", |
| 66 |
"ios": "10.3.0", |
| 67 |
"node": "13.2.0", |
| 68 |
"opera": "48.0.0", |
| 69 |
"safari": "10.1.0", |
| 70 |
"samsung": "8.2.0", |
| 71 |
} |
| 72 |
`; |
| 73 |
|
| 74 |
exports[`getTargets esmodules returns browsers supporting modules, ignoring browsers key 1`] = ` |
| 75 |
Object { |
| 76 |
"android": "61.0.0", |
| 77 |
"chrome": "61.0.0", |
| 78 |
"edge": "16.0.0", |
| 79 |
"firefox": "60.0.0", |
| 80 |
"ios": "10.3.0", |
| 81 |
"node": "13.2.0", |
| 82 |
"opera": "48.0.0", |
| 83 |
"safari": "10.1.0", |
| 84 |
"samsung": "8.2.0", |
| 85 |
} |
| 86 |
`; |
| 87 |
|
| 88 |
exports[`getTargets exception throws when version is not a semver 1`] = `"@babel/helper-compilation-targets: 'seventy-two' is not a valid value for 'targets.chrome'."`; |