2017-08-29 09:16:04 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`boolean flags do not swallow the next argument 1`] = `
|
2017-09-03 17:06:55 +03:00
|
|
|
"console.log('could be single quote and without semi');
|
2017-08-29 09:16:04 +03:00
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
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.
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
2017-08-29 09:16:04 +03:00
|
|
|
exports[`negated options work 1`] = `
|
2017-09-03 17:06:55 +03:00
|
|
|
"console.log(\\"could be single quote and without semi\\")
|
2017-08-29 09:16:04 +03:00
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`negated options work 2`] = `""`;
|
|
|
|
|
|
|
|
exports[`unknown negated options are warned 1`] = `
|
2017-09-03 17:06:55 +03:00
|
|
|
"console.log(\\"could be single quote and without semi\\");
|
2017-08-29 09:16:04 +03:00
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`unknown negated options are warned 2`] = `
|
|
|
|
"Ignored unknown option: --no-unknown
|
|
|
|
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`unknown options are warned 1`] = `
|
2017-09-03 17:06:55 +03:00
|
|
|
"console.log(\\"could be single quote and without semi\\");
|
2017-08-29 09:16:04 +03:00
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`unknown options are warned 2`] = `
|
|
|
|
"Ignored unknown option: --unknown
|
|
|
|
|
|
|
|
"
|
|
|
|
`;
|