58 lines
1.3 KiB
Plaintext
58 lines
1.3 KiB
Plaintext
// 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`] = `""`;
|
|
|
|
exports[`deprecated option values are warned 1`] = `
|
|
"console.log(\\"could be single quote and without semi\\");
|
|
"
|
|
`;
|
|
|
|
exports[`deprecated option values are warned 2`] = `
|
|
"\`--trailing-comma\` without an argument is deprecated. Prettier now treats it as: \`--trailing-comma=es5\`.
|
|
"
|
|
`;
|
|
|
|
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
|
|
|
|
"
|
|
`;
|