68 lines
1.8 KiB
Plaintext
68 lines
1.8 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`boolean flags do not swallow the next argument (stderr) 1`] = `""`;
|
|
|
|
exports[`boolean flags do not swallow the next argument (stdout) 1`] = `
|
|
"console.log('could be single quote and without semi');
|
|
"
|
|
`;
|
|
|
|
exports[`boolean flags do not swallow the next argument (write) 1`] = `Array []`;
|
|
|
|
exports[`deprecated option values are warned (stderr) 1`] = `
|
|
"[warn] \`--trailing-comma\` without an argument is deprecated. Prettier now treats it as \`--trailing-comma=es5\`.
|
|
"
|
|
`;
|
|
|
|
exports[`deprecated option values are warned (stdout) 1`] = `
|
|
"console.log(\\"could be single quote and without semi\\");
|
|
"
|
|
`;
|
|
|
|
exports[`deprecated option values are warned (write) 1`] = `Array []`;
|
|
|
|
exports[`deprecated options are warned (stderr) 1`] = `
|
|
"[warn] \`--flow-parser\` is deprecated. Prettier now treats it as \`--parser=flow\`.
|
|
"
|
|
`;
|
|
|
|
exports[`deprecated options are warned (stdout) 1`] = `
|
|
"console.log(\\"could be single quote and without semi\\");
|
|
"
|
|
`;
|
|
|
|
exports[`deprecated options are warned (write) 1`] = `Array []`;
|
|
|
|
exports[`negated options work (stderr) 1`] = `""`;
|
|
|
|
exports[`negated options work (stdout) 1`] = `
|
|
"console.log(\\"could be single quote and without semi\\")
|
|
"
|
|
`;
|
|
|
|
exports[`negated options work (write) 1`] = `Array []`;
|
|
|
|
exports[`unknown negated options are warned (stderr) 1`] = `
|
|
"[warn] Ignored unknown option \`--no-unknown\`.
|
|
"
|
|
`;
|
|
|
|
exports[`unknown negated options are warned (stdout) 1`] = `
|
|
"console.log(\\"could be single quote and without semi\\");
|
|
"
|
|
`;
|
|
|
|
exports[`unknown negated options are warned (write) 1`] = `Array []`;
|
|
|
|
exports[`unknown options are warned (stderr) 1`] = `
|
|
"[warn] Ignored unknown option \`--unknown\`.
|
|
"
|
|
`;
|
|
|
|
exports[`unknown options are warned (stdout) 1`] = `
|
|
"console.log(\\"could be single quote and without semi\\");
|
|
"
|
|
`;
|
|
|
|
exports[`unknown options are warned (write) 1`] = `Array []`;
|