prettier/tests_integration/__tests__
Ika 4ff0f26d3e
refactor: move cli leven suggestion to options-normalizer (#5057)
Option-related processing should be done in `options-normalizer`.

- unknown flag suggestions are colored
  ![image](https://user-images.githubusercontent.com/8341033/45103027-866c7900-b161-11e8-8ee3-6467a9ca0090.png)
- unknown flags with no suggestion are now errors:
  ```
  $ bin/prettier.js --help noseminosemi
  [error] Invalid `--help` value. Expected `a flag`, but received `"noseminosemi"`.
  ```
2018-09-08 07:40:09 +08:00
..
__snapshots__ refactor: move cli leven suggestion to options-normalizer (#5057) 2018-09-08 07:40:09 +08:00
arg-parsing.js test(integration): update title and catch all outputs (#2951) 2017-10-02 18:08:34 +02:00
config-invalid.js fix(config): better error message for unsupported extension (#4969) 2018-08-11 16:35:18 +08:00
config-resolution.js feat(config): support TOML configuration files (#4877) 2018-08-03 06:27:19 -04:00
cursor-offset.js Don't default parser to babylon (#4528) 2018-05-23 16:55:06 -03:00
debug-check.js fix(cli): no regression for --debug-check + --list-different (#4600) 2018-05-31 00:42:26 +08:00
debug-print-doc.js Don't default parser to babylon (#4528) 2018-05-23 16:55:06 -03:00
deprecated-parser.js Use destructuring for imports (#4554) 2018-05-27 21:36:12 +10:00
early-exit.js refactor: move cli leven suggestion to options-normalizer (#5057) 2018-09-08 07:40:09 +08:00
file-info.js Use destructuring for imports (#4554) 2018-05-27 21:36:12 +10:00
format.js fix: guess line ending before preprocess (#4957) 2018-08-09 10:51:08 +08:00
help-options.js Use destructuring for imports (#4554) 2018-05-27 21:36:12 +10:00
ignore-absolute-path.js test(integration): update title and catch all outputs (#2951) 2017-10-02 18:08:34 +02:00
ignore-path.js Fix printing ignored files with --debug-check (#4066) 2018-03-01 13:03:54 -03:00
ignore-relative-path.js Move all docs to website (#3139) 2017-11-07 14:39:07 +11:00
ignore-vcs-files.js Ignore .git, .svn and .hg directories (#4906) 2018-07-30 00:08:51 +10:00
infer-parser.js Revert no parser error for API (#4587) 2018-05-28 23:43:44 -06:00
invalid-ignore.js test(integration): update title and catch all outputs (#2951) 2017-10-02 18:08:34 +02:00
list-different.js Don't default parser to babylon (#4528) 2018-05-23 16:55:06 -03:00
load-toml.js feat(config): support TOML configuration files (#4877) 2018-08-03 06:27:19 -04:00
loglevel.js Make all CLI logging go through a logger (#3515) 2017-12-18 23:22:07 +11:00
multiple-patterns.js Don't default parser to babylon (#4528) 2018-05-23 16:55:06 -03:00
parser-api.js Use destructuring for imports (#4554) 2018-05-27 21:36:12 +10:00
piped-output.js Fix typo in test files (`*formated` -> `*formatted`) (#2982) 2017-10-06 20:01:21 +11:00
plugin-default-options.js Allow plugins to override default options (#3991) 2018-02-28 00:20:02 +11:00
plugin-extensions.js Get tests passing on Windows (#4579) 2018-05-28 21:46:55 +10:00
plugin-options.js feat: support external options (#3775) 2018-01-28 00:24:25 +08:00
plugin-precedence.js chore: fix 2 TODOs (#4591) 2018-05-29 22:05:25 +08:00
plugin-preprocess.js Get tests passing on Windows (#4579) 2018-05-28 21:46:55 +10:00
plugin-resolution.js Get tests passing on Windows (#4579) 2018-05-28 21:46:55 +10:00
schema.js Use destructuring for imports (#4554) 2018-05-27 21:36:12 +10:00
skip-folders.js fix lint 2017-12-05 17:48:10 -02:00
stdin-filepath.js Output files as-is if ignored (#3618) 2017-12-31 18:08:09 +01:00
support-info.js Use destructuring for imports (#4554) 2018-05-27 21:36:12 +10:00
syntax-error.js Don't default parser to babylon (#4528) 2018-05-23 16:55:06 -03:00
util-shared.js feat: newline and space utils to shared (#5049) 2018-09-04 23:08:37 +03:00
with-config-precedence.js test: fix snapshots (#2957) 2017-10-02 19:56:34 +02:00
with-node-modules.js Move all docs to website (#3139) 2017-11-07 14:39:07 +11:00
with-parser-inference.js Use destructuring for imports (#4554) 2018-05-27 21:36:12 +10:00
with-shebang.js test(integration): update title and catch all outputs (#2951) 2017-10-02 18:08:34 +02:00
write.js Fix typo in test files (`*formated` -> `*formatted`) (#2982) 2017-10-06 20:01:21 +11:00