Debian Codegraph @

packages/babel-core/test/__snapshots__/option-manager.js.snap

raw
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`option-manager config plugin/preset flattening and overriding should throw when an option is following a preset 1`] = `
4 "[BABEL] unknown file: Unknown option: .useSpread. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.
5 - Maybe you meant to use
6 \\"presets\\": [
7 [\\"./fixtures/option-manager/babel-preset-bar\\", {
8 \\"useSpread\\": true
9 }]
10 ]
11 To be a valid preset, its name and options should be wrapped in a pair of brackets"
12 `;
13
14 exports[`option-manager config plugin/preset flattening and overriding should throw when an option is provided as a plugin 1`] = `
15 "[BABEL] unknown file: .useSpread is not a valid Plugin property
16 - Maybe you meant to use
17 \\"plugins\\": [
18 [\\"./fixtures/option-manager/babel-plugin-foo\\", {
19 \\"useSpread\\": true
20 }]
21 ]
22 To be a valid plugin, its name and options should be wrapped in a pair of brackets"
23 `;
24
25 exports[`option-manager config plugin/preset flattening and overriding should throw when an option is provided as a preset 1`] = `
26 "[BABEL] unknown file: Unknown option: .useBuiltIns. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.
27 - Maybe you meant to use
28 \\"presets\\": [
29 [\\"./fixtures/option-manager/babel-preset-bar\\", {
30 \\"useBuiltIns\\": \\"entry\\"
31 }]
32 ]
33 To be a valid preset, its name and options should be wrapped in a pair of brackets"
34 `;