72 lines
1.9 KiB
Plaintext
72 lines
1.9 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`allow overriding flags (stderr) 1`] = `""`;
|
|
|
|
exports[`allow overriding flags (write) 1`] = `Array []`;
|
|
|
|
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; we now treat 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; we now treat 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 []`;
|