Skip to content

Commit

Permalink
Tests: cleaned up some snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiospampinato committed Sep 14, 2024
1 parent 5b9688f commit b565238
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 40 deletions.
20 changes: 0 additions & 20 deletions test/__tests__/__snapshots__/arg-parsing.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ exports[`boolean flags do not swallow the next argument (stdout) 1`] = `"console

exports[`boolean flags do not swallow the next argument (write) 1`] = `[]`;

exports[`deprecated option values are warned (stderr) 1`] = `"[warn] --jsx-bracket-same-line is deprecated."`;

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`] = `[]`;

exports[`negated options work (stderr) 1`] = `""`;

exports[`negated options work (stdout) 1`] = `"console.log("could be single quote and without semi")"`;
Expand Down Expand Up @@ -56,16 +50,6 @@ exports[`unknown negated options are errored (stdout) 1`] = `

exports[`unknown negated options are errored (write) 1`] = `[]`;

exports[`unknown negated options are warned (stderr) 1`] = `""`;

exports[`unknown negated options are warned (stdout) 1`] = `
"
Unknown option: "unknown"
"
`;

exports[`unknown negated options are warned (write) 1`] = `[]`;

exports[`unknown options are errored (stderr) 1`] = `""`;

exports[`unknown options are errored (stdout) 1`] = `
Expand All @@ -83,7 +67,3 @@ exports[`unknown options may trigger a suggestion \`_\` (stdout) 1`] = `
Unknown option: "a". Did you mean "v"?
"
`;

exports[`unknown options not suggestion \`_\` (stderr) 1`] = `"[warn] Ignored unknown option -a. Did you mean -c?"`;

exports[`unknown options not suggestion \`_\` (stdout) 1`] = `"console.log("could be single quote and without semi");"`;
20 changes: 0 additions & 20 deletions test/__tests__/__snapshots__/with-node-modules.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,6 @@ regular-module.js"

exports[`doesn't ignore node_modules with --with-node-modules flag (write) 1`] = `[]`;

exports[`doesn't ignore node_modules with --with-node-modules flag for file list (stderr) 1`] = `""`;

exports[`doesn't ignore node_modules with --with-node-modules flag for file list (stdout) 1`] = `
"node_modules/node-module.js
not_node_modules/file.js
nested/node_modules/node-module.js
regular-module.js"
`;

exports[`doesn't ignore node_modules with --with-node-modules flag for file list (write) 1`] = `[]`;

exports[`ignores node_modules by default (stderr) 1`] = `""`;

exports[`ignores node_modules by default (stdout) 1`] = `
Expand All @@ -42,15 +31,6 @@ regular-module.js"

exports[`ignores node_modules by default (write) 1`] = `[]`;

exports[`ignores node_modules by default for file list (stderr) 1`] = `""`;

exports[`ignores node_modules by default for file list (stdout) 1`] = `
"not_node_modules/file.js
regular-module.js"
`;

exports[`ignores node_modules by default for file list (write) 1`] = `[]`;

exports[`ignores node_modules by with ./**/*.js (stderr) 1`] = `""`;

exports[`ignores node_modules by with ./**/*.js (stdout) 1`] = `
Expand Down

0 comments on commit b565238

Please sign in to comment.