2017-08-29 09:16:04 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2017-10-02 19:08:34 +03:00
|
|
|
exports[`boolean flags do not swallow the next argument (stderr) 1`] = `""`;
|
|
|
|
|
|
|
|
exports[`boolean flags do not swallow the next argument (stdout) 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
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
2017-10-02 19:08:34 +03:00
|
|
|
exports[`boolean flags do not swallow the next argument (write) 1`] = `Array []`;
|
2017-09-08 07:36:00 +03:00
|
|
|
|
2017-10-02 19:08:34 +03:00
|
|
|
exports[`deprecated option values are warned (stderr) 1`] = `
|
2018-08-31 06:26:07 +03:00
|
|
|
"[warn] --trailing-comma without an argument is deprecated; we now treat it as --trailing-comma=es5.
|
2017-09-08 07:36:00 +03:00
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
2017-10-02 19:08:34 +03:00
|
|
|
exports[`deprecated option values are warned (stdout) 1`] = `
|
2017-09-08 06:45:59 +03:00
|
|
|
"console.log(\\"could be single quote and without semi\\");
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
2017-10-02 19:08:34 +03:00
|
|
|
exports[`deprecated option values are warned (write) 1`] = `Array []`;
|
|
|
|
|
|
|
|
exports[`deprecated options are warned (stderr) 1`] = `
|
2018-08-31 06:26:07 +03:00
|
|
|
"[warn] --flow-parser is deprecated; we now treat it as --parser=flow.
|
2017-09-08 06:45:59 +03:00
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
2017-10-02 19:08:34 +03:00
|
|
|
exports[`deprecated options are warned (stdout) 1`] = `
|
|
|
|
"console.log(\\"could be single quote and without semi\\");
|
2017-08-29 09:16:04 +03:00
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
2017-10-02 19:08:34 +03:00
|
|
|
exports[`deprecated options are warned (write) 1`] = `Array []`;
|
2017-08-29 09:16:04 +03:00
|
|
|
|
2017-10-02 19:08:34 +03:00
|
|
|
exports[`negated options work (stderr) 1`] = `""`;
|
|
|
|
|
|
|
|
exports[`negated options work (stdout) 1`] = `
|
|
|
|
"console.log(\\"could be single quote and without semi\\")
|
2017-08-29 09:16:04 +03:00
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
2017-10-02 19:08:34 +03:00
|
|
|
exports[`negated options work (write) 1`] = `Array []`;
|
|
|
|
|
|
|
|
exports[`unknown negated options are warned (stderr) 1`] = `
|
2018-08-31 06:26:07 +03:00
|
|
|
"[warn] Ignored unknown option --no-unknown.
|
2017-08-29 09:16:04 +03:00
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
2017-10-02 19:08:34 +03:00
|
|
|
exports[`unknown negated options are warned (stdout) 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
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
2017-10-02 19:08:34 +03:00
|
|
|
exports[`unknown negated options are warned (write) 1`] = `Array []`;
|
|
|
|
|
|
|
|
exports[`unknown options are warned (stderr) 1`] = `
|
2018-08-31 06:26:07 +03:00
|
|
|
"[warn] Ignored unknown option --unknown.
|
2017-08-29 09:16:04 +03:00
|
|
|
"
|
|
|
|
`;
|
2017-10-02 19:08:34 +03:00
|
|
|
|
|
|
|
exports[`unknown options are warned (stdout) 1`] = `
|
|
|
|
"console.log(\\"could be single quote and without semi\\");
|
|
|
|
"
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`unknown options are warned (write) 1`] = `Array []`;
|