prettier/tests_integration/__tests__/__snapshots__/arg-parsing.js.snap

48 lines
1.0 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`boolean flags do not swallow the next argument 1`] = `
"console.log('could be single quote and without semi');
"
`;
exports[`boolean flags do not swallow the next argument 2`] = `""`;
2017-09-08 06:45:59 +03:00
exports[`deprecated options are warned 1`] = `
"console.log(\\"could be single quote and without semi\\");
"
`;
exports[`deprecated options are warned 2`] = `
"\`--flow-parser\` is deprecated. Use \`--parser flow\` instead.
"
`;
exports[`negated options work 1`] = `
"console.log(\\"could be single quote and without semi\\")
"
`;
exports[`negated options work 2`] = `""`;
exports[`unknown negated options are warned 1`] = `
"console.log(\\"could be single quote and without semi\\");
"
`;
exports[`unknown negated options are warned 2`] = `
"Ignored unknown option: --no-unknown
"
`;
exports[`unknown options are warned 1`] = `
"console.log(\\"could be single quote and without semi\\");
"
`;
exports[`unknown options are warned 2`] = `
"Ignored unknown option: --unknown
"
`;