From f859cafb84862cb753c2e2dbf6153e7ba2f8db62 Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Mon, 6 Apr 2020 15:51:21 +0300 Subject: [PATCH 0001/2034] partial revert of #7937 --- docs/options.md | 36 +++++++++---------- .../versioned_docs/version-stable/options.md | 36 +++++++++---------- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/docs/options.md b/docs/options.md index c522e8fb69..5176e2544f 100644 --- a/docs/options.md +++ b/docs/options.md @@ -79,9 +79,9 @@ Valid options: - `"consistent"` - If at least one property in an object requires quotes, quote all properties. - `"preserve"` - Respect the input use of quotes in object properties. -| Default | CLI Override | API Override | -| ------------- | ----------------------------------------------- | ----------------------------------------------- | -| `"as-needed"` | `--quote-props ` | `quoteProps: ""` | +| Default | CLI Override | API Override | +| ------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `"as-needed"` | --quote-props | quoteProps: "" | ## JSX Quotes @@ -103,9 +103,9 @@ Valid options: - `"none"` - No trailing commas. - `"all"` - Trailing commas wherever possible (including function arguments). This requires node 8 or a [transform](https://babeljs.io/docs/plugins/syntax-trailing-function-commas/). -| Default | CLI Override | API Override | -| ------- | --------------------------------- | --------------------------------- | -| `"es5"` | `--trailing-comma ` | `trailingComma: ""` | +| Default | CLI Override | API Override | +| ------- | ------------------------------------------------------ | ------------------------------------------------------ | +| `"es5"` | --trailing-comma | trailingComma: "" | ## Bracket Spacing @@ -166,9 +166,9 @@ Valid options: - `"always"` - Always include parens. Example: `(x) => x` - `"avoid"` - Omit parens when possible. Example: `x => x` -| Default | CLI Override | API Override | -| ---------- | ------------------------------- | ------------------------------- | -| `"always"` | `--arrow-parens ` | `arrowParens: ""` | +| Default | CLI Override | API Override | +| ---------- | ----------------------------------------------- | ----------------------------------------------- | +| `"always"` | --arrow-parens | arrowParens: "" | At first glance, avoiding parentheses may look like a better choice because of less visual noise. However, when Prettier removes parentheses, it becomes harder to add type annotations, extra arguments or default values as well as making other changes. @@ -292,9 +292,9 @@ Valid options: - `"never"` - Do not wrap prose. - `"preserve"` - Wrap prose as-is. _First available in v1.9.0_ -| Default | CLI Override | API Override | -| ------------ | -------------------------------------- | -------------------------------------- | -| `"preserve"` | `--prose-wrap ` | `proseWrap: ""` | +| Default | CLI Override | API Override | +| ------------ | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `"preserve"` | --prose-wrap | proseWrap: "" | ## HTML Whitespace Sensitivity @@ -310,9 +310,9 @@ Valid options: - `"strict"` - Whitespaces are considered sensitive. - `"ignore"` - Whitespaces are considered insensitive. -| Default | CLI Override | API Override | -| ------- | --------------------------------------------------- | -------------------------------------------------- | -| `"css"` | `--html-whitespace-sensitivity ` | `htmlWhitespaceSensitivity: ""` | +| Default | CLI Override | API Override | +| ------- | ------------------------------------------------------------------------ | ----------------------------------------------------------------------- | +| `"css"` | --html-whitespace-sensitivity | htmlWhitespaceSensitivity: "" | ## Vue files script and style tags indentation @@ -361,6 +361,6 @@ Valid options: - `"auto"` - Maintain existing line endings (mixed values within one file are normalised by looking at what's used after the first line) -| Default | CLI Override | API Override | -| ------- | --------------------------------- | -------------------------------- | -| `"lf"` | `--end-of-line ` | `endOfLine: ""` | +| Default | CLI Override | API Override | +| ------- | ----------------------------------------------------------- | ---------------------------------------------------------- | +| `"lf"` | --end-of-line | endOfLine: "" | diff --git a/website/versioned_docs/version-stable/options.md b/website/versioned_docs/version-stable/options.md index e0e0803483..ffb36eda05 100644 --- a/website/versioned_docs/version-stable/options.md +++ b/website/versioned_docs/version-stable/options.md @@ -80,9 +80,9 @@ Valid options: - `"consistent"` - If at least one property in an object requires quotes, quote all properties. - `"preserve"` - Respect the input use of quotes in object properties. -| Default | CLI Override | API Override | -| ------------- | ----------------------------------------------- | ----------------------------------------------- | -| `"as-needed"` | `--quote-props ` | `quoteProps: ""` | +| Default | CLI Override | API Override | +| ------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `"as-needed"` | --quote-props | quoteProps: "" | ## JSX Quotes @@ -104,9 +104,9 @@ Valid options: - `"none"` - No trailing commas. - `"all"` - Trailing commas wherever possible (including function arguments). This requires node 8 or a [transform](https://babeljs.io/docs/plugins/syntax-trailing-function-commas/). -| Default | CLI Override | API Override | -| ------- | --------------------------------- | --------------------------------- | -| `"es5"` | `--trailing-comma ` | `trailingComma: ""` | +| Default | CLI Override | API Override | +| ------- | ------------------------------------------------------ | ------------------------------------------------------ | +| `"es5"` | --trailing-comma | trailingComma: "" | ## Bracket Spacing @@ -167,9 +167,9 @@ Valid options: - `"always"` - Always include parens. Example: `(x) => x` - `"avoid"` - Omit parens when possible. Example: `x => x` -| Default | CLI Override | API Override | -| ---------- | ------------------------------- | ------------------------------- | -| `"always"` | `--arrow-parens ` | `arrowParens: ""` | +| Default | CLI Override | API Override | +| ---------- | ----------------------------------------------- | ----------------------------------------------- | +| `"always"` | --arrow-parens | arrowParens: "" | At first glance, avoiding parentheses may look like a better choice because of less visual noise. However, when Prettier removes parentheses, it becomes harder to add type annotations, extra arguments or default values as well as making other changes. @@ -293,9 +293,9 @@ Valid options: - `"never"` - Do not wrap prose. - `"preserve"` - Wrap prose as-is. _First available in v1.9.0_ -| Default | CLI Override | API Override | -| ------------ | -------------------------------------- | -------------------------------------- | -| `"preserve"` | `--prose-wrap ` | `proseWrap: ""` | +| Default | CLI Override | API Override | +| ------------ | ----------------------------------------------------------- | ----------------------------------------------------------- | +| `"preserve"` | --prose-wrap | proseWrap: "" | ## HTML Whitespace Sensitivity @@ -311,9 +311,9 @@ Valid options: - `"strict"` - Whitespaces are considered sensitive. - `"ignore"` - Whitespaces are considered insensitive. -| Default | CLI Override | API Override | -| ------- | --------------------------------------------------- | -------------------------------------------------- | -| `"css"` | `--html-whitespace-sensitivity ` | `htmlWhitespaceSensitivity: ""` | +| Default | CLI Override | API Override | +| ------- | ------------------------------------------------------------------------ | ----------------------------------------------------------------------- | +| `"css"` | --html-whitespace-sensitivity | htmlWhitespaceSensitivity: "" | ## Vue files script and style tags indentation @@ -362,6 +362,6 @@ Valid options: - `"auto"` - Maintain existing line endings (mixed values within one file are normalised by looking at what's used after the first line) -| Default | CLI Override | API Override | -| ------- | --------------------------------- | -------------------------------- | -| `"lf"` | `--end-of-line ` | `endOfLine: ""` | +| Default | CLI Override | API Override | +| ------- | ----------------------------------------------------------- | ---------------------------------------------------------- | +| `"lf"` | --end-of-line | endOfLine: "" | From 1b56e90170ea2f911381d46786a5bd359d2fc472 Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Mon, 6 Apr 2020 21:15:08 +0300 Subject: [PATCH 0002/2034] change playground redirect to use *.netlify.app domains (#7964) --- website/pages/playground-redirect.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/pages/playground-redirect.html b/website/pages/playground-redirect.html index 3146524c12..e8bc4a40f2 100644 --- a/website/pages/playground-redirect.html +++ b/website/pages/playground-redirect.html @@ -22,7 +22,7 @@

Redirecting…

if (match != null) { const [, /* url */ pr] = match; location.replace( - `https://deploy-preview-${pr}--prettier.netlify.com/playground` + `https://deploy-preview-${pr}--prettier.netlify.app/playground` ); } else { const el = document.createElement("p"); From 5a2a1c21011f4f056f853550b301435521674131 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 7 Apr 2020 12:20:16 +0300 Subject: [PATCH 0003/2034] Bump rollup from 2.3.2 to 2.3.3 (#7960) Bumps [rollup](https://github.com/rollup/rollup) from 2.3.2 to 2.3.3. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v2.3.2...v2.3.3) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 2e27f680ee..774611d6bd 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "jest-watch-typeahead": "0.5.0", "prettier": "2.0.4", "rimraf": "3.0.2", - "rollup": "2.3.2", + "rollup": "2.3.3", "rollup-plugin-babel": "4.4.0", "rollup-plugin-node-globals": "1.4.0", "rollup-plugin-terser": "5.3.0", diff --git a/yarn.lock b/yarn.lock index 83b36a54b9..7b5ad76d0a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6533,10 +6533,10 @@ rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.8.1, rollup-pluginutils@^2.8.2: dependencies: estree-walker "^0.6.1" -rollup@2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.3.2.tgz#afa68e4f3325bcef4e150d082056bef450bcac60" - integrity sha512-p66+fbfaUUOGE84sHXAOgfeaYQMslgAazoQMp//nlR519R61213EPFgrMZa48j31jNacJwexSAR1Q8V/BwGKBA== +rollup@2.3.3: + version "2.3.3" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.3.3.tgz#5982df700d7aae8907075ba68122bb57d98e9cd0" + integrity sha512-uJ9VNWk80mb4wDCSfd1AyHoSc9TrWbkZtnO6wbsMTp9muSWkT26Dvc99MX1yGCOTvUN1Skw/KpFzKdUDuZKTXA== optionalDependencies: fsevents "~2.1.2" From 596cf8ce8bc674f0a1bd68b6067124143f8b0526 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 7 Apr 2020 12:21:20 +0300 Subject: [PATCH 0004/2034] Bump camelcase from 5.3.1 to 6.0.0 (#7969) Bumps [camelcase](https://github.com/sindresorhus/camelcase) from 5.3.1 to 6.0.0. - [Release notes](https://github.com/sindresorhus/camelcase/releases) - [Commits](https://github.com/sindresorhus/camelcase/compare/v5.3.1...v6.0.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 774611d6bd..8cbabd9464 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@typescript-eslint/typescript-estree": "2.26.0", "angular-estree-parser": "1.3.0", "angular-html-parser": "1.4.0", - "camelcase": "5.3.1", + "camelcase": "6.0.0", "chalk": "4.0.0", "ci-info": "watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540", "cjk-regex": "2.0.0", diff --git a/yarn.lock b/yarn.lock index 7b5ad76d0a..0166aaa33a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1994,7 +1994,12 @@ callsites@^3.0.0: resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== -camelcase@5.3.1, camelcase@^5.0.0, camelcase@^5.3.1: +camelcase@6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.0.0.tgz#5259f7c30e35e278f1bdc2a4d91230b37cad981e" + integrity sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w== + +camelcase@^5.0.0, camelcase@^5.3.1: version "5.3.1" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== From 7a751a6d7dfebb92b9dc022ed977beafbd266c48 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 7 Apr 2020 12:25:00 +0300 Subject: [PATCH 0005/2034] Bump semver from 7.1.3 to 7.2.1 (#7970) Bumps [semver](https://github.com/npm/node-semver) from 7.1.3 to 7.2.1. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v7.1.3...v7.2.1) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 8cbabd9464..5c67ed82a7 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "regexp-util": "1.2.2", "remark-math": "1.0.6", "remark-parse": "5.0.0", - "semver": "7.1.3", + "semver": "7.2.1", "srcset": "2.0.1", "string-width": "4.2.0", "typescript": "3.8.3", diff --git a/yarn.lock b/yarn.lock index 0166aaa33a..68d96e96b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6659,10 +6659,10 @@ semver@7.0.0: resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -semver@7.1.3, semver@^7.1.3: - version "7.1.3" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.1.3.tgz#e4345ce73071c53f336445cfc19efb1c311df2a6" - integrity sha512-ekM0zfiA9SCBlsKa2X1hxyxiI4L3B6EbVJkkdgQXnSEEaHlGdvyodMruTiulSRWMMB4NeIuYNMC9rTKTz97GxA== +semver@7.2.1, semver@^7.1.3: + version "7.2.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.2.1.tgz#d997aa36bdbb00b501ae4ac4c7d17e9f7a587ae5" + integrity sha512-aHhm1pD02jXXkyIpq25qBZjr3CQgg8KST8uX0OWXch3xE6jw+1bfbWnCjzMwojsTquroUmKFHNzU6x26mEiRxw== semver@^6.0.0, semver@^6.1.2, semver@^6.3.0: version "6.3.0" From ccaaad007dc53d66a601009d27f1527984cdf709 Mon Sep 17 00:00:00 2001 From: Sosuke Suzuki Date: Tue, 7 Apr 2020 19:42:45 +0900 Subject: [PATCH 0006/2034] JavaScript: Support Smart and F#-style Pipeline (#6319) * Modify to support smart-pipeline in printer * Add tests * add a changelog entry * change minimal to smart * fix parens issues * Support fsharp-pipeline * Fix needs-parens * Try to fix ci problem * Update changelog * Add more tests Co-authored-by: Georgii Dolzhykov --- changelog_unreleased/javascript/pr-6319.md | 36 +++ src/language-js/needs-parens.js | 37 ++- src/language-js/parser-babel.js | 28 ++- src/language-js/printer-estree.js | 14 +- .../__snapshots__/jsfmt.spec.js.snap | 232 +++++++++++++++++- .../fsharp_style_pipeline_operator.js | 49 ++++ .../minimal_pipeline_operator.js | 49 ++++ tests/pipeline_operator/pipeline_operator.js | 27 -- .../smart_pipeline_operator.js | 40 +++ 9 files changed, 478 insertions(+), 34 deletions(-) create mode 100644 changelog_unreleased/javascript/pr-6319.md create mode 100644 tests/pipeline_operator/fsharp_style_pipeline_operator.js create mode 100644 tests/pipeline_operator/minimal_pipeline_operator.js delete mode 100644 tests/pipeline_operator/pipeline_operator.js create mode 100644 tests/pipeline_operator/smart_pipeline_operator.js diff --git a/changelog_unreleased/javascript/pr-6319.md b/changelog_unreleased/javascript/pr-6319.md new file mode 100644 index 0000000000..e2c6fc61a5 --- /dev/null +++ b/changelog_unreleased/javascript/pr-6319.md @@ -0,0 +1,36 @@ +#### Support the 'smart' and 'fsharp-style' pipeline operator proposal ([#6319](https://github.com/prettier/prettier/pull/6319) by [@sosukesuzuki](https://github.com/sosukesuzuki), [@thorn0](https://github.com/thorn0)) + +- [Link to the 'smart' pipeline proposal](https://github.com/js-choi/proposal-smart-pipelines) +- [Link to the 'fsharp-style' pipeline proposal](https://github.com/valtech-nyc/proposal-fsharp-pipelines) + +**Smart Pipeline:** + + +```js +// Input +5 |> # * 2 + +// Output (Prettier Stable) +SyntaxError: Unexpected character '#' (1:6) +> 1 | 5 |> # * 2 + | ^ + +// Output (Prettier master) +5 |> # * 2 +``` + +**F#-style Pipeline:** + + +```js +// Input +promises |> await; + +// Output (Prettier stable) +SyntaxError: Unexpected token (1:18) +> 1 | promises |> await; + | ^ + +// Output (Prettier master) +promises |> await; +``` diff --git a/src/language-js/needs-parens.js b/src/language-js/needs-parens.js index 494a4f3ee1..e73659c409 100644 --- a/src/language-js/needs-parens.js +++ b/src/language-js/needs-parens.js @@ -204,7 +204,10 @@ function needsParens(path, options) { } case "BinaryExpression": { - if (parent.type === "UpdateExpression") { + if ( + parent.type === "UpdateExpression" || + (parent.type === "PipelineTopicExpression" && node.operator === "|>") + ) { return true; } @@ -225,6 +228,15 @@ function needsParens(path, options) { if (node.operator === "in" && isLeftOfAForStatement(node)) { return true; } + if (node.operator === "|>" && node.extra && node.extra.parenthesized) { + const grandParent = path.getParentNode(1); + if ( + grandParent.type === "BinaryExpression" && + grandParent.operator === "|>" + ) { + return true; + } + } } // fallthrough case "TSTypeAssertion": @@ -352,7 +364,6 @@ function needsParens(path, options) { switch (parent.type) { case "TaggedTemplateExpression": case "UnaryExpression": - case "BinaryExpression": case "LogicalExpression": case "SpreadElement": case "SpreadProperty": @@ -373,6 +384,13 @@ function needsParens(path, options) { case "ConditionalExpression": return parent.test === node; + case "BinaryExpression": { + if (!node.argument && parent.operator === "|>") { + return false; + } + return true; + } + default: return false; } @@ -561,6 +579,20 @@ function needsParens(path, options) { case "ArrowFunctionExpression": switch (parent.type) { + case "PipelineTopicExpression": + return !!(node.extra && node.extra.parenthesized); + + case "BinaryExpression": + if (node.extra && node.extra.parenthesized) { + return ( + parent.operator === "|>" || + (parent.operator !== "|>" && + node.body.type === "BinaryExpression" && + node.body.operator === "|>") + ); + } + return false; + case "NewExpression": case "CallExpression": case "OptionalCallExpression": @@ -575,7 +607,6 @@ function needsParens(path, options) { case "TaggedTemplateExpression": case "UnaryExpression": case "LogicalExpression": - case "BinaryExpression": case "AwaitExpression": case "TSTypeAssertion": return true; diff --git a/src/language-js/parser-babel.js b/src/language-js/parser-babel.js index 0ef8ffb5b9..fbbadce563 100644 --- a/src/language-js/parser-babel.js +++ b/src/language-js/parser-babel.js @@ -30,7 +30,6 @@ function babelOptions(extraPlugins = []) { "optionalCatchBinding", "optionalChaining", "classPrivateProperties", - ["pipelineOperator", { proposal: "minimal" }], "nullishCoalescingOperator", "bigInt", "throwExpressions", @@ -44,6 +43,22 @@ function babelOptions(extraPlugins = []) { }; } +function resolvePluginsConflict( + condition, + pluginCombinations, + conflictPlugins +) { + const combinations = [...pluginCombinations]; + if (condition) { + for (const combination of pluginCombinations) { + for (const plugin of conflictPlugins) { + combinations.push([...combination, plugin]); + } + } + } + return combinations; +} + function createParse(parseMethod, ...pluginCombinations) { return (text, parsers, opts) => { // Inline the require to avoid loading all the JS if we don't use it @@ -51,9 +66,18 @@ function createParse(parseMethod, ...pluginCombinations) { let ast; try { + const combinations = resolvePluginsConflict( + text.includes("|>"), + pluginCombinations, + [ + ["pipelineOperator", { proposal: "smart" }], + ["pipelineOperator", { proposal: "minimal" }], + ["pipelineOperator", { proposal: "fsharp" }], + ] + ); ast = tryCombinations( (options) => babel[parseMethod](text, options), - pluginCombinations.map(babelOptions) + combinations.map(babelOptions) ); } catch (error) { throw createError( diff --git a/src/language-js/printer-estree.js b/src/language-js/printer-estree.js index 57d7eac7c3..750a069244 100644 --- a/src/language-js/printer-estree.js +++ b/src/language-js/printer-estree.js @@ -942,7 +942,10 @@ function printPathNoParens(path, options, print, args) { return concat(parts); case "AwaitExpression": { - parts.push("await ", path.call(print, "argument")); + parts.push("await"); + if (n.argument) { + parts.push(" ", path.call(print, "argument")); + } const parent = path.getParentNode(); if ( ((parent.type === "CallExpression" || @@ -3677,6 +3680,15 @@ function printPathNoParens(path, options, print, args) { path.call(print, "alias"), ]); + case "PipelineBareFunction": + return path.call(print, "callee"); + case "PipelineTopicExpression": + return path.call(print, "expression"); + case "PipelinePrimaryTopicReference": { + parts.push("#"); + return concat(parts); + } + case "ArgumentPlaceholder": return "?"; diff --git a/tests/pipeline_operator/__snapshots__/jsfmt.spec.js.snap b/tests/pipeline_operator/__snapshots__/jsfmt.spec.js.snap index aeb93849ed..9bebf89563 100644 --- a/tests/pipeline_operator/__snapshots__/jsfmt.spec.js.snap +++ b/tests/pipeline_operator/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,101 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`pipeline_operator.js 1`] = ` +exports[`fsharp_style_pipeline_operator.js 1`] = ` +====================================options===================================== +parsers: ["babel"] +printWidth: 80 + | printWidth +=====================================input====================================== +promise + |> await + |> x => doubleSay(x, ', ') + |> capitalize + |> x => x + '!' + |> x => new User.Message(x) + |> x => stream.write(x) + |> await + |> console.log; + +const result = "hello" + |> doubleSay + |> capitalize + |> exclaim; + +const newScore = person.score + |> double + |> n => add(7, n) + |> n => boundScore(0, 100, n); + +const user = url + |> api.get + |> await + |> r => r.json() + |> await + |> j => j.data.user; + +const f = (x) => (x |> (y) => y + 1) + |> (z) => z * y + +const _f = (x) => x + |> (y) => y + 1 + |> (z) => z * y + +const g = (x) => x + |> (y) => (y + 1 |> (z) => z * y) + +const _g = (x) => x + |> (y => (y + 1 |> (z) => z * y)) + +const __g = (x) => x + |> ( + y => { + return (y + 1 |> (z) => z * y); + } + ) + +const f = x + ((f) => (f |> f)); +const f = x |> (f) => f |> f; + +=====================================output===================================== +promise + |> await + |> (x) => doubleSay(x, ", ") + |> capitalize + |> (x) => x + "!" + |> (x) => new User.Message(x) + |> (x) => stream.write(x) + |> await + |> console.log; + +const result = "hello" |> doubleSay |> capitalize |> exclaim; + +const newScore = + person.score |> double |> (n) => add(7, n) |> (n) => boundScore(0, 100, n); + +const user = + url |> api.get |> await |> (r) => r.json() |> await |> (j) => j.data.user; + +const f = (x) => x |> (y) => y + 1 |> (z) => z * y; + +const _f = (x) => x |> (y) => y + 1 |> (z) => z * y; + +const g = (x) => x |> (y) => (y + 1 |> (z) => z * y); + +const _g = (x) => x |> ((y) => (y + 1 |> (z) => z * y)); + +const __g = (x) => + x + |> ((y) => { + return y + 1 |> (z) => z * y; + }); + +const f = x + ((f) => f |> f); +const f = x |> (f) => f |> f; + +================================================================================ +`; + +exports[`minimal_pipeline_operator.js 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -34,6 +129,28 @@ function createPerson (attrs) { foo |> (bar ?? baz); (foo |> bar) ?? baz; +const result = [1,2,3] + |> map(a => a * 2) + |> filter(a => a > 5) + |> reduce((sum, a) => a+sum, 0) + |> increment + |> add(3) + +const searchResults$ = fromEvent(document.querySelector('input'), 'input') + |> map(event => event.target.value) + |> filter(searchText => searchText.length > 2) + |> debounce(300) + |> distinctUntilChanged() + |> switchMap(searchText => queryApi(searchText) |> retry(3)) + |> share(); + +const result = [5,10] + |> (_ => _.map(x => x * 2)) + |> (_ => _.reduce( (a,b) => a + b )) + |> (sum => sum + 1) + +const result2 = [4, 9].map( x => x |> inc |> double ) + =====================================output===================================== a |> b |> c; @@ -61,5 +178,118 @@ function createPerson(attrs) { foo |> bar ?? baz; (foo |> bar) ?? baz; +const result = + [1, 2, 3] + |> map((a) => a * 2) + |> filter((a) => a > 5) + |> reduce((sum, a) => a + sum, 0) + |> increment + |> add(3); + +const searchResults$ = + fromEvent(document.querySelector("input"), "input") + |> map((event) => event.target.value) + |> filter((searchText) => searchText.length > 2) + |> debounce(300) + |> distinctUntilChanged() + |> switchMap((searchText) => queryApi(searchText) |> retry(3)) + |> share(); + +const result = + [5, 10] + |> ((_) => _.map((x) => x * 2)) + |> ((_) => _.reduce((a, b) => a + b)) + |> ((sum) => sum + 1); + +const result2 = [4, 9].map((x) => x |> inc |> double); + +================================================================================ +`; + +exports[`smart_pipeline_operator.js 1`] = ` +====================================options===================================== +parsers: ["babel"] +printWidth: 80 + | printWidth +=====================================input====================================== +a |> await # |> # * 3; + +foo + |> await # + |> # || throw new Error(\`foo \${bar1}\`) + |> bar2(#, ", ") + |> bar3 + |> # + "!" + |> new Bar.Foo(#) + |> await bar.bar(#) + |> console.log; + +const result = "hello" + |> doubleSay + |> capitalize(#, "foo") + |> exclaim; + +function createPerson (attrs) { + attrs + |> foo + |> foo + |> Person.insertIntoDatabase; +} + +const result = [1,2,3] + |> #.map(a => a * 2 ) + |> #.filter(a => a > 5) + |> #.reduce((sum, a) => a+sum, 0) + |> increment + |> add(#, 3) + +const searchResults$ = fromEvent(document.querySelector('input'), 'input') + |> map(#, event => event.target.value) + |> filter(#, searchText => searchText.length > 2) + |> debounce(#, 300) + |> distinctUntilChanged + |> switchMap(#, searchText => queryApi(searchText) |> retry(#, 3)) + |> share; + +v |> #.method() |> f; + +=====================================output===================================== +a |> await # |> # * 3; + +foo + |> await # + |> # || throw new Error(\`foo \${bar1}\`) + |> bar2(#, ", ") + |> bar3 + |> # + "!" + |> new Bar.Foo(#) + |> await bar.bar(#) + |> console.log; + +const result = "hello" |> doubleSay |> capitalize(#, "foo") |> exclaim; + +function createPerson(attrs) { + attrs |> foo |> foo |> Person.insertIntoDatabase; +} + +const result = + [1, 2, 3] + |> #.map((a) => a * 2) + |> #.filter((a) => a > 5) + |> #.reduce((sum, a) => a + sum, 0) + |> increment + |> add(#, 3); + +const searchResults$ = + fromEvent(document.querySelector("input"), "input") + |> map(#, (event) => event.target.value) + |> filter(#, (searchText) => searchText.length > 2) + |> debounce(#, 300) + |> distinctUntilChanged + |> switchMap(#, (searchText) => queryApi(searchText) |> retry(#, 3)) + |> share; + +v |> #.method() |> f; + ================================================================================ `; diff --git a/tests/pipeline_operator/fsharp_style_pipeline_operator.js b/tests/pipeline_operator/fsharp_style_pipeline_operator.js new file mode 100644 index 0000000000..9bd27b04f8 --- /dev/null +++ b/tests/pipeline_operator/fsharp_style_pipeline_operator.js @@ -0,0 +1,49 @@ +promise + |> await + |> x => doubleSay(x, ', ') + |> capitalize + |> x => x + '!' + |> x => new User.Message(x) + |> x => stream.write(x) + |> await + |> console.log; + +const result = "hello" + |> doubleSay + |> capitalize + |> exclaim; + +const newScore = person.score + |> double + |> n => add(7, n) + |> n => boundScore(0, 100, n); + +const user = url + |> api.get + |> await + |> r => r.json() + |> await + |> j => j.data.user; + +const f = (x) => (x |> (y) => y + 1) + |> (z) => z * y + +const _f = (x) => x + |> (y) => y + 1 + |> (z) => z * y + +const g = (x) => x + |> (y) => (y + 1 |> (z) => z * y) + +const _g = (x) => x + |> (y => (y + 1 |> (z) => z * y)) + +const __g = (x) => x + |> ( + y => { + return (y + 1 |> (z) => z * y); + } + ) + +const f = x + ((f) => (f |> f)); +const f = x |> (f) => f |> f; diff --git a/tests/pipeline_operator/minimal_pipeline_operator.js b/tests/pipeline_operator/minimal_pipeline_operator.js new file mode 100644 index 0000000000..3f42eda877 --- /dev/null +++ b/tests/pipeline_operator/minimal_pipeline_operator.js @@ -0,0 +1,49 @@ +a |> b |> c; + +a |> (b |> c); + +(a |> b) || c; +a |> (b || c); + +let result = "hello" + |> doubleSay + |> capitalize + |> exclaim; + +let newScore = person.score + |> double + |> (_ => add(7, _)) + |> (_ => subtract(2, _)) + |> (_ => boundScore(0, 100, _)); + +function createPerson (attrs) { + attrs + |> bounded('age', 1, 100) + |> format('name', /^[a-z]$/i) + |> Person.insertIntoDatabase; +} + +foo |> (bar ?? baz); +(foo |> bar) ?? baz; + +const result = [1,2,3] + |> map(a => a * 2) + |> filter(a => a > 5) + |> reduce((sum, a) => a+sum, 0) + |> increment + |> add(3) + +const searchResults$ = fromEvent(document.querySelector('input'), 'input') + |> map(event => event.target.value) + |> filter(searchText => searchText.length > 2) + |> debounce(300) + |> distinctUntilChanged() + |> switchMap(searchText => queryApi(searchText) |> retry(3)) + |> share(); + +const result = [5,10] + |> (_ => _.map(x => x * 2)) + |> (_ => _.reduce( (a,b) => a + b )) + |> (sum => sum + 1) + +const result2 = [4, 9].map( x => x |> inc |> double ) diff --git a/tests/pipeline_operator/pipeline_operator.js b/tests/pipeline_operator/pipeline_operator.js deleted file mode 100644 index a262b23e1d..0000000000 --- a/tests/pipeline_operator/pipeline_operator.js +++ /dev/null @@ -1,27 +0,0 @@ -a |> b |> c; - -a |> (b |> c); - -(a |> b) || c; -a |> (b || c); - -let result = "hello" - |> doubleSay - |> capitalize - |> exclaim; - -let newScore = person.score - |> double - |> (_ => add(7, _)) - |> (_ => subtract(2, _)) - |> (_ => boundScore(0, 100, _)); - -function createPerson (attrs) { - attrs - |> bounded('age', 1, 100) - |> format('name', /^[a-z]$/i) - |> Person.insertIntoDatabase; -} - -foo |> (bar ?? baz); -(foo |> bar) ?? baz; diff --git a/tests/pipeline_operator/smart_pipeline_operator.js b/tests/pipeline_operator/smart_pipeline_operator.js new file mode 100644 index 0000000000..5ed8619056 --- /dev/null +++ b/tests/pipeline_operator/smart_pipeline_operator.js @@ -0,0 +1,40 @@ +a |> await # |> # * 3; + +foo + |> await # + |> # || throw new Error(`foo ${bar1}`) + |> bar2(#, ", ") + |> bar3 + |> # + "!" + |> new Bar.Foo(#) + |> await bar.bar(#) + |> console.log; + +const result = "hello" + |> doubleSay + |> capitalize(#, "foo") + |> exclaim; + +function createPerson (attrs) { + attrs + |> foo + |> foo + |> Person.insertIntoDatabase; +} + +const result = [1,2,3] + |> #.map(a => a * 2 ) + |> #.filter(a => a > 5) + |> #.reduce((sum, a) => a+sum, 0) + |> increment + |> add(#, 3) + +const searchResults$ = fromEvent(document.querySelector('input'), 'input') + |> map(#, event => event.target.value) + |> filter(#, searchText => searchText.length > 2) + |> debounce(#, 300) + |> distinctUntilChanged + |> switchMap(#, searchText => queryApi(searchText) |> retry(#, 3)) + |> share; + +v |> #.method() |> f; From 0c1b737cde0aacd6e8d6c753026843854de00917 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Tue, 7 Apr 2020 19:38:25 +0800 Subject: [PATCH 0007/2034] Skip `AST_COMPARE` test if code didn't change (#7800) * Skip `AST_COMPARE` test if code didn't change * use basename * Use `test.skip` * Code style --- tests_config/run_spec.js | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/tests_config/run_spec.js b/tests_config/run_spec.js index 6ae7ea70da..f6ab09b611 100644 --- a/tests_config/run_spec.js +++ b/tests_config/run_spec.js @@ -178,21 +178,16 @@ global.run_spec = (dirname, parsers, options) => { } if (AST_COMPARE) { - test(`${basename} parse`, () => { - const parseOptions = { ...mainOptions }; - delete parseOptions.cursorOffset; - - const originalAst = parse(input, parseOptions); - let formattedAst; - - expect(() => { - formattedAst = parse( - output.replace(CURSOR_PLACEHOLDER, ""), - parseOptions - ); - }).not.toThrow(); - expect(originalAst).toEqual(formattedAst); - }); + const formatted = output.replace(CURSOR_PLACEHOLDER, ""); + + if (formatted !== input) { + test(`${basename} parse`, () => { + const { cursorOffset, ...parseOptions } = mainOptions; + const originalAst = parse(input, parseOptions); + const formattedAst = parse(formatted, parseOptions); + expect(originalAst).toEqual(formattedAst); + }); + } } } }; From 22f0c7d8b4e7a0a238e43ba95504ca52a9787878 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 7 Apr 2020 16:46:07 +0300 Subject: [PATCH 0008/2034] Bump @typescript-eslint/typescript-estree from 2.26.0 to 2.27.0 (#7971) Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.26.0 to 2.27.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.27.0/packages/typescript-estree) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 5c67ed82a7..0046d081be 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "@babel/parser": "7.9.4", "@glimmer/syntax": "0.50.0", "@iarna/toml": "2.2.3", - "@typescript-eslint/typescript-estree": "2.26.0", + "@typescript-eslint/typescript-estree": "2.27.0", "angular-estree-parser": "1.3.0", "angular-html-parser": "1.4.0", "camelcase": "6.0.0", diff --git a/yarn.lock b/yarn.lock index 68d96e96b7..70c546fdff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1202,10 +1202,10 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/typescript-estree@2.26.0": - version "2.26.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.26.0.tgz#d8132cf1ee8a72234f996519a47d8a9118b57d56" - integrity sha512-3x4SyZCLB4zsKsjuhxDLeVJN6W29VwBnYpCsZ7vIdPel9ZqLfIZJgJXO47MNUkurGpQuIBALdPQKtsSnWpE1Yg== +"@typescript-eslint/typescript-estree@2.27.0": + version "2.27.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.27.0.tgz#a288e54605412da8b81f1660b56c8b2e42966ce8" + integrity sha512-t2miCCJIb/FU8yArjAvxllxbTiyNqaXJag7UOpB5DVoM3+xnjeOngtqlJkLRnMtzaRcJhe3CIR9RmL40omubhg== dependencies: debug "^4.1.1" eslint-visitor-keys "^1.1.0" From aacaf4b2f28f94110465dc6eb238f4c3a532cd5f Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Wed, 8 Apr 2020 02:37:57 +0300 Subject: [PATCH 0009/2034] Fix unexpected GitHub Actions failures (#7980) --- tests_integration/__tests__/check.js | 4 +--- tests_integration/__tests__/list-different.js | 4 +--- tests_integration/runPrettier.js | 5 +---- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/tests_integration/__tests__/check.js b/tests_integration/__tests__/check.js index 4868980ef2..87773bff4e 100644 --- a/tests_integration/__tests__/check.js +++ b/tests_integration/__tests__/check.js @@ -27,10 +27,8 @@ describe("--checks works in CI just as in a non-TTY mode", () => { "cli/write", ["--check", "formatted.js", "unformatted.js"], { - env: { - CI: "true", - }, stdoutIsTTY: true, + ci: true, } ).test({ status: 1, diff --git a/tests_integration/__tests__/list-different.js b/tests_integration/__tests__/list-different.js index 38e9744e9d..2774d6a865 100644 --- a/tests_integration/__tests__/list-different.js +++ b/tests_integration/__tests__/list-different.js @@ -27,10 +27,8 @@ describe("--list-different works in CI just as in a non-TTY mode", () => { "cli/write", ["--list-different", "formatted.js", "unformatted.js"], { - env: { - CI: "true", - }, stdoutIsTTY: true, + ci: true, } ).test({ status: 1, diff --git a/tests_integration/runPrettier.js b/tests_integration/runPrettier.js index 9b3a6de18e..c90c895d7f 100644 --- a/tests_integration/runPrettier.js +++ b/tests_integration/runPrettier.js @@ -62,13 +62,11 @@ function runPrettier(dir, args, options) { const originalExitCode = process.exitCode; const originalStdinIsTTY = process.stdin.isTTY; const originalStdoutIsTTY = process.stdout.isTTY; - const originalEnv = process.env; process.chdir(normalizeDir(dir)); process.stdin.isTTY = !!options.isTTY; process.stdout.isTTY = !!options.stdoutIsTTY; process.argv = ["path/to/node", "path/to/prettier/bin"].concat(args); - process.env = { ...process.env, ...options.env }; jest.resetModules(); @@ -80,7 +78,7 @@ function runPrettier(dir, args, options) { .mockImplementation(() => SynchronousPromise.resolve(options.input || "")); jest .spyOn(require(thirdParty), "isCI") - .mockImplementation(() => process.env.CI); + .mockImplementation(() => !!options.ci); jest .spyOn(require(thirdParty), "cosmiconfig") .mockImplementation((moduleName, options) => @@ -113,7 +111,6 @@ function runPrettier(dir, args, options) { process.exitCode = originalExitCode; process.stdin.isTTY = originalStdinIsTTY; process.stdout.isTTY = originalStdoutIsTTY; - process.env = originalEnv; jest.restoreAllMocks(); } From 36200ad518e61e455250329c90dcfc8bb7422234 Mon Sep 17 00:00:00 2001 From: Cyrille David Date: Wed, 8 Apr 2020 01:44:12 +0200 Subject: [PATCH 0010/2034] Refactor glimmer-printer (#7967) * Refactor isVoid to a function * Move isVoid to utils * Refactor isVoid function * Simplify a ternary * Refactor ElementNode / MustacheStatement * Rename a function * Refactor blockstatement * Extract two functions from ElementNode * Remove useless filter * Use helpers in TextNode * Refactor SubExpression * Refactor BlockStatement * Fix cspell CI job * Update src/language-handlebars/printer-glimmer.js Co-Authored-By: fisker Cheung * Fix linting in CI Co-authored-by: fisker Cheung --- src/language-handlebars/printer-glimmer.js | 558 ++++++++++++--------- src/language-handlebars/utils.js | 32 +- 2 files changed, 340 insertions(+), 250 deletions(-) diff --git a/src/language-handlebars/printer-glimmer.js b/src/language-handlebars/printer-glimmer.js index ef52147ba5..6327e43d70 100644 --- a/src/language-handlebars/printer-glimmer.js +++ b/src/language-handlebars/printer-glimmer.js @@ -4,44 +4,27 @@ const clean = require("./clean"); const { concat, - join, - softline, - hardline, - line, group, - indent, + hardline, ifBreak, + indent, + join, + line, + softline, } = require("../document").builders; const { getNextNode, getPreviousNode, hasPrettierIgnore, - isGlimmerComponent, isNextNodeOfSomeType, + isNodeOfSomeType, isParentOfSomeType, isPreviousNodeOfSomeType, + isVoid, isWhitespaceNode, } = require("./utils"); -// http://w3c.github.io/html/single-page.html#void-elements -const voidTags = [ - "area", - "base", - "br", - "col", - "embed", - "hr", - "img", - "input", - "link", - "meta", - "param", - "source", - "track", - "wbr", -]; - // Formatter based on @glimmerjs/syntax's built-in test formatter: // https://github.com/glimmerjs/glimmer-vm/blob/master/packages/%40glimmer/syntax/lib/generation/print.ts @@ -76,155 +59,87 @@ function print(path, options, print) { return group(concat(path.map(print, "body"))); } case "ElementNode": { - const hasChildren = n.children.length > 0; - - const hasNonWhitespaceChildren = n.children.some( - (n) => !isWhitespaceNode(n) - ); + // TODO: make it whitespace sensitive + const bim = isNextNodeOfSomeType(path, ["ElementNode"]) ? hardline : ""; - const isVoid = - (isGlimmerComponent(n) && - (!hasChildren || !hasNonWhitespaceChildren)) || - voidTags.includes(n.tag); - const closeTagForNoBreak = isVoid ? concat([" />", softline]) : ">"; - const closeTagForBreak = isVoid ? "/>" : ">"; - const printParams = (path, print) => - indent( - concat([ - n.attributes.length ? line : "", - join(line, path.map(print, "attributes")), - - n.modifiers.length ? line : "", - join(line, path.map(print, "modifiers")), - - n.comments.length ? line : "", - join(line, path.map(print, "comments")), - ]) - ); + if (isVoid(n)) { + return concat([group(printStartingTag(path, print)), bim]); + } - const nextNode = getNextNode(path); + const isWhitespaceOnly = n.children.every((n) => isWhitespaceNode(n)); return concat([ + group(printStartingTag(path, print)), group( concat([ - "<", - n.tag, - printParams(path, print), - n.blockParams.length ? ` as |${n.blockParams.join(" ")}|` : "", - ifBreak(softline, ""), - ifBreak(closeTagForBreak, closeTagForNoBreak), + isWhitespaceOnly ? "" : indent(printChildren(path, options, print)), + n.children.length ? hardline : "", + concat([""]), ]) ), - !isVoid - ? group( - concat([ - hasNonWhitespaceChildren - ? indent(printChildren(path, options, print)) - : "", - ifBreak(hasChildren ? hardline : "", ""), - concat([""]), - ]) - ) - : "", - nextNode && nextNode.type === "ElementNode" ? hardline : "", + bim, ]); } case "BlockStatement": { const pp = path.getParentNode(1); + const isElseIf = pp && pp.inverse && pp.inverse.body.length === 1 && pp.inverse.body[0] === n && pp.inverse.body[0].path.parts[0] === "if"; - const hasElseIf = - n.inverse && - n.inverse.body.length === 1 && - n.inverse.body[0].type === "BlockStatement" && - n.inverse.body[0].path.parts[0] === "if"; - const indentElse = hasElseIf ? (a) => a : indent; - const inverseElseStatement = - (n.inverseStrip.open ? "{{~" : "{{") + - "else" + - (n.inverseStrip.close ? "~}}" : "}}"); - if (n.inverse) { - return concat([ - isElseIf - ? concat([ - n.openStrip.open ? "{{~else " : "{{else ", - printPathParams(path, print), - n.openStrip.close ? "~}}" : "}}", - ]) - : printOpenBlock(path, print, n.openStrip), - indent(concat([hardline, path.call(print, "program")])), - n.inverse && !hasElseIf - ? concat([hardline, inverseElseStatement]) - : "", - n.inverse - ? indentElse(concat([hardline, path.call(print, "inverse")])) - : "", - isElseIf - ? "" - : concat([hardline, printCloseBlock(path, print, n.closeStrip)]), - ]); - } else if (isElseIf) { + + if (isElseIf) { return concat([ - concat([ - n.openStrip.open ? "{{~else" : "{{else ", - printPathParams(path, print), - n.openStrip.close ? "~}}" : "}}", - ]), - indent(concat([hardline, path.call(print, "program")])), + printElseIfBlock(path, print), + printProgram(path, print), + printInverse(path, print), ]); } - const hasNonWhitespaceChildren = n.program.body.some( - (n) => !isWhitespaceNode(n) - ); - return concat([ - printOpenBlock(path, print, n.openStrip), + printOpenBlock(path, print), group( concat([ - indent(concat([softline, path.call(print, "program")])), - hasNonWhitespaceChildren ? hardline : softline, - printCloseBlock(path, print, n.closeStrip), + printProgram(path, print), + printInverse(path, print), + printCloseBlock(path, print), ]) ), ]); } case "ElementModifierStatement": { return group( - concat(["{{", printPathParams(path, print), softline, "}}"]) + concat(["{{", printPathAndParams(path, print), softline, "}}"]) ); } case "MustacheStatement": { - const isEscaped = n.escaped === false; - const { open: openStrip, close: closeStrip } = n.strip; - const opening = (isEscaped ? "{{{" : "{{") + (openStrip ? "~" : ""); - const closing = (closeStrip ? "~" : "") + (isEscaped ? "}}}" : "}}"); - - const leading = isParentOfSomeType(path, [ + const shouldBreakOpeningMustache = isParentOfSomeType(path, [ "AttrNode", "ConcatStatement", "ElementNode", - ]) - ? [opening, indent(softline)] - : [opening]; + ]); return group( - concat([...leading, printPathParams(path, print), softline, closing]) + concat([ + printOpeningMustache(n), + shouldBreakOpeningMustache ? indent(softline) : "", + printPathAndParams(path, print), + softline, + printClosingMustache(n), + ]) ); } case "SubExpression": { - const params = printParams(path, print); - const printedParams = - params.length > 0 - ? indent(concat([line, group(join(line, params))])) - : ""; return group( - concat(["(", printPath(path, print), printedParams, softline, ")"]) + concat([ + "(", + printSubExpressionPathAndParams(path, print), + softline, + ")", + ]) ); } case "AttrNode": { @@ -248,11 +163,7 @@ function print(path, options, print) { case "ConcatStatement": { return concat([ '"', - concat( - path - .map((partPath) => print(partPath), "parts") - .filter((a) => a !== "") - ), + concat(path.map((partPath) => print(partPath), "parts")), '"', ]); } @@ -268,9 +179,6 @@ function print(path, options, print) { const isLastElement = !getNextNode(path); const isWhitespaceOnly = !/\S/.test(n.chars); const lineBreaksCount = countNewLines(n.chars); - const hasBlockParent = path.getParentNode(0).type === "Block"; - const hasElementParent = path.getParentNode(0).type === "ElementNode"; - const hasTemplateParent = path.getParentNode(0).type === "Template"; let leadingLineBreaksCount = countLeadingNewLines(n.chars); let trailingLineBreaksCount = countTrailingNewLines(n.chars); @@ -278,7 +186,7 @@ function print(path, options, print) { if ( (isFirstElement || isLastElement) && isWhitespaceOnly && - (hasBlockParent || hasElementParent || hasTemplateParent) + isParentOfSomeType(path, ["Block", "ElementNode", "Template"]) ) { return ""; } @@ -294,10 +202,7 @@ function print(path, options, print) { trailingLineBreaksCount = Math.max(trailingLineBreaksCount, 1); } - if ( - isPreviousNodeOfSomeType(path, ["ElementNode"]) || - isPreviousNodeOfSomeType(path, ["BlockStatement"]) - ) { + if (isPreviousNodeOfSomeType(path, ["BlockStatement", "ElementNode"])) { leadingLineBreaksCount = Math.max(leadingLineBreaksCount, 1); } } @@ -309,24 +214,12 @@ function print(path, options, print) { // when next to mustache statement. const inAttrNode = path.stack.includes("attributes"); if (inAttrNode) { - const parentNode = path.getParentNode(0); - const isConcat = parentNode.type === "ConcatStatement"; - if (isConcat) { - const { parts } = parentNode; - const partIndex = parts.indexOf(n); - if (partIndex > 0) { - const partType = parts[partIndex - 1].type; - const isMustache = partType === "MustacheStatement"; - if (isMustache) { - leadingSpace = " "; - } + if (isParentOfSomeType(path, ["ConcatStatement"])) { + if (isPreviousNodeOfSomeType(path, ["MustacheStatement"])) { + leadingSpace = " "; } - if (partIndex < parts.length - 1) { - const partType = parts[partIndex + 1].type; - const isMustache = partType === "MustacheStatement"; - if (isMustache) { - trailingSpace = " "; - } + if (isNextNodeOfSomeType(path, ["MustacheStatement"])) { + trailingSpace = " "; } } } else { @@ -355,18 +248,11 @@ function print(path, options, print) { } } - return concat( - [ - ...generateHardlines(leadingLineBreaksCount, maxLineBreaksToPreserve), - n.chars - .replace(/^[\s ]+/g, leadingSpace) - .replace(/[\s ]+$/, trailingSpace), - ...generateHardlines( - trailingLineBreaksCount, - maxLineBreaksToPreserve - ), - ].filter(Boolean) - ); + return concat([ + ...generateHardlines(leadingLineBreaksCount, maxLineBreaksToPreserve), + n.chars.replace(/^\s+/g, leadingSpace).replace(/\s+$/, trailingSpace), + ...generateHardlines(trailingLineBreaksCount, maxLineBreaksToPreserve), + ]); } case "MustacheCommentStatement": { const dashes = n.value.includes("}}") ? "--" : ""; @@ -400,26 +286,230 @@ function print(path, options, print) { } } +/* ElementNode print helpers */ + +function printStartingTag(path, print) { + const node = path.getValue(); + + return concat([ + "<", + node.tag, + printAttributesLike(path, print), + printBlockParams(node), + printStartingTagEndMarker(node), + ]); +} + +function printAttributesLike(path, print) { + const node = path.getValue(); + + return indent( + concat([ + node.attributes.length ? line : "", + join(line, path.map(print, "attributes")), + + node.modifiers.length ? line : "", + join(line, path.map(print, "modifiers")), + + node.comments.length ? line : "", + join(line, path.map(print, "comments")), + ]) + ); +} + function printChildren(path, options, print) { return concat( path.map((childPath, childIndex) => { - const childNode = path.getValue(); - const isFirstNode = childIndex === 0; - const isLastNode = - childIndex === path.getParentNode(0).children.length - 1; - const isLastNodeInMultiNodeList = isLastNode && !isFirstNode; - const isWhitespace = isWhitespaceNode(childNode); - - if (isWhitespace && isLastNodeInMultiNodeList) { - return print(childPath, options, print); - } else if (isFirstNode) { + if (childIndex === 0) { return concat([softline, print(childPath, options, print)]); } + return print(childPath, options, print); }, "children") ); } +function printStartingTagEndMarker(node) { + if (isVoid(node)) { + return ifBreak(concat([softline, "/>"]), concat([" />", softline])); + } + + return ifBreak(concat([softline, ">"]), ">"); +} + +/* MustacheStatement print helpers */ + +function printOpeningMustache(node) { + const mustache = node.escaped === false ? "{{{" : "{{"; + const strip = node.strip && node.strip.open ? "~" : ""; + return concat([mustache, strip]); +} + +function printClosingMustache(node) { + const mustache = node.escaped === false ? "}}}" : "}}"; + const strip = node.strip && node.strip.close ? "~" : ""; + return concat([strip, mustache]); +} + +/* BlockStatement print helpers */ + +function printOpeningBlockOpeningMustache(node) { + const opening = printOpeningMustache(node); + const strip = node.openStrip.open ? "~" : ""; + return concat([opening, strip, "#"]); +} + +function printOpeningBlockClosingMustache(node) { + const closing = printClosingMustache(node); + const strip = node.openStrip.close ? "~" : ""; + return concat([strip, closing]); +} + +function printClosingBlockOpeningMustache(node) { + const opening = printOpeningMustache(node); + const strip = node.closeStrip.open ? "~" : ""; + return concat([opening, strip, "/"]); +} + +function printClosingBlockClosingMustache(node) { + const closing = printClosingMustache(node); + const strip = node.closeStrip.close ? "~" : ""; + return concat([strip, closing]); +} + +function printInverseBlockOpeningMustache(node) { + const opening = printOpeningMustache(node); + const strip = node.inverseStrip.open ? "~" : ""; + return concat([opening, strip]); +} + +function printInverseBlockClosingMustache(node) { + const closing = printClosingMustache(node); + const strip = node.inverseStrip.close ? "~" : ""; + return concat([strip, closing]); +} + +function printOpenBlock(path, print) { + const node = path.getValue(); + + return group( + concat([ + printOpeningBlockOpeningMustache(node), + printPathAndParams(path, print), + printBlockParams(node.program), + softline, + printOpeningBlockClosingMustache(node), + ]) + ); +} + +function printElseBlock(node) { + return concat([ + hardline, + printInverseBlockOpeningMustache(node), + "else", + printInverseBlockClosingMustache(node), + ]); +} + +function printElseIfBlock(path, print) { + const parentNode = path.getParentNode(1); + + return concat([ + printInverseBlockOpeningMustache(parentNode), + "else ", + printPathAndParams(path, print), + printInverseBlockClosingMustache(parentNode), + ]); +} + +function printCloseBlock(path, print) { + const node = path.getValue(); + + return concat([ + blockStatementHasOnlyWhitespaceInProgram(node) ? softline : hardline, + printClosingBlockOpeningMustache(node), + path.call(print, "path"), + printClosingBlockClosingMustache(node), + ]); +} + +function blockStatementHasOnlyWhitespaceInProgram(node) { + return ( + isNodeOfSomeType(node, ["BlockStatement"]) && + node.program.body.every((n) => isWhitespaceNode(n)) + ); +} + +function blockStatementHasElseIf(node) { + return ( + blockStatementHasElse(node) && + node.inverse.body.length === 1 && + isNodeOfSomeType(node.inverse.body[0], ["BlockStatement"]) && + node.inverse.body[0].path.parts[0] === "if" + ); +} + +function blockStatementHasElse(node) { + return isNodeOfSomeType(node, ["BlockStatement"]) && node.inverse; +} + +function printProgram(path, print) { + const node = path.getValue(); + + if (blockStatementHasOnlyWhitespaceInProgram(node)) { + return ""; + } + + const program = path.call(print, "program"); + return indent(concat([hardline, program])); +} + +function printInverse(path, print) { + const node = path.getValue(); + + const inverse = path.call(print, "inverse"); + const parts = concat([hardline, inverse]); + + if (blockStatementHasElseIf(node)) { + return parts; + } + + if (blockStatementHasElse(node)) { + return concat([printElseBlock(node), indent(parts)]); + } + + return ""; +} + +/* TextNode print helpers */ + +function countNewLines(string) { + /* istanbul ignore next */ + string = typeof string === "string" ? string : ""; + return string.split("\n").length - 1; +} + +function countLeadingNewLines(string) { + /* istanbul ignore next */ + string = typeof string === "string" ? string : ""; + const newLines = (string.match(/^([^\S\r\n]*[\r\n])+/g) || [])[0] || ""; + return countNewLines(newLines); +} + +function countTrailingNewLines(string) { + /* istanbul ignore next */ + string = typeof string === "string" ? string : ""; + const newLines = (string.match(/([\r\n][^\S\r\n]*)+$/g) || [])[0] || ""; + return countNewLines(newLines); +} + +function generateHardlines(number = 0, max = 0) { + return new Array(Math.min(number, max)).fill(hardline); +} + +/* StringLiteral print helpers */ + /** * Prints a string literal with the correct surrounding quotes based on * `options.singleQuote` and the number of escaped quotes contained in @@ -466,91 +556,63 @@ function printStringLiteral(stringLiteral, options) { ]); } -function printPath(path, print) { - return path.call(print, "path"); -} +/* SubExpression print helpers */ -function printParams(path, print) { - const node = path.getValue(); - let parts = []; +function printSubExpressionPathAndParams(path, print) { + const p = printPath(path, print); + const params = printParams(path, print); - if (node.params.length > 0) { - parts = parts.concat(path.map(print, "params")); + if (!params) { + return p; } - if (node.hash && node.hash.pairs.length > 0) { - parts.push(path.call(print, "hash")); - } - return parts; + return indent(concat([p, line, group(params)])); } -function printPathParams(path, print) { - const printedPath = printPath(path, print); - const printedParams = printParams(path, print); +/* misc. print helpers */ - const parts = [printedPath, ...printedParams]; +function printPathAndParams(path, print) { + const p = printPath(path, print); + const params = printParams(path, print); - return indent(group(join(line, parts))); -} - -function printBlockParams(path) { - const block = path.getValue(); - if (!block.program || !block.program.blockParams.length) { - return ""; + if (!params) { + return p; } - return concat([" as |", block.program.blockParams.join(" "), "|"]); -} -function printOpenBlock( - path, - print, - { open: isOpenStrip = false, close: isCloseStrip = false } = {} -) { - return group( - concat([ - isOpenStrip ? "{{~#" : "{{#", - printPathParams(path, print), - printBlockParams(path), - softline, - isCloseStrip ? "~}}" : "}}", - ]) - ); + return indent(group(concat([p, line, params]))); } -function printCloseBlock( - path, - print, - { open: isOpenStrip = false, close: isCloseStrip = false } = {} -) { - return concat([ - isOpenStrip ? "{{~/" : "{{/", - path.call(print, "path"), - isCloseStrip ? "~}}" : "}}", - ]); +function printPath(path, print) { + return path.call(print, "path"); } -function countNewLines(string) { - /* istanbul ignore next */ - string = typeof string === "string" ? string : ""; - return string.split("\n").length - 1; -} +function printParams(path, print) { + const node = path.getValue(); + const parts = []; -function countLeadingNewLines(string) { - /* istanbul ignore next */ - string = typeof string === "string" ? string : ""; - const newLines = (string.match(/^([^\S\r\n]*[\r\n])+/g) || [])[0] || ""; - return countNewLines(newLines); -} + if (node.params.length) { + const params = path.map(print, "params"); + parts.push(...params); + } -function countTrailingNewLines(string) { - /* istanbul ignore next */ - string = typeof string === "string" ? string : ""; - const newLines = (string.match(/([\r\n][^\S\r\n]*)+$/g) || [])[0] || ""; - return countNewLines(newLines); + if (node.hash && node.hash.pairs.length > 0) { + const hash = path.call(print, "hash"); + parts.push(hash); + } + + if (!parts.length) { + return ""; + } + + return join(line, parts); } -function generateHardlines(number = 0, max = 0) { - return new Array(Math.min(number, max)).fill(hardline); +function printBlockParams(node) { + if (!node || !node.blockParams.length) { + return ""; + } + + return concat([" as |", node.blockParams.join(" "), "|"]); } /* istanbul ignore next diff --git a/src/language-handlebars/utils.js b/src/language-handlebars/utils.js index 9cd6dfd084..eaba917e78 100644 --- a/src/language-handlebars/utils.js +++ b/src/language-handlebars/utils.js @@ -1,5 +1,23 @@ "use strict"; +// http://w3c.github.io/html/single-page.html#void-elements +const voidTags = [ + "area", + "base", + "br", + "col", + "embed", + "hr", + "img", + "input", + "link", + "meta", + "param", + "source", + "track", + "wbr", +]; + function isUppercase(string) { return string.toUpperCase() === string; } @@ -12,6 +30,15 @@ function isGlimmerComponent(node) { ); } +function isVoid(node) { + return ( + (isGlimmerComponent(node) && + (node.children === 0 || + node.children.every((n) => isWhitespaceNode(n)))) || + voidTags.includes(node.tag) + ); +} + function isWhitespaceNode(node) { return isNodeOfSomeType(node, ["TextNode"]) && !/\S/.test(node.chars); } @@ -38,7 +65,8 @@ function isNextNodeOfSomeType(path, types) { function getSiblingNode(path, offset) { const node = path.getValue(); const parentNode = path.getParentNode(0) || {}; - const children = parentNode.children || parentNode.body || []; + const children = + parentNode.children || parentNode.body || parentNode.parts || []; const index = children.indexOf(node); return index !== -1 && children[index + offset]; } @@ -71,10 +99,10 @@ module.exports = { getNextNode, getPreviousNode, hasPrettierIgnore, - isGlimmerComponent, isNextNodeOfSomeType, isNodeOfSomeType, isParentOfSomeType, isPreviousNodeOfSomeType, + isVoid, isWhitespaceNode, }; From a9c5e74907dd6ca935c507caff1f306d7d901562 Mon Sep 17 00:00:00 2001 From: Rafael Staib Date: Wed, 8 Apr 2020 02:56:28 +0200 Subject: [PATCH 0011/2034] Add ChilliCream to users.yml (#7098) * Add ChilliCream to users.yml * fix css: limit logo height Co-authored-by: fisker Cheung Co-authored-by: Georgii Dolzhykov --- website/data/users.yml | 3 +++ website/static/images/users/chillicream.svg | 1 + website/static/overrides.css | 4 ++++ 3 files changed, 8 insertions(+) create mode 100644 website/static/images/users/chillicream.svg diff --git a/website/data/users.yml b/website/data/users.yml index bb7e5d0deb..314cf10e03 100644 --- a/website/data/users.yml +++ b/website/data/users.yml @@ -242,3 +242,6 @@ - caption: Tradie Training image: /images/users/tradie-training.png infoLink: https://tt.edu.au +- caption: ChilliCream + image: /images/users/chillicream.svg + infoLink: https://chillicream.com/ diff --git a/website/static/images/users/chillicream.svg b/website/static/images/users/chillicream.svg new file mode 100644 index 0000000000..0c50aef091 --- /dev/null +++ b/website/static/images/users/chillicream.svg @@ -0,0 +1 @@ +chillicream_logo \ No newline at end of file diff --git a/website/static/overrides.css b/website/static/overrides.css index 12f1d7b73b..9b13016e4c 100644 --- a/website/static/overrides.css +++ b/website/static/overrides.css @@ -573,3 +573,7 @@ a { .hljs-comment { color: #cda144; } + +.showcaseSection .logos img { + max-height: 64px; +} From f675922a87475666db8aaf0a295e402ef3435fdb Mon Sep 17 00:00:00 2001 From: "imgbot[bot]" <31301654+imgbot[bot]@users.noreply.github.com> Date: Wed, 8 Apr 2020 04:10:20 +0300 Subject: [PATCH 0012/2034] [ImgBot] Optimize images (#7981) /website/static/images/users/chillicream.svg -- 29.19kb -> 29.18kb (0.03%) Signed-off-by: ImgBotApp Co-authored-by: ImgBotApp --- website/static/images/users/chillicream.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/static/images/users/chillicream.svg b/website/static/images/users/chillicream.svg index 0c50aef091..915c2e21a6 100644 --- a/website/static/images/users/chillicream.svg +++ b/website/static/images/users/chillicream.svg @@ -1 +1 @@ -chillicream_logo \ No newline at end of file +chillicream_logo \ No newline at end of file From 17d6e38d3409db5e0ff87a2a2c09329b7a0d1d9e Mon Sep 17 00:00:00 2001 From: Sosuke Suzuki Date: Wed, 8 Apr 2020 23:49:46 +0900 Subject: [PATCH 0013/2034] JavaScript: Fix pipeline bugs (#7979) * Fix arrow regression * Fix resolvePluginConflict * Update changelog * Fix condition * Edit changelog: add link to Babel blog, change order (to be as in the blog) Co-authored-by: Georgii Dolzhykov --- changelog_unreleased/javascript/pr-6319.md | 35 ++++++++++--------- src/language-js/needs-parens.js | 13 ++----- src/language-js/parser-babel.js | 13 +++---- .../__snapshots__/jsfmt.spec.js.snap | 6 ++++ tests/binary-expressions/arrow.js | 3 ++ 5 files changed, 37 insertions(+), 33 deletions(-) diff --git a/changelog_unreleased/javascript/pr-6319.md b/changelog_unreleased/javascript/pr-6319.md index e2c6fc61a5..ad225e38da 100644 --- a/changelog_unreleased/javascript/pr-6319.md +++ b/changelog_unreleased/javascript/pr-6319.md @@ -1,36 +1,37 @@ -#### Support the 'smart' and 'fsharp-style' pipeline operator proposal ([#6319](https://github.com/prettier/prettier/pull/6319) by [@sosukesuzuki](https://github.com/sosukesuzuki), [@thorn0](https://github.com/thorn0)) +#### Support the F# and Smart pipeline operator proposals ([#6319](https://github.com/prettier/prettier/pull/6319) by [@sosukesuzuki](https://github.com/sosukesuzuki), [@thorn0](https://github.com/thorn0), [#7979](https://github.com/prettier/prettier/pull/7979) by [@sosukesuzuki](https://github.com/sosukesuzuki)) -- [Link to the 'smart' pipeline proposal](https://github.com/js-choi/proposal-smart-pipelines) -- [Link to the 'fsharp-style' pipeline proposal](https://github.com/valtech-nyc/proposal-fsharp-pipelines) +- [F# Pipeline Operator proposal](https://github.com/valtech-nyc/proposal-fsharp-pipelines) +- [Smart Pipelines proposal](https://github.com/js-choi/proposal-smart-pipelines) +- [Babel Blog: What's Happening With the Pipeline (`|>`) Proposal?](https://babeljs.io/blog/2018/07/19/whats-happening-with-the-pipeline-proposal) -**Smart Pipeline:** +**F#-style Pipeline:** ```js // Input -5 |> # * 2 +promises |> await; -// Output (Prettier Stable) -SyntaxError: Unexpected character '#' (1:6) -> 1 | 5 |> # * 2 - | ^ +// Output (Prettier stable) +SyntaxError: Unexpected token (1:18) +> 1 | promises |> await; + | ^ // Output (Prettier master) -5 |> # * 2 +promises |> await; ``` -**F#-style Pipeline:** +**Smart Pipeline:** ```js // Input -promises |> await; +5 |> # * 2 -// Output (Prettier stable) -SyntaxError: Unexpected token (1:18) -> 1 | promises |> await; - | ^ +// Output (Prettier Stable) +SyntaxError: Unexpected character '#' (1:6) +> 1 | 5 |> # * 2 + | ^ // Output (Prettier master) -promises |> await; +5 |> # * 2 ``` diff --git a/src/language-js/needs-parens.js b/src/language-js/needs-parens.js index e73659c409..dbeeeed232 100644 --- a/src/language-js/needs-parens.js +++ b/src/language-js/needs-parens.js @@ -583,16 +583,9 @@ function needsParens(path, options) { return !!(node.extra && node.extra.parenthesized); case "BinaryExpression": - if (node.extra && node.extra.parenthesized) { - return ( - parent.operator === "|>" || - (parent.operator !== "|>" && - node.body.type === "BinaryExpression" && - node.body.operator === "|>") - ); - } - return false; - + return ( + parent.operator !== "|>" || (node.extra && node.extra.parenthesized) + ); case "NewExpression": case "CallExpression": case "OptionalCallExpression": diff --git a/src/language-js/parser-babel.js b/src/language-js/parser-babel.js index fbbadce563..9121ef6f4e 100644 --- a/src/language-js/parser-babel.js +++ b/src/language-js/parser-babel.js @@ -48,12 +48,13 @@ function resolvePluginsConflict( pluginCombinations, conflictPlugins ) { - const combinations = [...pluginCombinations]; - if (condition) { - for (const combination of pluginCombinations) { - for (const plugin of conflictPlugins) { - combinations.push([...combination, plugin]); - } + if (!condition) { + return pluginCombinations; + } + const combinations = []; + for (const combination of pluginCombinations) { + for (const plugin of conflictPlugins) { + combinations.push([...combination, plugin]); } } return combinations; diff --git a/tests/binary-expressions/__snapshots__/jsfmt.spec.js.snap b/tests/binary-expressions/__snapshots__/jsfmt.spec.js.snap index 1bf874e44e..f4d28e9200 100644 --- a/tests/binary-expressions/__snapshots__/jsfmt.spec.js.snap +++ b/tests/binary-expressions/__snapshots__/jsfmt.spec.js.snap @@ -20,6 +20,9 @@ function f() { ) } +((x) => x) + ''; +'' + ((x) => x); + =====================================output===================================== function f() { const appEntities = getAppEntities(loadObject).filter( @@ -43,6 +46,9 @@ function f() { ); } +((x) => x) + ""; +"" + ((x) => x); + ================================================================================ `; diff --git a/tests/binary-expressions/arrow.js b/tests/binary-expressions/arrow.js index 754368f6f8..a4d82f3552 100644 --- a/tests/binary-expressions/arrow.js +++ b/tests/binary-expressions/arrow.js @@ -11,3 +11,6 @@ function f() { } ) } + +((x) => x) + ''; +'' + ((x) => x); From 76cb1efcb624fa1c9812e7a993d21b010327627e Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Wed, 8 Apr 2020 23:02:13 +0800 Subject: [PATCH 0014/2034] Fix less `:extend` format (#7984) * Fix less `:extend` format * Add changelog * Add longer test * Add issue link * Style * Fix changelog --- changelog_unreleased/less/pr-7984.md | 30 ++++++++++++++++++ src/language-css/parser-postcss.js | 10 ++++++ .../css_less/__snapshots__/jsfmt.spec.js.snap | 31 +++++++++++++++++++ tests/css_less/less.less | 13 ++++++++ 4 files changed, 84 insertions(+) create mode 100644 changelog_unreleased/less/pr-7984.md diff --git a/changelog_unreleased/less/pr-7984.md b/changelog_unreleased/less/pr-7984.md new file mode 100644 index 0000000000..5e3a864bca --- /dev/null +++ b/changelog_unreleased/less/pr-7984.md @@ -0,0 +1,30 @@ +#### Fix `:extend` format ([#7984](https://github.com/prettier/prettier/pull/7984) by [@fisker](https://github.com/fisker)) + + +```less +// Input +.class { + &:extend(.some-class .some-other-class .some-very-loooooooooooooong-class all); +} + +// Prettier stable +.class { + &:extend( + .some-class .some-other-class .some-very-loooooooooooooong-class all + ); +} + +// Prettier stable (Second format) +.class { + &: extend( + .some-class .some-other-class .some-very-loooooooooooooong-class all + ); +} + +// Prettier master +.class { + &:extend( + .some-class .some-other-class .some-very-loooooooooooooong-class all + ); +} +``` diff --git a/src/language-css/parser-postcss.js b/src/language-css/parser-postcss.js index 186de99592..cd3fb3c65b 100644 --- a/src/language-css/parser-postcss.js +++ b/src/language-css/parser-postcss.js @@ -375,6 +375,16 @@ function parseNestedCSS(node, options) { node.value = parseValue(value); } + // extend is missing + if ( + isLessParser(options) && + node.type === "css-decl" && + !node.extend && + value.startsWith("extend(") + ) { + node.extend = node.raws.between === ":"; + } + if (node.type === "css-atrule") { if (isLessParser(options)) { // mixin diff --git a/tests/css_less/__snapshots__/jsfmt.spec.js.snap b/tests/css_less/__snapshots__/jsfmt.spec.js.snap index 2ad7642168..2bd5cff0b6 100644 --- a/tests/css_less/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_less/__snapshots__/jsfmt.spec.js.snap @@ -1766,6 +1766,19 @@ label { // should not parse as custom-selector @custom-selector :--icon #id; +// extend #7977 +.class { + &:extend(.some-class .some-other-class .some-very-loooooooooooooong-class all); +} +.class { + &:extend( + .some-class .some-other-class .some-very-loooooooooooooong-class all + ); +} +.class { + &:extend(.some-class .some-other-class .some-very-loooooooooooooong-class .some-very-loooooooooooooong-class all); +} + =====================================output===================================== @nice-blue: #5b83ad; @light-blue: @nice-blue + #111; @@ -3378,6 +3391,24 @@ label { // should not parse as custom-selector @custom-selector: --icon #id; +// extend #7977 +.class { + &:extend( + .some-class .some-other-class .some-very-loooooooooooooong-class all + ); +} +.class { + &:extend( + .some-class .some-other-class .some-very-loooooooooooooong-class all + ); +} +.class { + &:extend( + .some-class .some-other-class .some-very-loooooooooooooong-class + .some-very-loooooooooooooong-class all + ); +} + ================================================================================ `; diff --git a/tests/css_less/less.less b/tests/css_less/less.less index 56250af0f8..0ff89a8d8f 100644 --- a/tests/css_less/less.less +++ b/tests/css_less/less.less @@ -1674,3 +1674,16 @@ label { // should not parse as custom-selector @custom-selector :--icon #id; + +// extend #7977 +.class { + &:extend(.some-class .some-other-class .some-very-loooooooooooooong-class all); +} +.class { + &:extend( + .some-class .some-other-class .some-very-loooooooooooooong-class all + ); +} +.class { + &:extend(.some-class .some-other-class .some-very-loooooooooooooong-class .some-very-loooooooooooooong-class all); +} From 69d121b19e313914722c5914a9c43ae13e622a32 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Thu, 9 Apr 2020 13:22:28 +0800 Subject: [PATCH 0015/2034] Enable `unicorn/prefer-set-has` (#7990) --- .eslintrc.yml | 1 + src/language-css/utils.js | 6 +- src/language-handlebars/utils.js | 6 +- src/language-js/utils.js | 29 +++-- src/language-markdown/printer-markdown.js | 17 +-- src/main/range-util.js | 123 +++++++++++----------- 6 files changed, 92 insertions(+), 90 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index 7fb4a0000f..28d4f88f0a 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -58,6 +58,7 @@ rules: - exceptRange: true unicorn/new-for-builtins: error unicorn/prefer-includes: error + unicorn/prefer-set-has: error unicorn/prefer-string-slice: error overrides: - files: diff --git a/src/language-css/utils.js b/src/language-css/utils.js index 10f9bd275f..1328dd2563 100644 --- a/src/language-css/utils.js +++ b/src/language-css/utils.js @@ -1,6 +1,6 @@ "use strict"; -const colorAdjusterFunctions = [ +const colorAdjusterFunctions = new Set([ "red", "green", "blue", @@ -26,7 +26,7 @@ const colorAdjusterFunctions = [ "hsla", "hwb", "hwba", -]; +]); function getAncestorCounter(path, typeOrTypes) { const types = [].concat(typeOrTypes); @@ -376,7 +376,7 @@ function isColorAdjusterFuncNode(node) { return false; } - return colorAdjusterFunctions.includes(node.value.toLowerCase()); + return colorAdjusterFunctions.has(node.value.toLowerCase()); } // TODO: only check `less` when we don't use `less` to parse `css` diff --git a/src/language-handlebars/utils.js b/src/language-handlebars/utils.js index eaba917e78..eaf1d9cf6c 100644 --- a/src/language-handlebars/utils.js +++ b/src/language-handlebars/utils.js @@ -1,7 +1,7 @@ "use strict"; // http://w3c.github.io/html/single-page.html#void-elements -const voidTags = [ +const voidTags = new Set([ "area", "base", "br", @@ -16,7 +16,7 @@ const voidTags = [ "source", "track", "wbr", -]; +]); function isUppercase(string) { return string.toUpperCase() === string; @@ -35,7 +35,7 @@ function isVoid(node) { (isGlimmerComponent(node) && (node.children === 0 || node.children.every((n) => isWhitespaceNode(n)))) || - voidTags.includes(node.tag) + voidTags.has(node.tag) ); } diff --git a/src/language-js/utils.js b/src/language-js/utils.js index 8c485a3660..78cd6277df 100644 --- a/src/language-js/utils.js +++ b/src/language-js/utils.js @@ -302,24 +302,23 @@ function isMemberish(node) { ); } +const flowTypeAnnotations = new Set([ + "AnyTypeAnnotation", + "NullLiteralTypeAnnotation", + "GenericTypeAnnotation", + "ThisTypeAnnotation", + "NumberTypeAnnotation", + "VoidTypeAnnotation", + "EmptyTypeAnnotation", + "MixedTypeAnnotation", + "BooleanTypeAnnotation", + "BooleanLiteralTypeAnnotation", + "StringTypeAnnotation", +]); function isSimpleFlowType(node) { - const flowTypeAnnotations = [ - "AnyTypeAnnotation", - "NullLiteralTypeAnnotation", - "GenericTypeAnnotation", - "ThisTypeAnnotation", - "NumberTypeAnnotation", - "VoidTypeAnnotation", - "EmptyTypeAnnotation", - "MixedTypeAnnotation", - "BooleanTypeAnnotation", - "BooleanLiteralTypeAnnotation", - "StringTypeAnnotation", - ]; - return ( node && - flowTypeAnnotations.includes(node.type) && + flowTypeAnnotations.has(node.type) && !(node.type === "GenericTypeAnnotation" && node.typeParameters) ); } diff --git a/src/language-markdown/printer-markdown.js b/src/language-markdown/printer-markdown.js index f917c4dab1..c2cd2f40c9 100644 --- a/src/language-markdown/printer-markdown.js +++ b/src/language-markdown/printer-markdown.js @@ -33,9 +33,13 @@ const { } = require("./utils"); const { replaceEndOfLineWith } = require("../common/util"); -const TRAILING_HARDLINE_NODES = ["importExport"]; +const TRAILING_HARDLINE_NODES = new Set(["importExport"]); const SINGLE_LINE_NODE_TYPES = ["heading", "tableCell", "link"]; -const SIBLING_NODE_TYPES = ["listItem", "definition", "footnoteDefinition"]; +const SIBLING_NODE_TYPES = new Set([ + "listItem", + "definition", + "footnoteDefinition", +]); function genericPrint(path, options, print) { const node = path.getValue(); @@ -65,7 +69,7 @@ function genericPrint(path, options, print) { } return concat([ normalizeDoc(printRoot(path, options, print)), - !TRAILING_HARDLINE_NODES.includes(getLastDescendantNode(node).type) + !TRAILING_HARDLINE_NODES.has(getLastDescendantNode(node).type) ? hardline : "", ]); @@ -728,10 +732,7 @@ function printChildren(path, options, print, events) { if (!shouldNotPrePrintHardline(childNode, data)) { parts.push(hardline); - if ( - lastChildNode && - TRAILING_HARDLINE_NODES.includes(lastChildNode.type) - ) { + if (lastChildNode && TRAILING_HARDLINE_NODES.has(lastChildNode.type)) { if (shouldPrePrintTripleHardline(childNode, data)) { parts.push(hardline); } @@ -790,7 +791,7 @@ function shouldNotPrePrintHardline(node, data) { function shouldPrePrintDoubleHardline(node, data) { const isSequence = (data.prevNode && data.prevNode.type) === node.type; - const isSiblingNode = isSequence && SIBLING_NODE_TYPES.includes(node.type); + const isSiblingNode = isSequence && SIBLING_NODE_TYPES.has(node.type); const isInTightListItem = data.parentNode.type === "listItem" && !data.parentNode.loose; diff --git a/src/main/range-util.js b/src/main/range-util.js index b66b829577..5a818029e3 100644 --- a/src/main/range-util.js +++ b/src/main/range-util.js @@ -72,79 +72,80 @@ function findNodeAtOffset(node, offset, options, predicate, parentNodes) { } // See https://www.ecma-international.org/ecma-262/5.1/#sec-A.5 + +// JS and JS like to avoid repetitions +const jsSourceElements = new Set([ + "FunctionDeclaration", + "BlockStatement", + "BreakStatement", + "ContinueStatement", + "DebuggerStatement", + "DoWhileStatement", + "EmptyStatement", + "ExpressionStatement", + "ForInStatement", + "ForStatement", + "IfStatement", + "LabeledStatement", + "ReturnStatement", + "SwitchStatement", + "ThrowStatement", + "TryStatement", + "VariableDeclaration", + "WhileStatement", + "WithStatement", + "ClassDeclaration", // ES 2015 + "ImportDeclaration", // Module + "ExportDefaultDeclaration", // Module + "ExportNamedDeclaration", // Module + "ExportAllDeclaration", // Module + "TypeAlias", // Flow + "InterfaceDeclaration", // Flow, TypeScript + "TypeAliasDeclaration", // TypeScript + "ExportAssignment", // TypeScript + "ExportDeclaration", // TypeScript +]); +const jsonSourceElements = new Set([ + "ObjectExpression", + "ArrayExpression", + "StringLiteral", + "NumericLiteral", + "BooleanLiteral", + "NullLiteral", +]); +const graphqlSourceElements = new Set([ + "OperationDefinition", + "FragmentDefinition", + "VariableDefinition", + "TypeExtensionDefinition", + "ObjectTypeDefinition", + "FieldDefinition", + "DirectiveDefinition", + "EnumTypeDefinition", + "EnumValueDefinition", + "InputValueDefinition", + "InputObjectTypeDefinition", + "SchemaDefinition", + "OperationTypeDefinition", + "InterfaceTypeDefinition", + "UnionTypeDefinition", + "ScalarTypeDefinition", +]); function isSourceElement(opts, node) { if (node == null) { return false; } - // JS and JS like to avoid repetitions - const jsSourceElements = [ - "FunctionDeclaration", - "BlockStatement", - "BreakStatement", - "ContinueStatement", - "DebuggerStatement", - "DoWhileStatement", - "EmptyStatement", - "ExpressionStatement", - "ForInStatement", - "ForStatement", - "IfStatement", - "LabeledStatement", - "ReturnStatement", - "SwitchStatement", - "ThrowStatement", - "TryStatement", - "VariableDeclaration", - "WhileStatement", - "WithStatement", - "ClassDeclaration", // ES 2015 - "ImportDeclaration", // Module - "ExportDefaultDeclaration", // Module - "ExportNamedDeclaration", // Module - "ExportAllDeclaration", // Module - "TypeAlias", // Flow - "InterfaceDeclaration", // Flow, TypeScript - "TypeAliasDeclaration", // TypeScript - "ExportAssignment", // TypeScript - "ExportDeclaration", // TypeScript - ]; - const jsonSourceElements = [ - "ObjectExpression", - "ArrayExpression", - "StringLiteral", - "NumericLiteral", - "BooleanLiteral", - "NullLiteral", - ]; - const graphqlSourceElements = [ - "OperationDefinition", - "FragmentDefinition", - "VariableDefinition", - "TypeExtensionDefinition", - "ObjectTypeDefinition", - "FieldDefinition", - "DirectiveDefinition", - "EnumTypeDefinition", - "EnumValueDefinition", - "InputValueDefinition", - "InputObjectTypeDefinition", - "SchemaDefinition", - "OperationTypeDefinition", - "InterfaceTypeDefinition", - "UnionTypeDefinition", - "ScalarTypeDefinition", - ]; switch (opts.parser) { case "flow": case "babel": case "babel-flow": case "babel-ts": case "typescript": - return jsSourceElements.includes(node.type); + return jsSourceElements.has(node.type); case "json": - return jsonSourceElements.includes(node.type); + return jsonSourceElements.has(node.type); case "graphql": - return graphqlSourceElements.includes(node.kind); + return graphqlSourceElements.has(node.kind); case "vue": return node.tag !== "root"; } From 939a6608504f3d6687ec03436aefb5a9985e1d21 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Thu, 9 Apr 2020 14:33:37 +0800 Subject: [PATCH 0016/2034] Adjust `maxWorkers` for `jest` (#7989) --- .github/workflows/dev-test.yml | 7 ++++++- scripts/test-dist.js | 8 ++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dev-test.yml b/.github/workflows/dev-test.yml index fe4c187bc4..3a4dd0bd50 100644 --- a/.github/workflows/dev-test.yml +++ b/.github/workflows/dev-test.yml @@ -45,9 +45,14 @@ jobs: - name: Install Dependencies run: yarn install --frozen-lockfile - - name: Run Tests + - name: Run Tests (macOS) + if: matrix.os == 'macos-latest' run: yarn test --maxWorkers=4 + - name: Run Tests (Linux and Windows) + if: matrix.os != 'macos-latest' + run: yarn test --maxWorkers=2 + - name: Upload Coverage uses: codecov/codecov-action@v1 if: matrix.ENABLE_CODE_COVERAGE diff --git a/scripts/test-dist.js b/scripts/test-dist.js index a915e9afee..b9dc201411 100644 --- a/scripts/test-dist.js +++ b/scripts/test-dist.js @@ -2,6 +2,7 @@ "use strict"; +const os = require("os"); const path = require("path"); const shell = require("shelljs"); const tempy = require("tempy"); @@ -21,9 +22,12 @@ shell.exec("npm init -y", { cwd: tmpDir }); shell.exec(`npm install "${tarPath}"`, { cwd: tmpDir }); shell.config.silent = false; -const runInBand = isCI ? "--runInBand" : ""; +// This `maxWorkers` number is hard code for github actions +const maxWorkers = isCI + ? `--maxWorkers=${os.platform() === "darwin" ? 4 : 2}` + : ""; const testPath = process.env.TEST_STANDALONE ? "tests/" : ""; -const cmd = `yarn test --color ${runInBand} ${testPath}`; +const cmd = `yarn test --color ${maxWorkers} ${testPath}`; const { code } = shell.exec(cmd, { cwd: rootDir, From 18982d46eabff482612f2f8c59c705940c3afa59 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2020 14:09:33 +0300 Subject: [PATCH 0017/2034] Bump @glimmer/syntax from 0.50.0 to 0.50.1 (#7959) Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.50.0 to 0.50.1. - [Release notes](https://github.com/glimmerjs/glimmer-vm/releases) - [Changelog](https://github.com/glimmerjs/glimmer-vm/blob/master/CHANGELOG.md) - [Commits](https://github.com/glimmerjs/glimmer-vm/compare/v0.50.0...v0.50.1) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 0046d081be..16ee0b729f 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "@angular/compiler": "9.0.5", "@babel/code-frame": "7.8.0", "@babel/parser": "7.9.4", - "@glimmer/syntax": "0.50.0", + "@glimmer/syntax": "0.50.1", "@iarna/toml": "2.2.3", "@typescript-eslint/typescript-estree": "2.27.0", "angular-estree-parser": "1.3.0", diff --git a/yarn.lock b/yarn.lock index 70c546fdff..aed2ca9202 100644 --- a/yarn.lock +++ b/yarn.lock @@ -804,30 +804,30 @@ resolved "https://registry.yarnpkg.com/@glimmer/env/-/env-0.1.7.tgz#fd2d2b55a9029c6b37a6c935e8c8871ae70dfa07" integrity sha1-/S0rVakCnGs3psk16MiHGucN+gc= -"@glimmer/interfaces@^0.50.0": - version "0.50.0" - resolved "https://registry.yarnpkg.com/@glimmer/interfaces/-/interfaces-0.50.0.tgz#ad556592ecccd44afb5bbd08906734d63a178d02" - integrity sha512-z62FdxACLmIiAaM9sx34kTVGnip4OaKcUHbrtRhKR54o3XdR/wyJ4iibIRqGR8xLPz2XbOoyarDQ1QmYJBU8Mg== +"@glimmer/interfaces@^0.50.1": + version "0.50.1" + resolved "https://registry.yarnpkg.com/@glimmer/interfaces/-/interfaces-0.50.1.tgz#008620d9b42e296ce89669415e4830354b83c4fb" + integrity sha512-ye9fWev8QxK8Y8+NzCa0uJDArFURbVhAahSFyPT25UdalYCWEmJmqD7k1KezZk2N7ZPxLPaBjOk9ifzDPRGHgg== dependencies: "@simple-dom/interface" "^1.4.0" -"@glimmer/syntax@0.50.0": - version "0.50.0" - resolved "https://registry.yarnpkg.com/@glimmer/syntax/-/syntax-0.50.0.tgz#a56eac20972e3fc60f55b39112d1e113b55f0652" - integrity sha512-T04MubWW8fkc54Dg9py6Y/PaWI+o0CDK+LVj0z9oIiTO+ehEmntUpIcuuVDpAB+/5GCqEOZhuxq/agnm5m6EIw== +"@glimmer/syntax@0.50.1": + version "0.50.1" + resolved "https://registry.yarnpkg.com/@glimmer/syntax/-/syntax-0.50.1.tgz#86100fa077d7afd9f82c4e91d194d5d7211516eb" + integrity sha512-je/0+o/UZukP/lxJJQxgCmk4mUFJpJEAAhqxPtaj054Tofj3X+9CdQwjVU22B8F8j1AIUDr1hRgIop4k0lPbiQ== dependencies: - "@glimmer/interfaces" "^0.50.0" - "@glimmer/util" "^0.50.0" + "@glimmer/interfaces" "^0.50.1" + "@glimmer/util" "^0.50.1" handlebars "^4.5.1" simple-html-tokenizer "^0.5.9" -"@glimmer/util@^0.50.0": - version "0.50.0" - resolved "https://registry.yarnpkg.com/@glimmer/util/-/util-0.50.0.tgz#cdb930f822a59083a52cbac6aa0dd7b514428448" - integrity sha512-mzSyXtd/cMOgISODsWbaUrx97gbo8sNqQ7+l+7hZrlWjltoaSjsV7rGn+Oc8V7Du76XBS8Ctu/EqfcOeJS8YBA== +"@glimmer/util@^0.50.1": + version "0.50.1" + resolved "https://registry.yarnpkg.com/@glimmer/util/-/util-0.50.1.tgz#9e85e005d2fd563f979c5fba99563bfe75edf2a9" + integrity sha512-LaoSboa+BXjunun8wwVEV+FOH5oHc8AckfsmyHsHltFTwIRpjb0w0AQzeHzHXHMVhfpYHB06xlFO9naSEztB1Q== dependencies: "@glimmer/env" "0.1.7" - "@glimmer/interfaces" "^0.50.0" + "@glimmer/interfaces" "^0.50.1" "@simple-dom/interface" "^1.4.0" "@iarna/toml@2.2.3": From 232e21837281a053382050d8591a9d7635fa315b Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2020 14:09:50 +0300 Subject: [PATCH 0018/2034] Bump jest-docblock from 25.2.6 to 25.3.0 (#7995) Bumps [jest-docblock](https://github.com/facebook/jest/tree/HEAD/packages/jest-docblock) from 25.2.6 to 25.3.0. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v25.3.0/packages/jest-docblock) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 16ee0b729f..9db6098745 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "html-styles": "1.0.0", "html-tag-names": "1.1.5", "ignore": "4.0.6", - "jest-docblock": "25.2.6", + "jest-docblock": "25.3.0", "json-stable-stringify": "1.0.1", "leven": "3.1.0", "lines-and-columns": "1.1.6", diff --git a/yarn.lock b/yarn.lock index aed2ca9202..75c825e54e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4486,10 +4486,10 @@ jest-diff@^25.1.0, jest-diff@^25.2.6: jest-get-type "^25.2.6" pretty-format "^25.2.6" -jest-docblock@25.2.6, jest-docblock@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-25.2.6.tgz#4b09f1e7b7d6b3f39242ef3647ac7106770f722b" - integrity sha512-VAYrljEq0upq0oERfIaaNf28gC6p9gORndhHstCYF8NWGNQJnzoaU//S475IxfWMk4UjjVmS9rJKLe5Jjjbixw== +jest-docblock@25.3.0, jest-docblock@^25.2.6: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-25.3.0.tgz#8b777a27e3477cd77a168c05290c471a575623ef" + integrity sha512-aktF0kCar8+zxRHxQZwxMy70stc9R1mOmrLsT5VO3pIT0uzGRSDAXxSlz4NqQWpuLjPpuMhPRl7H+5FRsvIQAg== dependencies: detect-newline "^3.0.0" From 58b6d9e613d7efcbd9b2a4c895333f9ffb9371fe Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2020 21:03:46 +0800 Subject: [PATCH 0019/2034] Bump rollup from 2.3.3 to 2.3.4 (#7985) Bumps [rollup](https://github.com/rollup/rollup) from 2.3.3 to 2.3.4. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v2.3.3...v2.3.4) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 9db6098745..42a25f417b 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "jest-watch-typeahead": "0.5.0", "prettier": "2.0.4", "rimraf": "3.0.2", - "rollup": "2.3.3", + "rollup": "2.3.4", "rollup-plugin-babel": "4.4.0", "rollup-plugin-node-globals": "1.4.0", "rollup-plugin-terser": "5.3.0", diff --git a/yarn.lock b/yarn.lock index 75c825e54e..eb2b6be0e0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6538,10 +6538,10 @@ rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.8.1, rollup-pluginutils@^2.8.2: dependencies: estree-walker "^0.6.1" -rollup@2.3.3: - version "2.3.3" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.3.3.tgz#5982df700d7aae8907075ba68122bb57d98e9cd0" - integrity sha512-uJ9VNWk80mb4wDCSfd1AyHoSc9TrWbkZtnO6wbsMTp9muSWkT26Dvc99MX1yGCOTvUN1Skw/KpFzKdUDuZKTXA== +rollup@2.3.4: + version "2.3.4" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.3.4.tgz#979e461f8cab1a71aec2d37ce2a434052ae70223" + integrity sha512-8U9x54RCVhrUEV1zon4Pp8kokg1HM0fwzf5vkwe2/rOfyTClarx5e27kFlaoZ7ofJiazWkNQ+dgdG4HuZxkQ9A== optionalDependencies: fsevents "~2.1.2" From 8c293dc25c998d9a3e503a0cf0679287434a572d Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2020 23:42:56 +0800 Subject: [PATCH 0020/2034] Bump @babel/preset-env from 7.9.0 to 7.9.5 (#7988) Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.9.0 to 7.9.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md) - [Commits](https://github.com/babel/babel/compare/v7.9.0...v7.9.5) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 90 ++++++++++++++++++++++++++-------------------------- 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/package.json b/package.json index 42a25f417b..54b2f1d6c0 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ }, "devDependencies": { "@babel/core": "7.9.0", - "@babel/preset-env": "7.9.0", + "@babel/preset-env": "7.9.5", "@rollup/plugin-alias": "3.0.1", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "4.0.2", diff --git a/yarn.lock b/yarn.lock index eb2b6be0e0..62c138615e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -84,15 +84,6 @@ "@babel/helper-explode-assignable-expression" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/helper-call-delegate@^7.8.7": - version "7.8.7" - resolved "https://registry.yarnpkg.com/@babel/helper-call-delegate/-/helper-call-delegate-7.8.7.tgz#28a279c2e6c622a6233da548127f980751324cab" - integrity sha512-doAA5LAKhsFCR0LAFIf+r2RSMmC+m8f/oQ+URnUET/rWeEzC0yTRmAGyWkD4sSu3xwbS7MYQ2u+xlt1V5R56KQ== - dependencies: - "@babel/helper-hoist-variables" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.7" - "@babel/helper-compilation-targets@^7.8.7": version "7.8.7" resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.8.7.tgz#dac1eea159c0e4bd46e309b5a1b04a66b53c1dde" @@ -139,6 +130,15 @@ "@babel/template" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helper-function-name@^7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.9.5.tgz#2b53820d35275120e1874a82e5aabe1376920a5c" + integrity sha512-JVcQZeXM59Cd1qanDUxv9fgJpt3NeKUaqBqUEvfmQ+BCOKq2xUgaWZW2hr0dkbyJgezYuplEoh5knmrnS68efw== + dependencies: + "@babel/helper-get-function-arity" "^7.8.3" + "@babel/template" "^7.8.3" + "@babel/types" "^7.9.5" + "@babel/helper-get-function-arity@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5" @@ -235,10 +235,10 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-validator-identifier@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.0.tgz#ad53562a7fc29b3b9a91bbf7d10397fd146346ed" - integrity sha512-6G8bQKjOh+of4PV/ThDm/rRqlU7+IGoJuofpagU5GlEl29Vv0RGqqt86ZGRV8ZuSOY3o+8yXl5y782SMcG7SHw== +"@babel/helper-validator-identifier@^7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz#90977a8e6fbf6b431a7dc31752eee233bf052d80" + integrity sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g== "@babel/helper-wrap-function@^7.8.3": version "7.8.3" @@ -314,13 +314,14 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-numeric-separator" "^7.8.3" -"@babel/plugin-proposal-object-rest-spread@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.0.tgz#a28993699fc13df165995362693962ba6b061d6f" - integrity sha512-UgqBv6bjq4fDb8uku9f+wcm1J7YxJ5nT7WO/jBr0cl0PLKb7t1O6RNR1kZbjgx2LQtsDI9hwoQVmn0yhXeQyow== +"@babel/plugin-proposal-object-rest-spread@^7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.5.tgz#3fd65911306d8746014ec0d0cf78f0e39a149116" + integrity sha512-VP2oXvAf7KCYTthbUHwBlewbl1Iq059f6seJGsxMizaCdgHIeczOr7FBqELhSqfkIl04Fi8okzWzl63UKbQmmg== dependencies: "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-object-rest-spread" "^7.8.0" + "@babel/plugin-transform-parameters" "^7.9.5" "@babel/plugin-proposal-optional-catch-binding@^7.8.3": version "7.8.3" @@ -447,14 +448,14 @@ "@babel/helper-plugin-utils" "^7.8.3" lodash "^4.17.13" -"@babel/plugin-transform-classes@^7.9.0": - version "7.9.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.9.2.tgz#8603fc3cc449e31fdbdbc257f67717536a11af8d" - integrity sha512-TC2p3bPzsfvSsqBZo0kJnuelnoK9O3welkUpqSqBQuBF6R5MN2rysopri8kNvtlGIb2jmUO7i15IooAZJjZuMQ== +"@babel/plugin-transform-classes@^7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.9.5.tgz#800597ddb8aefc2c293ed27459c1fcc935a26c2c" + integrity sha512-x2kZoIuLC//O5iA7PEvecB105o7TLzZo8ofBVhP79N+DO3jaX+KYfww9TQcfBEZD0nikNyYcGB1IKtRq36rdmg== dependencies: "@babel/helper-annotate-as-pure" "^7.8.3" "@babel/helper-define-map" "^7.8.3" - "@babel/helper-function-name" "^7.8.3" + "@babel/helper-function-name" "^7.9.5" "@babel/helper-optimise-call-expression" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" "@babel/helper-replace-supers" "^7.8.6" @@ -468,10 +469,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-destructuring@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.8.3.tgz#20ddfbd9e4676906b1056ee60af88590cc7aaa0b" - integrity sha512-H4X646nCkiEcHZUZaRkhE2XVsoz0J/1x3VVujnn96pSoGCtKPA99ZZA+va+gK+92Zycd6OBKCD8tDb/731bhgQ== +"@babel/plugin-transform-destructuring@^7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.9.5.tgz#72c97cf5f38604aea3abf3b935b0e17b1db76a50" + integrity sha512-j3OEsGel8nHL/iusv/mRd5fYZ3DrOxWC82x0ogmdN/vHfAP4MYw+AFKYanzWlktNwikKvlzUV//afBW5FTp17Q== dependencies: "@babel/helper-plugin-utils" "^7.8.3" @@ -586,12 +587,11 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/helper-replace-supers" "^7.8.3" -"@babel/plugin-transform-parameters@^7.8.7": - version "7.8.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.8.7.tgz#66fa2f1de4129b4e0447509223ac71bda4955395" - integrity sha512-brYWaEPTRimOctz2NDA3jnBbDi7SVN2T4wYuu0aqSzxC3nozFZngGaw29CJ9ZPweB7k+iFmZuoG3IVPIcXmD2g== +"@babel/plugin-transform-parameters@^7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.9.5.tgz#173b265746f5e15b2afe527eeda65b73623a0795" + integrity sha512-0+1FhHnMfj6lIIhVvS4KGQJeuhe1GI//h5uptK4PvLt+BGBxsoUJbd3/IW002yk//6sZPlFgsG1hY6OHLcy6kA== dependencies: - "@babel/helper-call-delegate" "^7.8.7" "@babel/helper-get-function-arity" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" @@ -661,10 +661,10 @@ "@babel/helper-create-regexp-features-plugin" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" -"@babel/preset-env@7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.9.0.tgz#a5fc42480e950ae8f5d9f8f2bbc03f52722df3a8" - integrity sha512-712DeRXT6dyKAM/FMbQTV/FvRCms2hPCx+3weRjZ8iQVQWZejWWk1wwG6ViWMyqb/ouBbGOl5b6aCk0+j1NmsQ== +"@babel/preset-env@7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.9.5.tgz#8ddc76039bc45b774b19e2fc548f6807d8a8919f" + integrity sha512-eWGYeADTlPJH+wq1F0wNfPbVS1w1wtmMJiYk55Td5Yu28AsdR9AsC97sZ0Qq8fHqQuslVSIYSGJMcblr345GfQ== dependencies: "@babel/compat-data" "^7.9.0" "@babel/helper-compilation-targets" "^7.8.7" @@ -675,7 +675,7 @@ "@babel/plugin-proposal-json-strings" "^7.8.3" "@babel/plugin-proposal-nullish-coalescing-operator" "^7.8.3" "@babel/plugin-proposal-numeric-separator" "^7.8.3" - "@babel/plugin-proposal-object-rest-spread" "^7.9.0" + "@babel/plugin-proposal-object-rest-spread" "^7.9.5" "@babel/plugin-proposal-optional-catch-binding" "^7.8.3" "@babel/plugin-proposal-optional-chaining" "^7.9.0" "@babel/plugin-proposal-unicode-property-regex" "^7.8.3" @@ -692,9 +692,9 @@ "@babel/plugin-transform-async-to-generator" "^7.8.3" "@babel/plugin-transform-block-scoped-functions" "^7.8.3" "@babel/plugin-transform-block-scoping" "^7.8.3" - "@babel/plugin-transform-classes" "^7.9.0" + "@babel/plugin-transform-classes" "^7.9.5" "@babel/plugin-transform-computed-properties" "^7.8.3" - "@babel/plugin-transform-destructuring" "^7.8.3" + "@babel/plugin-transform-destructuring" "^7.9.5" "@babel/plugin-transform-dotall-regex" "^7.8.3" "@babel/plugin-transform-duplicate-keys" "^7.8.3" "@babel/plugin-transform-exponentiation-operator" "^7.8.3" @@ -709,7 +709,7 @@ "@babel/plugin-transform-named-capturing-groups-regex" "^7.8.3" "@babel/plugin-transform-new-target" "^7.8.3" "@babel/plugin-transform-object-super" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.8.7" + "@babel/plugin-transform-parameters" "^7.9.5" "@babel/plugin-transform-property-literals" "^7.8.3" "@babel/plugin-transform-regenerator" "^7.8.7" "@babel/plugin-transform-reserved-words" "^7.8.3" @@ -720,7 +720,7 @@ "@babel/plugin-transform-typeof-symbol" "^7.8.4" "@babel/plugin-transform-unicode-regex" "^7.8.3" "@babel/preset-modules" "^0.1.3" - "@babel/types" "^7.9.0" + "@babel/types" "^7.9.5" browserslist "^4.9.1" core-js-compat "^3.6.2" invariant "^2.2.2" @@ -777,12 +777,12 @@ globals "^11.1.0" lodash "^4.17.13" -"@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.4.4", "@babel/types@^7.8.3", "@babel/types@^7.8.6", "@babel/types@^7.8.7", "@babel/types@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.9.0.tgz#00b064c3df83ad32b2dbf5ff07312b15c7f1efb5" - integrity sha512-BS9JKfXkzzJl8RluW4JGknzpiUV7ZrvTayM6yfqLTVBEnFtyowVIOu6rqxRd5cVO6yGoWf4T8u8dgK9oB+GCng== +"@babel/types@^7.0.0", "@babel/types@^7.3.0", "@babel/types@^7.4.4", "@babel/types@^7.8.3", "@babel/types@^7.8.6", "@babel/types@^7.9.0", "@babel/types@^7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.9.5.tgz#89231f82915a8a566a703b3b20133f73da6b9444" + integrity sha512-XjnvNqenk818r5zMaba+sLQjnbda31UfUURv3ei0qPQw4u+j2jMyJ5b11y8ZHYTRSI3NnInQkkkRT4fLqqPdHg== dependencies: - "@babel/helper-validator-identifier" "^7.9.0" + "@babel/helper-validator-identifier" "^7.9.5" lodash "^4.17.13" to-fast-properties "^2.0.0" From 25a62a1ceadac6b73e38211c2837bbe9e4d1ae68 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2020 23:43:32 +0800 Subject: [PATCH 0021/2034] Bump @babel/preset-env from 7.9.0 to 7.9.5 in /website (#7983) Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.9.0 to 7.9.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md) - [Commits](https://github.com/babel/babel/compare/v7.9.0...v7.9.5) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- website/package.json | 2 +- website/yarn.lock | 90 ++++++++++++++++++++++---------------------- 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/website/package.json b/website/package.json index 0b287a6af5..9d2e5718d7 100644 --- a/website/package.json +++ b/website/package.json @@ -18,7 +18,7 @@ "react-dom": "16.13.1" }, "devDependencies": { - "@babel/preset-env": "7.9.0", + "@babel/preset-env": "7.9.5", "@babel/preset-react": "7.9.4", "@sandhose/prettier-animated-logo": "1.0.3", "babel-loader": "8.1.0", diff --git a/website/yarn.lock b/website/yarn.lock index 26b1332804..380a342609 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -87,15 +87,6 @@ "@babel/helper-annotate-as-pure" "^7.8.3" "@babel/types" "^7.9.0" -"@babel/helper-call-delegate@^7.8.7": - version "7.8.7" - resolved "https://registry.yarnpkg.com/@babel/helper-call-delegate/-/helper-call-delegate-7.8.7.tgz#28a279c2e6c622a6233da548127f980751324cab" - integrity sha512-doAA5LAKhsFCR0LAFIf+r2RSMmC+m8f/oQ+URnUET/rWeEzC0yTRmAGyWkD4sSu3xwbS7MYQ2u+xlt1V5R56KQ== - dependencies: - "@babel/helper-hoist-variables" "^7.8.3" - "@babel/traverse" "^7.8.3" - "@babel/types" "^7.8.7" - "@babel/helper-compilation-targets@^7.8.7": version "7.8.7" resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.8.7.tgz#dac1eea159c0e4bd46e309b5a1b04a66b53c1dde" @@ -162,6 +153,15 @@ "@babel/template" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helper-function-name@^7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.9.5.tgz#2b53820d35275120e1874a82e5aabe1376920a5c" + integrity sha512-JVcQZeXM59Cd1qanDUxv9fgJpt3NeKUaqBqUEvfmQ+BCOKq2xUgaWZW2hr0dkbyJgezYuplEoh5knmrnS68efw== + dependencies: + "@babel/helper-get-function-arity" "^7.8.3" + "@babel/template" "^7.8.3" + "@babel/types" "^7.9.5" + "@babel/helper-get-function-arity@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz#b894b947bd004381ce63ea1db9f08547e920abd5" @@ -258,10 +258,10 @@ dependencies: "@babel/types" "^7.8.3" -"@babel/helper-validator-identifier@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.0.tgz#ad53562a7fc29b3b9a91bbf7d10397fd146346ed" - integrity sha512-6G8bQKjOh+of4PV/ThDm/rRqlU7+IGoJuofpagU5GlEl29Vv0RGqqt86ZGRV8ZuSOY3o+8yXl5y782SMcG7SHw== +"@babel/helper-validator-identifier@^7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz#90977a8e6fbf6b431a7dc31752eee233bf052d80" + integrity sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g== "@babel/helper-wrap-function@^7.8.3": version "7.8.3" @@ -345,13 +345,14 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-numeric-separator" "^7.8.3" -"@babel/plugin-proposal-object-rest-spread@^7.7.4", "@babel/plugin-proposal-object-rest-spread@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.0.tgz#a28993699fc13df165995362693962ba6b061d6f" - integrity sha512-UgqBv6bjq4fDb8uku9f+wcm1J7YxJ5nT7WO/jBr0cl0PLKb7t1O6RNR1kZbjgx2LQtsDI9hwoQVmn0yhXeQyow== +"@babel/plugin-proposal-object-rest-spread@^7.7.4", "@babel/plugin-proposal-object-rest-spread@^7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.5.tgz#3fd65911306d8746014ec0d0cf78f0e39a149116" + integrity sha512-VP2oXvAf7KCYTthbUHwBlewbl1Iq059f6seJGsxMizaCdgHIeczOr7FBqELhSqfkIl04Fi8okzWzl63UKbQmmg== dependencies: "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-object-rest-spread" "^7.8.0" + "@babel/plugin-transform-parameters" "^7.9.5" "@babel/plugin-proposal-optional-catch-binding@^7.8.3": version "7.8.3" @@ -478,14 +479,14 @@ "@babel/helper-plugin-utils" "^7.8.3" lodash "^4.17.13" -"@babel/plugin-transform-classes@^7.9.0": - version "7.9.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.9.2.tgz#8603fc3cc449e31fdbdbc257f67717536a11af8d" - integrity sha512-TC2p3bPzsfvSsqBZo0kJnuelnoK9O3welkUpqSqBQuBF6R5MN2rysopri8kNvtlGIb2jmUO7i15IooAZJjZuMQ== +"@babel/plugin-transform-classes@^7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.9.5.tgz#800597ddb8aefc2c293ed27459c1fcc935a26c2c" + integrity sha512-x2kZoIuLC//O5iA7PEvecB105o7TLzZo8ofBVhP79N+DO3jaX+KYfww9TQcfBEZD0nikNyYcGB1IKtRq36rdmg== dependencies: "@babel/helper-annotate-as-pure" "^7.8.3" "@babel/helper-define-map" "^7.8.3" - "@babel/helper-function-name" "^7.8.3" + "@babel/helper-function-name" "^7.9.5" "@babel/helper-optimise-call-expression" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" "@babel/helper-replace-supers" "^7.8.6" @@ -499,10 +500,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-destructuring@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.8.3.tgz#20ddfbd9e4676906b1056ee60af88590cc7aaa0b" - integrity sha512-H4X646nCkiEcHZUZaRkhE2XVsoz0J/1x3VVujnn96pSoGCtKPA99ZZA+va+gK+92Zycd6OBKCD8tDb/731bhgQ== +"@babel/plugin-transform-destructuring@^7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.9.5.tgz#72c97cf5f38604aea3abf3b935b0e17b1db76a50" + integrity sha512-j3OEsGel8nHL/iusv/mRd5fYZ3DrOxWC82x0ogmdN/vHfAP4MYw+AFKYanzWlktNwikKvlzUV//afBW5FTp17Q== dependencies: "@babel/helper-plugin-utils" "^7.8.3" @@ -617,12 +618,11 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/helper-replace-supers" "^7.8.3" -"@babel/plugin-transform-parameters@^7.8.7": - version "7.8.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.8.7.tgz#66fa2f1de4129b4e0447509223ac71bda4955395" - integrity sha512-brYWaEPTRimOctz2NDA3jnBbDi7SVN2T4wYuu0aqSzxC3nozFZngGaw29CJ9ZPweB7k+iFmZuoG3IVPIcXmD2g== +"@babel/plugin-transform-parameters@^7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.9.5.tgz#173b265746f5e15b2afe527eeda65b73623a0795" + integrity sha512-0+1FhHnMfj6lIIhVvS4KGQJeuhe1GI//h5uptK4PvLt+BGBxsoUJbd3/IW002yk//6sZPlFgsG1hY6OHLcy6kA== dependencies: - "@babel/helper-call-delegate" "^7.8.7" "@babel/helper-get-function-arity" "^7.8.3" "@babel/helper-plugin-utils" "^7.8.3" @@ -742,10 +742,10 @@ core-js "^2.6.5" regenerator-runtime "^0.13.2" -"@babel/preset-env@7.9.0", "@babel/preset-env@^7.7.4": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.9.0.tgz#a5fc42480e950ae8f5d9f8f2bbc03f52722df3a8" - integrity sha512-712DeRXT6dyKAM/FMbQTV/FvRCms2hPCx+3weRjZ8iQVQWZejWWk1wwG6ViWMyqb/ouBbGOl5b6aCk0+j1NmsQ== +"@babel/preset-env@7.9.5", "@babel/preset-env@^7.7.4": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.9.5.tgz#8ddc76039bc45b774b19e2fc548f6807d8a8919f" + integrity sha512-eWGYeADTlPJH+wq1F0wNfPbVS1w1wtmMJiYk55Td5Yu28AsdR9AsC97sZ0Qq8fHqQuslVSIYSGJMcblr345GfQ== dependencies: "@babel/compat-data" "^7.9.0" "@babel/helper-compilation-targets" "^7.8.7" @@ -756,7 +756,7 @@ "@babel/plugin-proposal-json-strings" "^7.8.3" "@babel/plugin-proposal-nullish-coalescing-operator" "^7.8.3" "@babel/plugin-proposal-numeric-separator" "^7.8.3" - "@babel/plugin-proposal-object-rest-spread" "^7.9.0" + "@babel/plugin-proposal-object-rest-spread" "^7.9.5" "@babel/plugin-proposal-optional-catch-binding" "^7.8.3" "@babel/plugin-proposal-optional-chaining" "^7.9.0" "@babel/plugin-proposal-unicode-property-regex" "^7.8.3" @@ -773,9 +773,9 @@ "@babel/plugin-transform-async-to-generator" "^7.8.3" "@babel/plugin-transform-block-scoped-functions" "^7.8.3" "@babel/plugin-transform-block-scoping" "^7.8.3" - "@babel/plugin-transform-classes" "^7.9.0" + "@babel/plugin-transform-classes" "^7.9.5" "@babel/plugin-transform-computed-properties" "^7.8.3" - "@babel/plugin-transform-destructuring" "^7.8.3" + "@babel/plugin-transform-destructuring" "^7.9.5" "@babel/plugin-transform-dotall-regex" "^7.8.3" "@babel/plugin-transform-duplicate-keys" "^7.8.3" "@babel/plugin-transform-exponentiation-operator" "^7.8.3" @@ -790,7 +790,7 @@ "@babel/plugin-transform-named-capturing-groups-regex" "^7.8.3" "@babel/plugin-transform-new-target" "^7.8.3" "@babel/plugin-transform-object-super" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.8.7" + "@babel/plugin-transform-parameters" "^7.9.5" "@babel/plugin-transform-property-literals" "^7.8.3" "@babel/plugin-transform-regenerator" "^7.8.7" "@babel/plugin-transform-reserved-words" "^7.8.3" @@ -801,7 +801,7 @@ "@babel/plugin-transform-typeof-symbol" "^7.8.4" "@babel/plugin-transform-unicode-regex" "^7.8.3" "@babel/preset-modules" "^0.1.3" - "@babel/types" "^7.9.0" + "@babel/types" "^7.9.5" browserslist "^4.9.1" core-js-compat "^3.6.2" invariant "^2.2.2" @@ -882,12 +882,12 @@ globals "^11.1.0" lodash "^4.17.13" -"@babel/types@^7.4.4", "@babel/types@^7.7.4", "@babel/types@^7.8.3", "@babel/types@^7.8.6", "@babel/types@^7.8.7", "@babel/types@^7.9.0": - version "7.9.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.9.0.tgz#00b064c3df83ad32b2dbf5ff07312b15c7f1efb5" - integrity sha512-BS9JKfXkzzJl8RluW4JGknzpiUV7ZrvTayM6yfqLTVBEnFtyowVIOu6rqxRd5cVO6yGoWf4T8u8dgK9oB+GCng== +"@babel/types@^7.4.4", "@babel/types@^7.7.4", "@babel/types@^7.8.3", "@babel/types@^7.8.6", "@babel/types@^7.9.0", "@babel/types@^7.9.5": + version "7.9.5" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.9.5.tgz#89231f82915a8a566a703b3b20133f73da6b9444" + integrity sha512-XjnvNqenk818r5zMaba+sLQjnbda31UfUURv3ei0qPQw4u+j2jMyJ5b11y8ZHYTRSI3NnInQkkkRT4fLqqPdHg== dependencies: - "@babel/helper-validator-identifier" "^7.9.0" + "@babel/helper-validator-identifier" "^7.9.5" lodash "^4.17.13" to-fast-properties "^2.0.0" From 785a4f02e8117d8bcc1364938917aa2a98d6d555 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2020 13:28:47 +0800 Subject: [PATCH 0022/2034] Bump escape-string-regexp from 2.0.0 to 3.0.0 (#7986) Bumps [escape-string-regexp](https://github.com/sindresorhus/escape-string-regexp) from 2.0.0 to 3.0.0. - [Release notes](https://github.com/sindresorhus/escape-string-regexp/releases) - [Commits](https://github.com/sindresorhus/escape-string-regexp/compare/v2.0.0...v3.0.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 54b2f1d6c0..a0d3d9b943 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "diff": "4.0.2", "editorconfig": "0.15.3", "editorconfig-to-prettier": "0.1.1", - "escape-string-regexp": "2.0.0", + "escape-string-regexp": "3.0.0", "esutils": "2.0.3", "fast-glob": "3.2.2", "find-parent-dir": "0.3.0", diff --git a/yarn.lock b/yarn.lock index 62c138615e..9f350b71de 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2989,10 +2989,10 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -escape-string-regexp@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" - integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== +escape-string-regexp@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-3.0.0.tgz#1dad9cc28aed682be0de197280f79911a5fccd61" + integrity sha512-11dXIUC3umvzEViLP117d0KN6LJzZxh5+9F4E/7WLAAw7GrHk8NpUR+g9iJi/pe9C0py4F8rs0hreyRCwlAuZg== escape-string-regexp@^1.0.5: version "1.0.5" From 6dcd73bcd0e32e906aadd855cbde1f60bc53ccb1 Mon Sep 17 00:00:00 2001 From: Ekaterina Prigara Date: Fri, 10 Apr 2020 12:25:25 +0200 Subject: [PATCH 0023/2034] Update steps for running Prettier on save in WebStorm (#7978) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Updated WebStorm configuration * Minor edits in WebStorm docs * Removed trailing spaces * #4320: add paths for the global installation to the WebStorm docs * Update steps for running Prettier on save in WebStorm * Update the link for WebStorm on the main page * fix markdown linting errors, `prettier` → Prettier Co-authored-by: Ekaterina.Prigara Co-authored-by: Georgii Dolzhykov --- docs/webstorm.md | 24 +++++++++++++----------- website/data/editors.yml | 2 +- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/docs/webstorm.md b/docs/webstorm.md index a32acfb57f..0277f12ede 100644 --- a/docs/webstorm.md +++ b/docs/webstorm.md @@ -3,19 +3,23 @@ id: webstorm title: WebStorm Setup --- -## WebStorm 2018.1 and above +## Using Prettier in WebStorm Use the `Reformat with Prettier` action (`Alt-Shift-Cmd-P` on macOS or `Alt-Shift-Ctrl-P` on Windows and Linux) to format the selected code, a file, or a whole directory. -Don't forget to install `prettier` first. +To run Prettier on save in WebStorm 2020.1 or above, open _Preferences | Languages & Frameworks | JavaScript | Prettier_ and enable the option `Run on save for files`. + +By default, only JavaScript and TypeScript files will be formatted automatically. You can further configure what files will be updated using the [glob pattern](https://github.com/isaacs/node-glob#glob-primer). + +Don't forget to install Prettier first. To use Prettier in IntelliJ IDEA, PhpStorm, PyCharm, and other JetBrains IDEs, please install this [plugin](https://plugins.jetbrains.com/plugin/10456-prettier). -For older IDE versions, please follow the instructions below. +To run Prettier on save in older IDE versions, you can set up a file watcher following the instructions below. ## Running Prettier on save using File Watcher -To automatically format your files using `prettier` on save, you can use a [File Watcher](https://plugins.jetbrains.com/plugin/7177-file-watchers). +To automatically format your files using Prettier on save in WebStorm 2019.\* or earlier, you can use a [File Watcher](https://plugins.jetbrains.com/plugin/7177-file-watchers). Go to _Preferences | Tools | File Watchers_ and click **+** to add a new watcher. @@ -24,26 +28,24 @@ In Webstorm 2018.2, select Prettier from the list, review the configuration, add In older IDE versions, select Custom and do the following configuration: - **Name**: _Prettier_ or any other name -- **File Type**: _JavaScript_ (or _Any_ if you want to run `prettier` on all files) +- **File Type**: _JavaScript_ (or _Any_ if you want to run Prettier on all files) - **Scope**: _Project Files_ - **Program**: full path to `.bin/prettier` or `.bin\prettier.cmd` in the project's `node_module` folder. Or, if Prettier is installed globally, select `prettier` on macOS and Linux or `C:\Users\user_name\AppData\Roaming\npm\prettier.cmd` on Windows (or whatever `npm prefix -g` returns). - **Arguments**: `--write [other options] $FilePathRelativeToProjectRoot$` - **Output paths to refresh**: `$FilePathRelativeToProjectRoot$` - **Working directory**: `$ProjectFileDir$` -- **Environment variables**: add `COMPILE_PARTIAL=true` if you want to run `prettier` on partials (like `_component.scss`) +- **Environment variables**: add `COMPILE_PARTIAL=true` if you want to run Prettier on partials (like `_component.scss`) - **Auto-save edited files to trigger the watcher**: Uncheck to reformat on Save only. ![Example](/docs/assets/webstorm/file-watcher-prettier.png) -## WebStorm 2017.3 or earlier - -### Using Prettier with ESLint +## Using Prettier with ESLint If you are using ESLint with [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier), use the `Fix ESLint Problems` action to reformat the current file – find it using _Find Action_ (`Cmd/Ctrl-Shift-A`) or [add a keyboard shortcut](https://www.jetbrains.com/help/webstorm/configuring-keyboard-shortcuts.html) to it in _Preferences | Keymap_ and then use it. Make sure that the ESLint integration is enabled in _Preferences | Languages & Frameworks | JavaScript | Code Quality Tools | ESLint_. -### Using Prettier as External Tool +## Using Prettier as External Tool Go to _Preferences | Tools | External Tools_ and click **+** to add a new tool. Let’s name it **Prettier**. @@ -57,6 +59,6 @@ Go to _Preferences | Tools | External Tools_ and click **+** to add a new tool. Press `Cmd/Ctrl-Shift-A` (_Find Action_), search for _Prettier_, and then hit `Enter`. -It will run `prettier` for the current file. +It will run Prettier for the current file. You can [add a keyboard shortcut](https://www.jetbrains.com/help/webstorm/configuring-keyboard-shortcuts.html) to run this External tool configuration in _Preferences | Keymap_. diff --git a/website/data/editors.yml b/website/data/editors.yml index 5b0fd1b319..c818f180ff 100644 --- a/website/data/editors.yml +++ b/website/data/editors.yml @@ -34,4 +34,4 @@ - image: /images/editors/editor_webstorm.svg name: WebStorm content: | - [Built-in support](https://plugins.jetbrains.com/plugin/10456-prettier) + [Built-in support](https://prettier.io/docs/en/webstorm.html) From 255562933fb5092d7683f7fa6d4276f71fe6e3d0 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2020 13:44:22 +0300 Subject: [PATCH 0024/2034] Bump rollup from 2.3.4 to 2.4.0 (#8008) Bumps [rollup](https://github.com/rollup/rollup) from 2.3.4 to 2.4.0. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v2.3.4...v2.4.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index a0d3d9b943..fe499df5e8 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "jest-watch-typeahead": "0.5.0", "prettier": "2.0.4", "rimraf": "3.0.2", - "rollup": "2.3.4", + "rollup": "2.4.0", "rollup-plugin-babel": "4.4.0", "rollup-plugin-node-globals": "1.4.0", "rollup-plugin-terser": "5.3.0", diff --git a/yarn.lock b/yarn.lock index 9f350b71de..2f692cacdf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6538,10 +6538,10 @@ rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.8.1, rollup-pluginutils@^2.8.2: dependencies: estree-walker "^0.6.1" -rollup@2.3.4: - version "2.3.4" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.3.4.tgz#979e461f8cab1a71aec2d37ce2a434052ae70223" - integrity sha512-8U9x54RCVhrUEV1zon4Pp8kokg1HM0fwzf5vkwe2/rOfyTClarx5e27kFlaoZ7ofJiazWkNQ+dgdG4HuZxkQ9A== +rollup@2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.4.0.tgz#b136a4d701d24dd79ec9551ee0330e7f632ee9d2" + integrity sha512-dYE2ZKl9+kxuFKDaaSuauZjIPa8hcKDqI7WrOq1pTXYG4GJw+6ypLifGIvCKw5yJpSmuFohuimYpg0wfRXTCLw== optionalDependencies: fsevents "~2.1.2" From cc9b18ce3fcb8c98cfffc286c1aa684f43c57e67 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2020 13:44:40 +0300 Subject: [PATCH 0025/2034] Bump jest from 25.2.7 to 25.3.0 (#7996) Bumps [jest](https://github.com/facebook/jest) from 25.2.7 to 25.3.0. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/compare/v25.2.7...v25.3.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 636 ++++++++++++++++++++++++++++++++------------------- 2 files changed, 403 insertions(+), 235 deletions(-) diff --git a/package.json b/package.json index fe499df5e8..e16afca6a9 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "eslint-plugin-react": "7.19.0", "eslint-plugin-unicorn": "18.0.1", "execa": "4.0.0", - "jest": "25.2.7", + "jest": "25.3.0", "jest-snapshot-serializer-ansi": "1.0.0", "jest-snapshot-serializer-raw": "1.1.0", "jest-watch-typeahead": "0.5.0", diff --git a/yarn.lock b/yarn.lock index 2f692cacdf..d9efdc0fc6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -347,20 +347,27 @@ "@babel/helper-create-regexp-features-plugin" "^7.8.8" "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-async-generators@^7.8.0": +"@babel/plugin-syntax-async-generators@^7.8.0", "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-bigint@^7.0.0": +"@babel/plugin-syntax-bigint@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea" integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-class-properties@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.8.3.tgz#6cb933a8872c8d359bfde69bbeaae5162fd1e8f7" + integrity sha512-UcAyQWg2bAN647Q+O811tG9MrJ38Z10jjhQdKNAL8fsyPzE3cCN/uT+f55cFVY4aGO4jqJAvmqsuY3GQDwAoXg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + "@babel/plugin-syntax-dynamic-import@^7.8.0": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" @@ -368,14 +375,21 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-json-strings@^7.8.0": +"@babel/plugin-syntax-json-strings@^7.8.0", "@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0": +"@babel/plugin-syntax-logical-assignment-operators@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.8.3.tgz#3995d7d7ffff432f6ddc742b47e730c054599897" + integrity sha512-Zpg2Sgc++37kuFl6ppq2Q7Awc6E6AIW671x5PY8E/f7MCIyPPGK/EoeZXvvY3P42exZ3Q4/t3YOzP/HiN79jDg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0", "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== @@ -389,21 +403,21 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.8.0": +"@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-catch-binding@^7.8.0": +"@babel/plugin-syntax-optional-catch-binding@^7.8.0", "@babel/plugin-syntax-optional-catch-binding@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-chaining@^7.8.0": +"@babel/plugin-syntax-optional-chaining@^7.8.0", "@babel/plugin-syntax-optional-chaining@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== @@ -860,33 +874,43 @@ jest-util "^25.2.6" slash "^3.0.0" -"@jest/core@^25.2.7": - version "25.2.7" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-25.2.7.tgz#58d697687e94ee644273d15e4eed6a20e27187cd" - integrity sha512-Nd6ELJyR+j0zlwhzkfzY70m04hAur0VnMwJXVe4VmmD/SaQ6DEyal++ERQ1sgyKIKKEqRuui6k/R0wHLez4P+g== +"@jest/console@^25.3.0": + version "25.3.0" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-25.3.0.tgz#33b56b81238427bf3ebe3f7b3378d2f79cdbd409" + integrity sha512-LvSDNqpmZIZyweFaEQ6wKY7CbexPitlsLHGJtcooNECo0An/w49rFhjCJzu6efeb6+a3ee946xss1Jcd9r03UQ== dependencies: - "@jest/console" "^25.2.6" - "@jest/reporters" "^25.2.6" - "@jest/test-result" "^25.2.6" - "@jest/transform" "^25.2.6" - "@jest/types" "^25.2.6" + "@jest/source-map" "^25.2.6" + chalk "^3.0.0" + jest-util "^25.3.0" + slash "^3.0.0" + +"@jest/core@^25.3.0": + version "25.3.0" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-25.3.0.tgz#80f97a7a8b59dde741a24f30871cc26d0197d426" + integrity sha512-+D5a/tFf6pA/Gqft2DLBp/yeSRgXhlJ+Wpst0X/ZkfTRP54qDR3C61VfHwaex+GzZBiTcE9vQeoZ2v5T10+Mqw== + dependencies: + "@jest/console" "^25.3.0" + "@jest/reporters" "^25.3.0" + "@jest/test-result" "^25.3.0" + "@jest/transform" "^25.3.0" + "@jest/types" "^25.3.0" ansi-escapes "^4.2.1" chalk "^3.0.0" exit "^0.1.2" graceful-fs "^4.2.3" - jest-changed-files "^25.2.6" - jest-config "^25.2.7" - jest-haste-map "^25.2.6" - jest-message-util "^25.2.6" + jest-changed-files "^25.3.0" + jest-config "^25.3.0" + jest-haste-map "^25.3.0" + jest-message-util "^25.3.0" jest-regex-util "^25.2.6" - jest-resolve "^25.2.6" - jest-resolve-dependencies "^25.2.7" - jest-runner "^25.2.7" - jest-runtime "^25.2.7" - jest-snapshot "^25.2.7" - jest-util "^25.2.6" - jest-validate "^25.2.6" - jest-watcher "^25.2.7" + jest-resolve "^25.3.0" + jest-resolve-dependencies "^25.3.0" + jest-runner "^25.3.0" + jest-runtime "^25.3.0" + jest-snapshot "^25.3.0" + jest-util "^25.3.0" + jest-validate "^25.3.0" + jest-watcher "^25.3.0" micromatch "^4.0.2" p-each-series "^2.1.0" realpath-native "^2.0.0" @@ -894,36 +918,36 @@ slash "^3.0.0" strip-ansi "^6.0.0" -"@jest/environment@^25.2.6": - version "25.2.6" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-25.2.6.tgz#8f7931e79abd81893ce88b7306f0cc4744835000" - integrity sha512-17WIw+wCb9drRNFw1hi8CHah38dXVdOk7ga9exThhGtXlZ9mK8xH4DjSB9uGDGXIWYSHmrxoyS6KJ7ywGr7bzg== +"@jest/environment@^25.3.0": + version "25.3.0" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-25.3.0.tgz#587f28ddb4b0dfe97404d3d4a4c9dbfa0245fb2e" + integrity sha512-vgooqwJTHLLak4fE+TaCGeYP7Tz1Y3CKOsNxR1sE0V3nx3KRUHn3NUnt+wbcfd5yQWKZQKAfW6wqbuwQLrXo3g== dependencies: - "@jest/fake-timers" "^25.2.6" - "@jest/types" "^25.2.6" - jest-mock "^25.2.6" + "@jest/fake-timers" "^25.3.0" + "@jest/types" "^25.3.0" + jest-mock "^25.3.0" -"@jest/fake-timers@^25.2.6": - version "25.2.6" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-25.2.6.tgz#239dbde3f56badf7d05bcf888f5d669296077cad" - integrity sha512-A6qtDIA2zg/hVgUJJYzQSHFBIp25vHdSxW/s4XmTJAYxER6eL0NQdQhe4+232uUSviKitubHGXXirt5M7blPiA== +"@jest/fake-timers@^25.3.0": + version "25.3.0" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-25.3.0.tgz#995aad36d5c8984165ca5db12e740ab8dbf7042a" + integrity sha512-NHAj7WbsyR3qBJPpBwSwqaq2WluIvUQsyzpJTN7XDVk7VnlC/y1BAnaYZL3vbPIP8Nhm0Ae5DJe0KExr/SdMJQ== dependencies: - "@jest/types" "^25.2.6" - jest-message-util "^25.2.6" - jest-mock "^25.2.6" - jest-util "^25.2.6" + "@jest/types" "^25.3.0" + jest-message-util "^25.3.0" + jest-mock "^25.3.0" + jest-util "^25.3.0" lolex "^5.0.0" -"@jest/reporters@^25.2.6": - version "25.2.6" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-25.2.6.tgz#6d87e40fb15adb69e22bb83aa02a4d88b2253b5f" - integrity sha512-DRMyjaxcd6ZKctiXNcuVObnPwB1eUs7xrUVu0J2V0p5/aZJei5UM9GL3s/bmN4hRV8Mt3zXh+/9X2o0Q4ClZIA== +"@jest/reporters@^25.3.0": + version "25.3.0" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-25.3.0.tgz#7f39f0e6911561cc5112a1b54656de18faee269b" + integrity sha512-1u0ZBygs0C9DhdYgLCrRfZfNKQa+9+J7Uo+Z9z0RWLHzgsxhoG32lrmMOtUw48yR6bLNELdvzormwUqSk4H4Vg== dependencies: "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^25.2.6" - "@jest/test-result" "^25.2.6" - "@jest/transform" "^25.2.6" - "@jest/types" "^25.2.6" + "@jest/console" "^25.3.0" + "@jest/test-result" "^25.3.0" + "@jest/transform" "^25.3.0" + "@jest/types" "^25.3.0" chalk "^3.0.0" collect-v8-coverage "^1.0.0" exit "^0.1.2" @@ -932,10 +956,10 @@ istanbul-lib-instrument "^4.0.0" istanbul-lib-report "^3.0.0" istanbul-lib-source-maps "^4.0.0" - istanbul-reports "^3.0.0" - jest-haste-map "^25.2.6" - jest-resolve "^25.2.6" - jest-util "^25.2.6" + istanbul-reports "^3.0.2" + jest-haste-map "^25.3.0" + jest-resolve "^25.3.0" + jest-util "^25.3.0" jest-worker "^25.2.6" slash "^3.0.0" source-map "^0.6.0" @@ -964,31 +988,41 @@ "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^25.2.7": - version "25.2.7" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-25.2.7.tgz#e4331f7b4850e34289b9a5c8ec8a2c03b400da8f" - integrity sha512-s2uYGOXONDSTJQcZJ9A3Zkg3hwe53RlX1HjUNqjUy3HIqwgwCKJbnAKYsORPbhxXi3ARMKA7JNBi9arsTxXoYw== +"@jest/test-result@^25.3.0": + version "25.3.0" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-25.3.0.tgz#137fab5e5c6fed36e5d40735d1eb029325e3bf06" + integrity sha512-mqrGuiiPXl1ap09Mydg4O782F3ouDQfsKqtQzIjitpwv3t1cHDwCto21jThw6WRRE+dKcWQvLG70GpyLJICfGw== dependencies: - "@jest/test-result" "^25.2.6" - jest-haste-map "^25.2.6" - jest-runner "^25.2.7" - jest-runtime "^25.2.7" + "@jest/console" "^25.3.0" + "@jest/types" "^25.3.0" + "@types/istanbul-lib-coverage" "^2.0.0" + collect-v8-coverage "^1.0.0" -"@jest/transform@^25.2.6": - version "25.2.6" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-25.2.6.tgz#007fd946dedf12d2a9eb5d4154faf1991d5f61ff" - integrity sha512-rZnjCjZf9avPOf9q/w9RUZ9Uc29JmB53uIXNJmNz04QbDMD5cR/VjfikiMKajBsXe2vnFl5sJ4RTt+9HPicauQ== +"@jest/test-sequencer@^25.3.0": + version "25.3.0" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-25.3.0.tgz#271ad5f2b8f8137d092ccedc87e16a50f8676209" + integrity sha512-Xvns3xbji7JCvVcDGvqJ/pf4IpmohPODumoPEZJ0/VgC5gI4XaNVIBET2Dq5Czu6Gk3xFcmhtthh/MBOTljdNg== + dependencies: + "@jest/test-result" "^25.3.0" + jest-haste-map "^25.3.0" + jest-runner "^25.3.0" + jest-runtime "^25.3.0" + +"@jest/transform@^25.3.0": + version "25.3.0" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-25.3.0.tgz#083c5447d5307d9b9494d6968115b647460e71f1" + integrity sha512-W01p8kTDvvEX6kd0tJc7Y5VdYyFaKwNWy1HQz6Jqlhu48z/8Gxp+yFCDVj+H8Rc7ezl3Mg0hDaGuFVkmHOqirg== dependencies: "@babel/core" "^7.1.0" - "@jest/types" "^25.2.6" + "@jest/types" "^25.3.0" babel-plugin-istanbul "^6.0.0" chalk "^3.0.0" convert-source-map "^1.4.0" fast-json-stable-stringify "^2.0.0" graceful-fs "^4.2.3" - jest-haste-map "^25.2.6" + jest-haste-map "^25.3.0" jest-regex-util "^25.2.6" - jest-util "^25.2.6" + jest-util "^25.3.0" micromatch "^4.0.2" pirates "^4.0.1" realpath-native "^2.0.0" @@ -1006,6 +1040,16 @@ "@types/yargs" "^15.0.0" chalk "^3.0.0" +"@jest/types@^25.3.0": + version "25.3.0" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-25.3.0.tgz#88f94b277a1d028fd7117bc1f74451e0fc2131e7" + integrity sha512-UkaDNewdqXAmCDbN2GlUM6amDKS78eCqiw/UmF5nE0mmLTd6moJkiZJML/X52Ke3LH7Swhw883IRXq8o9nWjVw== + dependencies: + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^1.1.1" + "@types/yargs" "^15.0.0" + chalk "^3.0.0" + "@nodelib/fs.scandir@2.1.3": version "2.1.3" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b" @@ -1090,10 +1134,10 @@ dependencies: type-detect "4.0.8" -"@types/babel__core@^7.1.0": - version "7.1.3" - resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.3.tgz#e441ea7df63cd080dfcd02ab199e6d16a735fc30" - integrity sha512-8fBo0UR2CcwWxeX7WIIgJ7lXjasFxoYgRnFHUj+hRvKkpiBJbxhdAPTCY6/ZKM0uxANFVzt4yObSLuTiTnazDA== +"@types/babel__core@^7.1.7": + version "7.1.7" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.7.tgz#1dacad8840364a57c98d0dd4855c6dd3752c6b89" + integrity sha512-RL62NqSFPCDK2FM1pSDH0scHpJvsXtZNiYlMB73DgPBaG1E38ZYVL+ei5EkWRbr+KC4YNiAUNBnRj+bgwpgjMw== dependencies: "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" @@ -1644,16 +1688,16 @@ aws4@^1.8.0: resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.9.1.tgz#7e33d8f7d449b3f673cd72deb9abdc552dbe528e" integrity sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug== -babel-jest@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-25.2.6.tgz#fe67ff4d0db3626ca8082da8881dd5e84e07ae75" - integrity sha512-MDJOAlwtIeIQiGshyX0d2PxTbV73xZMpNji40ivVTPQOm59OdRR9nYCkffqI7ugtsK4JR98HgNKbDbuVf4k5QQ== +babel-jest@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-25.3.0.tgz#999d0c19e8427f66b796bf9ea233eedf087b957c" + integrity sha512-qiXeX1Cmw4JZ5yQ4H57WpkO0MZ61Qj+YnsVUwAMnDV5ls+yHon11XjarDdgP7H8lTmiEi6biiZA8y3Tmvx6pCg== dependencies: - "@jest/transform" "^25.2.6" - "@jest/types" "^25.2.6" - "@types/babel__core" "^7.1.0" + "@jest/transform" "^25.3.0" + "@jest/types" "^25.3.0" + "@types/babel__core" "^7.1.7" babel-plugin-istanbul "^6.0.0" - babel-preset-jest "^25.2.6" + babel-preset-jest "^25.3.0" chalk "^3.0.0" slash "^3.0.0" @@ -1693,14 +1737,29 @@ babel-plugin-jest-hoist@^25.2.6: dependencies: "@types/babel__traverse" "^7.0.6" -babel-preset-jest@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-25.2.6.tgz#5d3f7c99e2a8508d61775c9d68506d143b7f71b5" - integrity sha512-Xh2eEAwaLY9+SyMt/xmGZDnXTW/7pSaBPG0EMo7EuhvosFKVWYB6CqwYD31DaEQuoTL090oDZ0FEqygffGRaSQ== +babel-preset-current-node-syntax@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.2.tgz#fb4a4c51fe38ca60fede1dc74ab35eb843cb41d6" + integrity sha512-u/8cS+dEiK1SFILbOC8/rUI3ml9lboKuuMvZ/4aQnQmhecQAgPw5ew066C1ObnEAUmlx7dv/s2z52psWEtLNiw== + dependencies: + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-bigint" "^7.8.3" + "@babel/plugin-syntax-class-properties" "^7.8.3" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.8.3" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.8.3" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + +babel-preset-jest@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-25.3.0.tgz#9ab40aee52a19bdc52b8b1ec2403d5914ac3d86b" + integrity sha512-tjdvLKNMwDI9r+QWz9sZUQGTq1dpoxjUqFUpEasAc7MOtHg9XuLT2fx0udFG+k1nvMV0WvHHVAN7VmCZ+1Zxbw== dependencies: - "@babel/plugin-syntax-bigint" "^7.0.0" - "@babel/plugin-syntax-object-rest-spread" "^7.0.0" babel-plugin-jest-hoist "^25.2.6" + babel-preset-current-node-syntax "^0.1.2" bail@^1.0.0: version "1.0.4" @@ -3343,6 +3402,18 @@ expect@^25.2.7: jest-message-util "^25.2.6" jest-regex-util "^25.2.6" +expect@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/expect/-/expect-25.3.0.tgz#5fd36e51befd05afb7184bc954f8a4792d184c71" + integrity sha512-buboTXML2h/L0Kh44Ys2Cx49mX20ISc5KDirkxIs3Q9AJv0kazweUAbukegr+nHDOvFRKmxdojjIHCjqAceYfg== + dependencies: + "@jest/types" "^25.3.0" + ansi-styles "^4.0.0" + jest-get-type "^25.2.6" + jest-matcher-utils "^25.3.0" + jest-message-util "^25.3.0" + jest-regex-util "^25.2.6" + extend-shallow@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" @@ -4411,10 +4482,10 @@ istanbul-lib-source-maps@^4.0.0: istanbul-lib-coverage "^3.0.0" source-map "^0.6.1" -istanbul-reports@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.0.0.tgz#d4d16d035db99581b6194e119bbf36c963c5eb70" - integrity sha512-2osTcC8zcOSUkImzN2EWQta3Vdi4WjjKw99P2yWx5mLnigAM0Rd5uYFn1cf2i/Ois45GkNjaoTqc5CxgMSX80A== +istanbul-reports@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.0.2.tgz#d593210e5000683750cb09fc0644e4b6e27fd53b" + integrity sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw== dependencies: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" @@ -4424,56 +4495,56 @@ iterable-to-stream@^1.0.1: resolved "https://registry.yarnpkg.com/iterable-to-stream/-/iterable-to-stream-1.0.1.tgz#37e86baacf6b1a0e9233dad4eb526d0423d08bf3" integrity sha512-O62gD5ADMUGtJoOoM9U6LQ7i4byPXUNoHJ6mqsmkQJcom331ZJGDApWgDESWyBMEHEJRjtHozgIiTzYo9RU4UA== -jest-changed-files@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-25.2.6.tgz#7d569cd6b265b1a84db3914db345d9c452f26b71" - integrity sha512-F7l2m5n55jFnJj4ItB9XbAlgO+6umgvz/mdK76BfTd2NGkvGf9x96hUXP/15a1K0k14QtVOoutwpRKl360msvg== +jest-changed-files@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-25.3.0.tgz#85d8de6f4bd13dafda9d7f1e3f2565fc0e183c78" + integrity sha512-eqd5hyLbUjIVvLlJ3vQ/MoPxsxfESVXG9gvU19XXjKzxr+dXmZIqCXiY0OiYaibwlHZBJl2Vebkc0ADEMzCXew== dependencies: - "@jest/types" "^25.2.6" + "@jest/types" "^25.3.0" execa "^3.2.0" throat "^5.0.0" -jest-cli@^25.2.7: - version "25.2.7" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-25.2.7.tgz#515b61fee402c397ffa8d570532f7b039c3159f4" - integrity sha512-OOAZwY4Jkd3r5WhVM5L3JeLNFaylvHUczMLxQDVLrrVyb1Cy+DNJ6MVsb5TLh6iBklB42m5TOP+IbOgKGGOtMw== +jest-cli@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-25.3.0.tgz#d9e11f5700cc5946583cf0d01a9bdebceed448d2" + integrity sha512-XpNQPlW1tzpP7RGG8dxpkRegYDuLjzSiENu92+CYM87nEbmEPb3b4+yo8xcsHOnj0AG7DUt9b3uG8LuHI3MDzw== dependencies: - "@jest/core" "^25.2.7" - "@jest/test-result" "^25.2.6" - "@jest/types" "^25.2.6" + "@jest/core" "^25.3.0" + "@jest/test-result" "^25.3.0" + "@jest/types" "^25.3.0" chalk "^3.0.0" exit "^0.1.2" import-local "^3.0.2" is-ci "^2.0.0" - jest-config "^25.2.7" - jest-util "^25.2.6" - jest-validate "^25.2.6" + jest-config "^25.3.0" + jest-util "^25.3.0" + jest-validate "^25.3.0" prompts "^2.0.1" realpath-native "^2.0.0" yargs "^15.3.1" -jest-config@^25.2.7: - version "25.2.7" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-25.2.7.tgz#a14e5b96575987ce913dd9fc20ac8cd4b35a8c29" - integrity sha512-rIdPPXR6XUxi+7xO4CbmXXkE6YWprvlKc4kg1SrkCL2YV5m/8MkHstq9gBZJ19Qoa3iz/GP+0sTG/PcIwkFojg== +jest-config@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-25.3.0.tgz#112b5e2f2e57dec4501dd2fe979044c06fb1317e" + integrity sha512-CmF1JnNWFmoCSPC4tnU52wnVBpuxHjilA40qH/03IHxIevkjUInSMwaDeE6ACfxMPTLidBGBCO3EbxvzPbo8wA== dependencies: "@babel/core" "^7.1.0" - "@jest/test-sequencer" "^25.2.7" - "@jest/types" "^25.2.6" - babel-jest "^25.2.6" + "@jest/test-sequencer" "^25.3.0" + "@jest/types" "^25.3.0" + babel-jest "^25.3.0" chalk "^3.0.0" deepmerge "^4.2.2" glob "^7.1.1" - jest-environment-jsdom "^25.2.6" - jest-environment-node "^25.2.6" + jest-environment-jsdom "^25.3.0" + jest-environment-node "^25.3.0" jest-get-type "^25.2.6" - jest-jasmine2 "^25.2.7" + jest-jasmine2 "^25.3.0" jest-regex-util "^25.2.6" - jest-resolve "^25.2.6" - jest-util "^25.2.6" - jest-validate "^25.2.6" + jest-resolve "^25.3.0" + jest-util "^25.3.0" + jest-validate "^25.3.0" micromatch "^4.0.2" - pretty-format "^25.2.6" + pretty-format "^25.3.0" realpath-native "^2.0.0" jest-diff@^25.1.0, jest-diff@^25.2.6: @@ -4486,46 +4557,56 @@ jest-diff@^25.1.0, jest-diff@^25.2.6: jest-get-type "^25.2.6" pretty-format "^25.2.6" -jest-docblock@25.3.0, jest-docblock@^25.2.6: +jest-diff@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-25.3.0.tgz#0d7d6f5d6171e5dacde9e05be47b3615e147c26f" + integrity sha512-vyvs6RPoVdiwARwY4kqFWd4PirPLm2dmmkNzKqo38uZOzJvLee87yzDjIZLmY1SjM3XR5DwsUH+cdQ12vgqi1w== + dependencies: + chalk "^3.0.0" + diff-sequences "^25.2.6" + jest-get-type "^25.2.6" + pretty-format "^25.3.0" + +jest-docblock@25.3.0, jest-docblock@^25.3.0: version "25.3.0" resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-25.3.0.tgz#8b777a27e3477cd77a168c05290c471a575623ef" integrity sha512-aktF0kCar8+zxRHxQZwxMy70stc9R1mOmrLsT5VO3pIT0uzGRSDAXxSlz4NqQWpuLjPpuMhPRl7H+5FRsvIQAg== dependencies: detect-newline "^3.0.0" -jest-each@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-25.2.6.tgz#026f6dea2ccc443c35cea793265620aab1b278b6" - integrity sha512-OgQ01VINaRD6idWJOhCYwUc5EcgHBiFlJuw+ON2VgYr7HLtMFyCcuo+3mmBvuLUH4QudREZN7cDCZviknzsaJQ== +jest-each@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-25.3.0.tgz#a319eecf1f6076164ab86f99ca166a55b96c0bd4" + integrity sha512-aBfS4VOf/Qs95yUlX6d6WBv0szvOcTkTTyCIaLuQGj4bSHsT+Wd9dDngVHrCe5uytxpN8VM+NAloI6nbPjXfXw== dependencies: - "@jest/types" "^25.2.6" + "@jest/types" "^25.3.0" chalk "^3.0.0" jest-get-type "^25.2.6" - jest-util "^25.2.6" - pretty-format "^25.2.6" + jest-util "^25.3.0" + pretty-format "^25.3.0" -jest-environment-jsdom@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-25.2.6.tgz#b7ae41c6035905b8e58d63a8f63cf8eaa00af279" - integrity sha512-/o7MZIhGmLGIEG5j7r5B5Az0umWLCHU+F5crwfbm0BzC4ybHTJZOQTFQWhohBg+kbTCNOuftMcqHlVkVduJCQQ== - dependencies: - "@jest/environment" "^25.2.6" - "@jest/fake-timers" "^25.2.6" - "@jest/types" "^25.2.6" - jest-mock "^25.2.6" - jest-util "^25.2.6" +jest-environment-jsdom@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-25.3.0.tgz#c493ab8c41f28001520c70ef67dd88b88be6af05" + integrity sha512-jdE4bQN+k2QEZ9sWOxsqDJvMzbdFSCN/4tw8X0TQaCqyzKz58PyEf41oIr4WO7ERdp7WaJGBSUKF7imR3UW1lg== + dependencies: + "@jest/environment" "^25.3.0" + "@jest/fake-timers" "^25.3.0" + "@jest/types" "^25.3.0" + jest-mock "^25.3.0" + jest-util "^25.3.0" jsdom "^15.2.1" -jest-environment-node@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-25.2.6.tgz#ad4398432867113f474d94fe37b071ed04b30f3d" - integrity sha512-D1Ihj14fxZiMHGeTtU/LunhzSI+UeBvlr/rcXMTNyRMUMSz2PEhuqGbB78brBY6Dk3FhJDk7Ta+8reVaGjLWhA== - dependencies: - "@jest/environment" "^25.2.6" - "@jest/fake-timers" "^25.2.6" - "@jest/types" "^25.2.6" - jest-mock "^25.2.6" - jest-util "^25.2.6" +jest-environment-node@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-25.3.0.tgz#9845f0e63991e8498448cb0ae804935689533db9" + integrity sha512-XO09S29Nx1NU7TiMPHMoDIkxoGBuKSTbE+sHp0gXbeLDXhIdhysUI25kOqFFSD9AuDgvPvxWCXrvNqiFsOH33g== + dependencies: + "@jest/environment" "^25.3.0" + "@jest/fake-timers" "^25.3.0" + "@jest/types" "^25.3.0" + jest-mock "^25.3.0" + jest-util "^25.3.0" semver "^6.3.0" jest-get-type@^25.2.6: @@ -4533,17 +4614,17 @@ jest-get-type@^25.2.6: resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-25.2.6.tgz#0b0a32fab8908b44d508be81681487dbabb8d877" integrity sha512-DxjtyzOHjObRM+sM1knti6or+eOgcGU4xVSb2HNP1TqO4ahsT+rqZg+nyqHWJSvWgKC5cG3QjGFBqxLghiF/Ig== -jest-haste-map@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-25.2.6.tgz#4aa6bcfa15310afccdb9ca77af58a98add8cedb8" - integrity sha512-nom0+fnY8jwzelSDQnrqaKAcDZczYQvMEwcBjeL3PQ4MlcsqeB7dmrsAniUw/9eLkngT5DE6FhnenypilQFsgA== +jest-haste-map@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-25.3.0.tgz#b7683031c9c9ddc0521d311564108b244b11e4c6" + integrity sha512-LjXaRa+F8wwtSxo9G+hHD/Cp63PPQzvaBL9XCVoJD2rrcJO0Zr2+YYzAFWWYJ5GlPUkoaJFJtOuk0sL6MJY80A== dependencies: - "@jest/types" "^25.2.6" + "@jest/types" "^25.3.0" anymatch "^3.0.3" fb-watchman "^2.0.0" graceful-fs "^4.2.3" jest-serializer "^25.2.6" - jest-util "^25.2.6" + jest-util "^25.3.0" jest-worker "^25.2.6" micromatch "^4.0.2" sane "^4.0.3" @@ -4552,36 +4633,36 @@ jest-haste-map@^25.2.6: optionalDependencies: fsevents "^2.1.2" -jest-jasmine2@^25.2.7: - version "25.2.7" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-25.2.7.tgz#55ff87f8f462ef0e2f16fd19430b8be8bcebef0e" - integrity sha512-HeQxEbonp8fUvik9jF0lkU9ab1u5TQdIb7YSU9Fj7SxWtqHNDGyCpF6ZZ3r/5yuertxi+R95Ba9eA91GMQ38eA== +jest-jasmine2@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-25.3.0.tgz#16ae4f68adef65fb45001b26c864bcbcbf972830" + integrity sha512-NCYOGE6+HNzYFSui52SefgpsnIzvxjn6KAgqw66BdRp37xpMD/4kujDHLNW5bS5i53os5TcMn6jYrzQRO8VPrQ== dependencies: "@babel/traverse" "^7.1.0" - "@jest/environment" "^25.2.6" + "@jest/environment" "^25.3.0" "@jest/source-map" "^25.2.6" - "@jest/test-result" "^25.2.6" - "@jest/types" "^25.2.6" + "@jest/test-result" "^25.3.0" + "@jest/types" "^25.3.0" chalk "^3.0.0" co "^4.6.0" - expect "^25.2.7" + expect "^25.3.0" is-generator-fn "^2.0.0" - jest-each "^25.2.6" - jest-matcher-utils "^25.2.7" - jest-message-util "^25.2.6" - jest-runtime "^25.2.7" - jest-snapshot "^25.2.7" - jest-util "^25.2.6" - pretty-format "^25.2.6" + jest-each "^25.3.0" + jest-matcher-utils "^25.3.0" + jest-message-util "^25.3.0" + jest-runtime "^25.3.0" + jest-snapshot "^25.3.0" + jest-util "^25.3.0" + pretty-format "^25.3.0" throat "^5.0.0" -jest-leak-detector@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-25.2.6.tgz#68fbaf651142292b03e30641f33e15af9b8c62b1" - integrity sha512-n+aJUM+j/x1kIaPVxzerMqhAUuqTU1PL5kup46rXh+l9SP8H6LqECT/qD1GrnylE1L463/0StSPkH4fUpkuEjA== +jest-leak-detector@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-25.3.0.tgz#5b6bf04903b35be56038915a55f47291771f769f" + integrity sha512-jk7k24dMIfk8LUSQQGN8PyOy9+J0NAfHZWiDmUDYVMctY8FLJQ1eQ8+PjMoN8PgwhLIggUqgYJnyRFvUz3jLRw== dependencies: jest-get-type "^25.2.6" - pretty-format "^25.2.6" + pretty-format "^25.3.0" jest-matcher-utils@^25.2.7: version "25.2.7" @@ -4593,6 +4674,16 @@ jest-matcher-utils@^25.2.7: jest-get-type "^25.2.6" pretty-format "^25.2.6" +jest-matcher-utils@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-25.3.0.tgz#76765788a26edaa8bc5f0100aea52ae383559648" + integrity sha512-ZBUJ2fchNIZt+fyzkuCFBb8SKaU//Rln45augfUtbHaGyVxCO++ANARdBK9oPGXU3hEDgyy7UHnOP/qNOJXFUg== + dependencies: + chalk "^3.0.0" + jest-diff "^25.3.0" + jest-get-type "^25.2.6" + pretty-format "^25.3.0" + jest-message-util@^25.2.6: version "25.2.6" resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-25.2.6.tgz#9d5523bebec8cd9cdef75f0f3069d6ec9a2252df" @@ -4606,12 +4697,25 @@ jest-message-util@^25.2.6: slash "^3.0.0" stack-utils "^1.0.1" -jest-mock@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-25.2.6.tgz#8df66eaa55a713d0f2a7dfb4f14507289d24dfa3" - integrity sha512-vc4nibavi2RGPdj/MyZy/azuDjZhpYZLvpfgq1fxkhbyTpKVdG7CgmRVKJ7zgLpY5kuMjTzDYA6QnRwhsCU+tA== +jest-message-util@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-25.3.0.tgz#e3836826fe5ca538a337b87d9bd2648190867f85" + integrity sha512-5QNy9Id4WxJbRITEbA1T1kem9bk7y2fD0updZMSTNHtbEDnYOGLDPAuFBhFgVmOZpv0n6OMdVkK+WhyXEPCcOw== dependencies: - "@jest/types" "^25.2.6" + "@babel/code-frame" "^7.0.0" + "@jest/types" "^25.3.0" + "@types/stack-utils" "^1.0.1" + chalk "^3.0.0" + micromatch "^4.0.2" + slash "^3.0.0" + stack-utils "^1.0.1" + +jest-mock@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-25.3.0.tgz#d72644509e40987a732a9a2534a1054f4649402c" + integrity sha512-yRn6GbuqB4j3aYu+Z1ezwRiZfp0o9om5uOcBovVtkcRLeBCNP5mT0ysdenUsxAHnQUgGwPOE1wwhtQYe6NKirQ== + dependencies: + "@jest/types" "^25.3.0" jest-pnp-resolver@^1.2.1: version "1.2.1" @@ -4623,14 +4727,14 @@ jest-regex-util@^25.2.1, jest-regex-util@^25.2.6: resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-25.2.6.tgz#d847d38ba15d2118d3b06390056028d0f2fd3964" integrity sha512-KQqf7a0NrtCkYmZZzodPftn7fL1cq3GQAFVMn5Hg8uKx/fIenLEobNanUxb7abQ1sjADHBseG/2FGpsv/wr+Qw== -jest-resolve-dependencies@^25.2.7: - version "25.2.7" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-25.2.7.tgz#9ca4c62d67cce031a27fa5d5705b4b5b5c029d23" - integrity sha512-IrnMzCAh11Xd2gAOJL+ThEW6QO8DyqNdvNkQcaCticDrOAr9wtKT7yT6QBFFjqKFgjjvaVKDs59WdgUhgYnHnQ== +jest-resolve-dependencies@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-25.3.0.tgz#b0e4ae053dd44ddacc18c6ee12b5b7c28e445a90" + integrity sha512-bDUlLYmHW+f7J7KgcY2lkq8EMRqKonRl0XoD4Wp5SJkgAxKJnsaIOlrrVNTfXYf+YOu3VCjm/Ac2hPF2nfsCIA== dependencies: - "@jest/types" "^25.2.6" + "@jest/types" "^25.3.0" jest-regex-util "^25.2.6" - jest-snapshot "^25.2.7" + jest-snapshot "^25.3.0" jest-resolve@^25.2.6: version "25.2.6" @@ -4644,57 +4748,69 @@ jest-resolve@^25.2.6: realpath-native "^2.0.0" resolve "^1.15.1" -jest-runner@^25.2.7: - version "25.2.7" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-25.2.7.tgz#3676c01dc0104caa8a0ebb8507df382c88f2a1e2" - integrity sha512-RFEr71nMrtNwcpoHzie5+fe1w3JQCGMyT2xzNwKe3f88+bK+frM2o1v24gEcPxQ2QqB3COMCe2+1EkElP+qqqQ== +jest-resolve@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-25.3.0.tgz#cb90a5bbea54a02eccdbbf4126a819595dcf91d6" + integrity sha512-IHoQAAybulsJ+ZgWis+ekYKDAoFkVH5Nx/znpb41zRtpxj4fr2WNV9iDqavdSm8GIpMlsfZxbC/fV9DhW0q9VQ== dependencies: - "@jest/console" "^25.2.6" - "@jest/environment" "^25.2.6" - "@jest/test-result" "^25.2.6" - "@jest/types" "^25.2.6" + "@jest/types" "^25.3.0" + browser-resolve "^1.11.3" + chalk "^3.0.0" + jest-pnp-resolver "^1.2.1" + realpath-native "^2.0.0" + resolve "^1.15.1" + +jest-runner@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-25.3.0.tgz#673ef2ac79d2810eb6b2c1a3f82398375a3d1174" + integrity sha512-csDqSC9qGHYWDrzrElzEgFbteztFeZJmKhSgY5jlCIcN0+PhActzRNku0DA1Xa1HxGOb0/AfbP1EGJlP4fGPtA== + dependencies: + "@jest/console" "^25.3.0" + "@jest/environment" "^25.3.0" + "@jest/test-result" "^25.3.0" + "@jest/types" "^25.3.0" chalk "^3.0.0" exit "^0.1.2" graceful-fs "^4.2.3" - jest-config "^25.2.7" - jest-docblock "^25.2.6" - jest-haste-map "^25.2.6" - jest-jasmine2 "^25.2.7" - jest-leak-detector "^25.2.6" - jest-message-util "^25.2.6" - jest-resolve "^25.2.6" - jest-runtime "^25.2.7" - jest-util "^25.2.6" + jest-config "^25.3.0" + jest-docblock "^25.3.0" + jest-haste-map "^25.3.0" + jest-jasmine2 "^25.3.0" + jest-leak-detector "^25.3.0" + jest-message-util "^25.3.0" + jest-resolve "^25.3.0" + jest-runtime "^25.3.0" + jest-util "^25.3.0" jest-worker "^25.2.6" source-map-support "^0.5.6" throat "^5.0.0" -jest-runtime@^25.2.7: - version "25.2.7" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-25.2.7.tgz#cb10e695d036671a83aec3a3803163c354043ac9" - integrity sha512-Gw3X8KxTTFylu2T/iDSNKRUQXQiPIYUY0b66GwVYa7W8wySkUljKhibQHSq0VhmCAN7vRBEQjlVQ+NFGNmQeBw== +jest-runtime@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-25.3.0.tgz#af4d40dbcc590fa5de9910cb6a120a13d131050b" + integrity sha512-gn5KYB1wxXRM3nfw8fVpthFu60vxQUCr+ShGq41+ZBFF3DRHZRKj3HDWVAVB4iTNBj2y04QeAo5cZ/boYaPg0w== dependencies: - "@jest/console" "^25.2.6" - "@jest/environment" "^25.2.6" + "@jest/console" "^25.3.0" + "@jest/environment" "^25.3.0" "@jest/source-map" "^25.2.6" - "@jest/test-result" "^25.2.6" - "@jest/transform" "^25.2.6" - "@jest/types" "^25.2.6" + "@jest/test-result" "^25.3.0" + "@jest/transform" "^25.3.0" + "@jest/types" "^25.3.0" "@types/yargs" "^15.0.0" chalk "^3.0.0" collect-v8-coverage "^1.0.0" exit "^0.1.2" glob "^7.1.3" graceful-fs "^4.2.3" - jest-config "^25.2.7" - jest-haste-map "^25.2.6" - jest-message-util "^25.2.6" - jest-mock "^25.2.6" + jest-config "^25.3.0" + jest-haste-map "^25.3.0" + jest-message-util "^25.3.0" + jest-mock "^25.3.0" jest-regex-util "^25.2.6" - jest-resolve "^25.2.6" - jest-snapshot "^25.2.7" - jest-util "^25.2.6" - jest-validate "^25.2.6" + jest-resolve "^25.3.0" + jest-snapshot "^25.3.0" + jest-util "^25.3.0" + jest-validate "^25.3.0" realpath-native "^2.0.0" slash "^3.0.0" strip-bom "^4.0.0" @@ -4718,7 +4834,7 @@ jest-snapshot-serializer-raw@1.1.0: resolved "https://registry.yarnpkg.com/jest-snapshot-serializer-raw/-/jest-snapshot-serializer-raw-1.1.0.tgz#1d7f09c02f3dbbc3ae70b5b7598fb2f45e37d6c8" integrity sha512-OL3bXRCnSn7Kur3YTGYj+A3Hwh2eyb5QL5VLQ9OSsPBOva7r3sCB0Jf1rOT/KN3ypzH42hrkDz96lpbiMo+AlQ== -jest-snapshot@^25.1.0, jest-snapshot@^25.2.7: +jest-snapshot@^25.1.0: version "25.2.7" resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-25.2.7.tgz#7eeafeef4dcbda1c47c8503d2bf5212b6430aac6" integrity sha512-Rm8k7xpGM4tzmYhB6IeRjsOMkXaU8/FOz5XlU6oYwhy53mq6txVNqIKqN1VSiexzpC80oWVxVDfUDt71M6XPOA== @@ -4738,6 +4854,26 @@ jest-snapshot@^25.1.0, jest-snapshot@^25.2.7: pretty-format "^25.2.6" semver "^6.3.0" +jest-snapshot@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-25.3.0.tgz#d4feb457494f4aaedcc83fbbf1ca21808fc3df71" + integrity sha512-GGpR6Oro2htJPKh5RX4PR1xwo5jCEjtvSPLW1IS7N85y+2bWKbiknHpJJRKSdGXghElb5hWaeQASJI4IiRayGg== + dependencies: + "@babel/types" "^7.0.0" + "@jest/types" "^25.3.0" + "@types/prettier" "^1.19.0" + chalk "^3.0.0" + expect "^25.3.0" + jest-diff "^25.3.0" + jest-get-type "^25.2.6" + jest-matcher-utils "^25.3.0" + jest-message-util "^25.3.0" + jest-resolve "^25.3.0" + make-dir "^3.0.0" + natural-compare "^1.4.0" + pretty-format "^25.3.0" + semver "^6.3.0" + jest-util@^25.2.6: version "25.2.6" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-25.2.6.tgz#3c1c95cdfd653126728b0ed861a86610e30d569c" @@ -4748,17 +4884,27 @@ jest-util@^25.2.6: is-ci "^2.0.0" make-dir "^3.0.0" -jest-validate@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-25.2.6.tgz#ab3631fb97e242c42b09ca53127abe0b12e9125e" - integrity sha512-a4GN7hYbqQ3Rt9iHsNLFqQz7HDV7KiRPCwPgo5nqtTIWNZw7gnT8KchG+Riwh+UTSn8REjFCodGp50KX/fRNgQ== +jest-util@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-25.3.0.tgz#e3b0064165818f10d78514696fd25efba82cf049" + integrity sha512-dc625P/KS/CpWTJJJxKc4bA3A6c+PJGBAqS8JTJqx4HqPoKNqXg/Ec8biL2Z1TabwK7E7Ilf0/ukSEXM1VwzNA== dependencies: - "@jest/types" "^25.2.6" + "@jest/types" "^25.3.0" + chalk "^3.0.0" + is-ci "^2.0.0" + make-dir "^3.0.0" + +jest-validate@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-25.3.0.tgz#eb95fdee0039647bcd5d4be641b21e4a142a880c" + integrity sha512-3WuXgIZ4HXUvW6gk9twFFkT9j6zUorKnF2oEY8VEsHb7x5LGvVlN3WUsbqazVKuyXwvikO2zFJ/YTySMsMje2w== + dependencies: + "@jest/types" "^25.3.0" camelcase "^5.3.1" chalk "^3.0.0" jest-get-type "^25.2.6" leven "^3.1.0" - pretty-format "^25.2.6" + pretty-format "^25.3.0" jest-watch-typeahead@0.5.0: version "0.5.0" @@ -4773,7 +4919,7 @@ jest-watch-typeahead@0.5.0: string-length "^3.1.0" strip-ansi "^6.0.0" -jest-watcher@^25.2.4, jest-watcher@^25.2.7: +jest-watcher@^25.2.4: version "25.2.7" resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-25.2.7.tgz#01db4332d34d14c03c9ef22255125a3b07f997bc" integrity sha512-RdHuW+f49tahWtluTnUdZ2iPliebleROI2L/J5phYrUS6DPC9RB3SuUtqYyYhGZJsbvRSuLMIlY/cICJ+PIecw== @@ -4785,6 +4931,18 @@ jest-watcher@^25.2.4, jest-watcher@^25.2.7: jest-util "^25.2.6" string-length "^3.1.0" +jest-watcher@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-25.3.0.tgz#fd03fd5ca52f02bd3161ab177466bf1bfdd34e5c" + integrity sha512-dtFkfidFCS9Ucv8azOg2hkiY3sgJEHeTLtGFHS+jfBEE7eRtrO6+2r1BokyDkaG2FOD7485r/SgpC1MFAENfeA== + dependencies: + "@jest/test-result" "^25.3.0" + "@jest/types" "^25.3.0" + ansi-escapes "^4.2.1" + chalk "^3.0.0" + jest-util "^25.3.0" + string-length "^3.1.0" + jest-worker@^24.9.0: version "24.9.0" resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-24.9.0.tgz#5dbfdb5b2d322e98567898238a9697bcce67b3e5" @@ -4801,14 +4959,14 @@ jest-worker@^25.1.0, jest-worker@^25.2.6: merge-stream "^2.0.0" supports-color "^7.0.0" -jest@25.2.7: - version "25.2.7" - resolved "https://registry.yarnpkg.com/jest/-/jest-25.2.7.tgz#3929a5f35cdd496f7756876a206b99a94e1e09ae" - integrity sha512-XV1n/CE2McCikl4tfpCY950RytHYvxdo/wvtgmn/qwA8z1s16fuvgFL/KoPrrmkqJTaPMUlLVE58pwiaTX5TdA== +jest@25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/jest/-/jest-25.3.0.tgz#7a5e59741d94b8662664c77a9f346246d6bf228b" + integrity sha512-iKd5ShQSHzFT5IL/6h5RZJhApgqXSoPxhp5HEi94v6OAw9QkF8T7X+liEU2eEHJ1eMFYTHmeWLrpBWulsDpaUg== dependencies: - "@jest/core" "^25.2.7" + "@jest/core" "^25.3.0" import-local "^3.0.2" - jest-cli "^25.2.7" + jest-cli "^25.3.0" "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" @@ -6013,6 +6171,16 @@ pretty-format@^25.1.0, pretty-format@^25.2.6: ansi-styles "^4.0.0" react-is "^16.12.0" +pretty-format@^25.3.0: + version "25.3.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-25.3.0.tgz#d0a4f988ff4a6cd350342fdabbb809aeb4d49ad5" + integrity sha512-wToHwF8bkQknIcFkBqNfKu4+UZqnrLn/Vr+wwKQwwvPzkBfDDKp/qIabFqdgtoi5PEnM8LFByVsOrHoa3SpTVA== + dependencies: + "@jest/types" "^25.3.0" + ansi-regex "^5.0.0" + ansi-styles "^4.0.0" + react-is "^16.12.0" + private@^0.1.8: version "0.1.8" resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" From dc9e7e0b45871d2502bb8853b7dd85739f670af7 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2020 13:45:03 +0300 Subject: [PATCH 0026/2034] Bump @babel/code-frame from 7.5.5 to 7.8.3 (#7316) Bumps [@babel/code-frame](https://github.com/babel/babel) from 7.5.5 to 7.8.3. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md) - [Commits](https://github.com/babel/babel/compare/v7.5.5...v7.8.3) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 11 ++--------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index e16afca6a9..1c8d548c89 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@angular/compiler": "9.0.5", - "@babel/code-frame": "7.8.0", + "@babel/code-frame": "7.8.3", "@babel/parser": "7.9.4", "@glimmer/syntax": "0.50.1", "@iarna/toml": "2.2.3", diff --git a/yarn.lock b/yarn.lock index d9efdc0fc6..b647ea61e2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14,14 +14,7 @@ dependencies: "@babel/highlight" "^7.0.0" -"@babel/code-frame@7.8.0": - version "7.8.0" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.0.tgz#8c98d4ac29d6f80f28127b1bc50970a72086c5ac" - integrity sha512-AN2IR/wCUYsM+PdErq6Bp3RFTXl8W0p9Nmymm7zkpsCmh+r/YYcckaCGpU8Q/mEKmST19kkGRaG42A/jxOWwBA== - dependencies: - "@babel/highlight" "^7.8.0" - -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5", "@babel/code-frame@^7.8.3": +"@babel/code-frame@7.8.3", "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5", "@babel/code-frame@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" integrity sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g== @@ -259,7 +252,7 @@ "@babel/traverse" "^7.9.0" "@babel/types" "^7.9.0" -"@babel/highlight@^7.0.0", "@babel/highlight@^7.8.0", "@babel/highlight@^7.8.3": +"@babel/highlight@^7.0.0", "@babel/highlight@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.8.3.tgz#28f173d04223eaaa59bc1d439a3836e6d1265797" integrity sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg== From aa3141c24e7f5205237d0a79247a1ded97d5efc0 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Fri, 10 Apr 2020 19:12:01 +0800 Subject: [PATCH 0027/2034] Wrap tests in `describe` (#7934) * Run `format()` in test function * Wrap `test`s in `describe` * Update tests_config/run_spec.js Co-Authored-By: Georgii Dolzhykov Co-authored-by: Georgii Dolzhykov --- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- tests/arrays/__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- tests/arrows/__snapshots__/jsfmt.spec.js.snap | 40 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../babylon/__snapshots__/jsfmt.spec.js.snap | 2 +- tests/async/__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../big-int/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 30 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 24 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../classes/__snapshots__/jsfmt.spec.js.snap | 18 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../comments/__snapshots__/jsfmt.spec.js.snap | 124 +- .../__snapshots__/jsfmt.spec.js.snap | 24 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 48 +- .../__snapshots__/jsfmt.spec.js.snap | 20 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../css_bom/__snapshots__/jsfmt.spec.js.snap | 2 +- .../css_case/__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 36 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../css_grid/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../css_less/__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../css_scss/__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 24 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../css_yaml/__snapshots__/jsfmt.spec.js.snap | 26 +- tests/cursor/__snapshots__/jsfmt.spec.js.snap | 44 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 18 +- .../__snapshots__/jsfmt.spec.js.snap | 18 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 14 +- tests/do/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- tests/empty/__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 20 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- tests/export/__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../exports/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../abnormal/__snapshots__/jsfmt.spec.js.snap | 6 +- .../annot/__snapshots__/jsfmt.spec.js.snap | 14 +- .../any/__snapshots__/jsfmt.spec.js.snap | 4 +- .../annot2/__snapshots__/jsfmt.spec.js.snap | 6 +- .../flow/any/__snapshots__/jsfmt.spec.js.snap | 14 +- .../arith/__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../arraylib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../arrays/__snapshots__/jsfmt.spec.js.snap | 4 +- .../arrows/__snapshots__/jsfmt.spec.js.snap | 4 +- .../async/__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../lib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../binary/__snapshots__/jsfmt.spec.js.snap | 2 +- .../binding/__snapshots__/jsfmt.spec.js.snap | 8 +- .../flow/bom/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../break/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../builtins/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../lib/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../lib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../callable/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../classes/__snapshots__/jsfmt.spec.js.snap | 18 +- .../closure/__snapshots__/jsfmt.spec.js.snap | 6 +- .../commonjs/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 14 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../dir/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../src/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../testproj/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../subdir/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../ignore/__snapshots__/jsfmt.spec.js.snap | 4 +- .../no_flow/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../coverage/__snapshots__/jsfmt.spec.js.snap | 8 +- .../cycle/__snapshots__/jsfmt.spec.js.snap | 4 +- .../date/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../_d3/__snapshots__/jsfmt.spec.js.snap | 2 +- .../foo/bar/__snapshots__/jsfmt.spec.js.snap | 2 +- .../ws/__snapshots__/jsfmt.spec.js.snap | 2 +- .../ws/test/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../_d3/__snapshots__/jsfmt.spec.js.snap | 2 +- .../foo/bar/__snapshots__/jsfmt.spec.js.snap | 2 +- .../ws/__snapshots__/jsfmt.spec.js.snap | 2 +- .../ws/test/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../lib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 58 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../lib/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../demo/1/__snapshots__/jsfmt.spec.js.snap | 2 +- .../demo/2/__snapshots__/jsfmt.spec.js.snap | 4 +- .../deps/__snapshots__/jsfmt.spec.js.snap | 18 +- .../__snapshots__/jsfmt.spec.js.snap | 20 +- .../__snapshots__/jsfmt.spec.js.snap | 14 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 18 +- .../flow/dom/__snapshots__/jsfmt.spec.js.snap | 24 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../encaps/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../equals/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 68 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../lib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../fetch/__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../fixpoint/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../flow/for/__snapshots__/jsfmt.spec.js.snap | 6 +- .../forof/__snapshots__/jsfmt.spec.js.snap | 2 +- .../function/__snapshots__/jsfmt.spec.js.snap | 12 +- .../funrec/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 14 +- .../generics/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../get-def/__snapshots__/jsfmt.spec.js.snap | 8 +- .../helpers/__snapshots__/jsfmt.spec.js.snap | 4 +- .../get-def2/__snapshots__/jsfmt.spec.js.snap | 10 +- .../lib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../models/__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../dir1/__snapshots__/jsfmt.spec.js.snap | 2 +- .../dir2/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 22 +- .../batman/__snapshots__/jsfmt.spec.js.snap | 2 +- .../included/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../tmp1/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp2/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp3/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../tmp1/__snapshots__/jsfmt.spec.js.snap | 4 +- .../tmp2/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp3/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../tmp1/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../tmp1/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../dir/__snapshots__/jsfmt.spec.js.snap | 2 +- .../indexer/__snapshots__/jsfmt.spec.js.snap | 4 +- .../init/__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 14 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../lib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../iter/__snapshots__/jsfmt.spec.js.snap | 2 +- .../iterable/__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../lib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../keys/__snapshots__/jsfmt.spec.js.snap | 2 +- .../keyvalue/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../flow/lib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../lib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../liberr/__snapshots__/jsfmt.spec.js.snap | 2 +- .../libs/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../librec/__snapshots__/jsfmt.spec.js.snap | 2 +- .../lib/A/__snapshots__/jsfmt.spec.js.snap | 2 +- .../lib/B/__snapshots__/jsfmt.spec.js.snap | 2 +- .../literal/__snapshots__/jsfmt.spec.js.snap | 6 +- .../locals/__snapshots__/jsfmt.spec.js.snap | 4 +- .../logical/__snapshots__/jsfmt.spec.js.snap | 2 +- .../loners/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../misc/__snapshots__/jsfmt.spec.js.snap | 14 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../lib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../src/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../modules/__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 36 +- .../fakelib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 20 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../_d3/__snapshots__/jsfmt.spec.js.snap | 2 +- .../foo/bar/__snapshots__/jsfmt.spec.js.snap | 2 +- .../ws/__snapshots__/jsfmt.spec.js.snap | 2 +- .../ws/test/__snapshots__/jsfmt.spec.js.snap | 2 +- .../root/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../assert/__snapshots__/jsfmt.spec.js.snap | 2 +- .../basic/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../bar_lib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../buffer/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../crypto/__snapshots__/jsfmt.spec.js.snap | 2 +- .../fs/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../package2/__snapshots__/jsfmt.spec.js.snap | 2 +- .../os/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../bar_lib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../foo/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../process/__snapshots__/jsfmt.spec.js.snap | 2 +- .../stream/__snapshots__/jsfmt.spec.js.snap | 2 +- .../timers/__snapshots__/jsfmt.spec.js.snap | 2 +- .../url/__snapshots__/jsfmt.spec.js.snap | 2 +- .../nullable/__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 18 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../objects/__snapshots__/jsfmt.spec.js.snap | 8 +- .../objmap/__snapshots__/jsfmt.spec.js.snap | 2 +- .../optional/__snapshots__/jsfmt.spec.js.snap | 26 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../overload/__snapshots__/jsfmt.spec.js.snap | 10 +- .../lib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../parse/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../path/__snapshots__/jsfmt.spec.js.snap | 2 +- .../plsummit/__snapshots__/jsfmt.spec.js.snap | 12 +- .../poly/__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../decls/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 24 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../private/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../promises/__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../react/__snapshots__/jsfmt.spec.js.snap | 44 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../flow/rec/__snapshots__/jsfmt.spec.js.snap | 14 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../dir1B/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp1A/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp2A/__snapshots__/jsfmt.spec.js.snap | 2 +- .../recheck/__snapshots__/jsfmt.spec.js.snap | 52 +- .../tmp1a/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp1b/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp1c/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp1d/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp1e/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp1f/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp1g/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp1h/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp1i/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp1j/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp2a/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp2b/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp2c/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp2e/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp2f/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp3e/__snapshots__/jsfmt.spec.js.snap | 4 +- .../tmp3f/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmp4f/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmpk/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tmplibk/__snapshots__/jsfmt.spec.js.snap | 4 +- .../record/__snapshots__/jsfmt.spec.js.snap | 2 +- .../refi/__snapshots__/jsfmt.spec.js.snap | 18 +- .../__snapshots__/jsfmt.spec.js.snap | 58 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../regexp/__snapshots__/jsfmt.spec.js.snap | 2 +- .../replace/__snapshots__/jsfmt.spec.js.snap | 2 +- .../require/__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../return/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../seal/__snapshots__/jsfmt.spec.js.snap | 4 +- .../sealed/__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../shape/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../spread/__snapshots__/jsfmt.spec.js.snap | 14 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../lib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../statics/__snapshots__/jsfmt.spec.js.snap | 4 +- .../strict/__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../suggest/__snapshots__/jsfmt.spec.js.snap | 4 +- .../super/__snapshots__/jsfmt.spec.js.snap | 8 +- .../suppress/__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../switch/__snapshots__/jsfmt.spec.js.snap | 8 +- .../symbol/__snapshots__/jsfmt.spec.js.snap | 2 +- .../symlink/__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../taint/__snapshots__/jsfmt.spec.js.snap | 24 +- .../template/__snapshots__/jsfmt.spec.js.snap | 2 +- .../this/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 20 +- .../lib/__snapshots__/jsfmt.spec.js.snap | 2 +- .../throw/__snapshots__/jsfmt.spec.js.snap | 2 +- .../traces/__snapshots__/jsfmt.spec.js.snap | 4 +- .../traits/__snapshots__/jsfmt.spec.js.snap | 4 +- .../flow/try/__snapshots__/jsfmt.spec.js.snap | 8 +- .../tuples/__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 22 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../libs/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../typecast/__snapshots__/jsfmt.spec.js.snap | 2 +- .../typeof/__snapshots__/jsfmt.spec.js.snap | 2 +- .../unary/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../unicode/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../union/__snapshots__/jsfmt.spec.js.snap | 36 +- .../__snapshots__/jsfmt.spec.js.snap | 88 +- .../lib/__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../value/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../weakmode/__snapshots__/jsfmt.spec.js.snap | 4 +- .../while/__snapshots__/jsfmt.spec.js.snap | 4 +- .../window/__snapshots__/jsfmt.spec.js.snap | 4 +- tests/flow/x/__snapshots__/jsfmt.spec.js.snap | 2 +- .../flow_all/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 20 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 28 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 32 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../flow_jsx/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 20 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- tests/for/__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../function/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 22 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 20 +- .../__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 26 +- .../__snapshots__/jsfmt.spec.js.snap | 80 +- .../__snapshots__/jsfmt.spec.js.snap | 22 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 22 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 60 +- .../html_css/__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../html_js/__snapshots__/jsfmt.spec.js.snap | 14 +- .../html_lwc/__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../html_svg/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 80 +- .../html_vue/__snapshots__/jsfmt.spec.js.snap | 102 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 20 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- tests/if/__snapshots__/jsfmt.spec.js.snap | 8 +- tests/ignore/__snapshots__/jsfmt.spec.js.snap | 2 +- tests/import/__snapshots__/jsfmt.spec.js.snap | 24 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../css/__snapshots__/jsfmt.spec.js.snap | 6 +- .../graphql/__snapshots__/jsfmt.spec.js.snap | 4 +- .../html/__snapshots__/jsfmt.spec.js.snap | 4 +- .../js/__snapshots__/jsfmt.spec.js.snap | 12 +- .../json/__snapshots__/jsfmt.spec.js.snap | 2 +- .../json5/__snapshots__/jsfmt.spec.js.snap | 4 +- .../markdown/__snapshots__/jsfmt.spec.js.snap | 6 +- .../vue/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../js_empty/__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- tests/json/__snapshots__/jsfmt.spec.js.snap | 120 +- .../__snapshots__/jsfmt.spec.js.snap | 48 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- tests/jsx-do/__snapshots__/jsfmt.spec.js.snap | 2 +- .../jsx-fbt/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- tests/jsx/__snapshots__/jsfmt.spec.js.snap | 120 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- tests/label/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 16 +- tests/line/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../literal/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../markdown/__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 24 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 24 +- .../__snapshots__/jsfmt.spec.js.snap | 24 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 120 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 36 +- .../__snapshots__/jsfmt.spec.js.snap | 1214 ++++++++--------- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- tests/mdx/__snapshots__/jsfmt.spec.js.snap | 24 +- tests/member/__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 38 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../newline/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../no-semi/__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../objects/__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 32 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- tests/quotes/__snapshots__/jsfmt.spec.js.snap | 12 +- tests/range/__snapshots__/jsfmt.spec.js.snap | 44 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- tests/regex/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../css/__snapshots__/jsfmt.spec.js.snap | 14 +- .../graphql/__snapshots__/jsfmt.spec.js.snap | 4 +- .../html/__snapshots__/jsfmt.spec.js.snap | 4 +- .../js/__snapshots__/jsfmt.spec.js.snap | 8 +- .../json/__snapshots__/jsfmt.spec.js.snap | 2 +- .../json5/__snapshots__/jsfmt.spec.js.snap | 4 +- .../markdown/__snapshots__/jsfmt.spec.js.snap | 14 +- .../vue/__snapshots__/jsfmt.spec.js.snap | 4 +- .../require/__snapshots__/jsfmt.spec.js.snap | 2 +- tests/rest/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- tests/return/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../shebang/__snapshots__/jsfmt.spec.js.snap | 4 +- tests/spread/__snapshots__/jsfmt.spec.js.snap | 2 +- .../strings/__snapshots__/jsfmt.spec.js.snap | 8 +- .../at-apply/__snapshots__/jsfmt.spec.js.snap | 2 +- .../at-media/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../charset/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../comment/__snapshots__/jsfmt.spec.js.snap | 2 +- .../content/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../data-url/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../ie-hacks/__snapshots__/jsfmt.spec.js.snap | 2 +- .../import/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../nested-2/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../nested/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../readme/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../values/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- tests/switch/__snapshots__/jsfmt.spec.js.snap | 10 +- .../tabWith/__snapshots__/jsfmt.spec.js.snap | 8 +- .../template/__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 18 +- .../__snapshots__/jsfmt.spec.js.snap | 56 +- .../__snapshots__/jsfmt.spec.js.snap | 20 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 36 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- tests/try/__snapshots__/jsfmt.spec.js.snap | 6 +- .../compiler/__snapshots__/jsfmt.spec.js.snap | 40 +- .../ambient/__snapshots__/jsfmt.spec.js.snap | 2 +- .../classes/__snapshots__/jsfmt.spec.js.snap | 14 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 50 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 22 +- .../comments/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../Symbols/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../ambient/__snapshots__/jsfmt.spec.js.snap | 2 +- .../any/__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 18 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../never/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../symbol/__snapshots__/jsfmt.spec.js.snap | 2 +- .../thisType/__snapshots__/jsfmt.spec.js.snap | 2 +- .../tuple/__snapshots__/jsfmt.spec.js.snap | 28 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../union/__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../abstract/__snapshots__/jsfmt.spec.js.snap | 6 +- .../call/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../declare/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../module/__snapshots__/jsfmt.spec.js.snap | 6 +- .../new/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../webhost/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 26 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 18 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 20 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 18 +- .../__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 12 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- tests/unary/__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../unicode/__snapshots__/jsfmt.spec.js.snap | 6 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- tests/while/__snapshots__/jsfmt.spec.js.snap | 2 +- tests/with/__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 56 +- .../__snapshots__/jsfmt.spec.js.snap | 52 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 150 +- .../__snapshots__/jsfmt.spec.js.snap | 144 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 72 +- .../__snapshots__/jsfmt.spec.js.snap | 36 +- .../__snapshots__/jsfmt.spec.js.snap | 10 +- .../__snapshots__/jsfmt.spec.js.snap | 16 +- .../__snapshots__/jsfmt.spec.js.snap | 4 +- .../__snapshots__/jsfmt.spec.js.snap | 8 +- .../__snapshots__/jsfmt.spec.js.snap | 28 +- .../__snapshots__/jsfmt.spec.js.snap | 772 +++++------ tests/yield/__snapshots__/jsfmt.spec.js.snap | 6 +- tests_config/run_spec.js | 208 +-- 921 files changed, 4552 insertions(+), 4552 deletions(-) diff --git a/tests/angular_component_examples/__snapshots__/jsfmt.spec.js.snap b/tests/angular_component_examples/__snapshots__/jsfmt.spec.js.snap index d72d36c363..406ef72587 100644 --- a/tests/angular_component_examples/__snapshots__/jsfmt.spec.js.snap +++ b/tests/angular_component_examples/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.component.ts 1`] = ` +exports[`test.component.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -47,7 +47,7 @@ class TestComponent {} ================================================================================ `; -exports[`test.component.ts 2`] = ` +exports[`test.component.ts format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/angular_interpolation/__snapshots__/jsfmt.spec.js.snap b/tests/angular_interpolation/__snapshots__/jsfmt.spec.js.snap index 6a2fb8fcbc..bd6a7eb1ba 100644 --- a/tests/angular_interpolation/__snapshots__/jsfmt.spec.js.snap +++ b/tests/angular_interpolation/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`logical-expression.ng 1`] = ` +exports[`logical-expression.ng format 1`] = ` ====================================options===================================== parsers: ["__ng_interpolation"] printWidth: 80 @@ -21,7 +21,7 @@ trailingComma: "none" ================================================================================ `; -exports[`pipe-expression.ng 1`] = ` +exports[`pipe-expression.ng format 1`] = ` ====================================options===================================== parsers: ["__ng_interpolation"] printWidth: 80 diff --git a/tests/array_spread/__snapshots__/jsfmt.spec.js.snap b/tests/array_spread/__snapshots__/jsfmt.spec.js.snap index 12ef0c6e68..51423c969e 100644 --- a/tests/array_spread/__snapshots__/jsfmt.spec.js.snap +++ b/tests/array_spread/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`multiple.js 1`] = ` +exports[`multiple.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 diff --git a/tests/arrays/__snapshots__/jsfmt.spec.js.snap b/tests/arrays/__snapshots__/jsfmt.spec.js.snap index 8a431f4428..01a33e0eab 100644 --- a/tests/arrays/__snapshots__/jsfmt.spec.js.snap +++ b/tests/arrays/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`empty.js 1`] = ` +exports[`empty.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -18,7 +18,7 @@ const b = ================================================================================ `; -exports[`holes-in-args.js 1`] = ` +exports[`holes-in-args.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -35,7 +35,7 @@ new Test().test().test([, 0]).test(); ================================================================================ `; -exports[`last.js 1`] = ` +exports[`last.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -55,7 +55,7 @@ printWidth: 80 ================================================================================ `; -exports[`nested.js 1`] = ` +exports[`nested.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -165,7 +165,7 @@ printWidth: 80 ================================================================================ `; -exports[`preserve_empty_lines.js 1`] = ` +exports[`preserve_empty_lines.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/arrow-call/__snapshots__/jsfmt.spec.js.snap b/tests/arrow-call/__snapshots__/jsfmt.spec.js.snap index 21bfd8ae5b..02c7b9af3c 100644 --- a/tests/arrow-call/__snapshots__/jsfmt.spec.js.snap +++ b/tests/arrow-call/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`arrow_call.js 1`] = ` +exports[`arrow_call.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -110,7 +110,7 @@ promise.then((result) => ================================================================================ `; -exports[`arrow_call.js 2`] = ` +exports[`arrow_call.js format 2`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -221,7 +221,7 @@ promise.then((result) => ================================================================================ `; -exports[`arrow_call.js 3`] = ` +exports[`arrow_call.js format 3`] = ` ====================================options===================================== arrowParens: "always" parsers: ["babel", "flow", "typescript"] diff --git a/tests/arrows/__snapshots__/jsfmt.spec.js.snap b/tests/arrows/__snapshots__/jsfmt.spec.js.snap index e1137dd5a0..6be562fd03 100644 --- a/tests/arrows/__snapshots__/jsfmt.spec.js.snap +++ b/tests/arrows/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`arrow_function_expression.js 1`] = ` +exports[`arrow_function_expression.js format 1`] = ` ====================================options===================================== arrowParens: "always" parsers: ["babel", "typescript"] @@ -84,7 +84,7 @@ a = (b) => { ================================================================================ `; -exports[`arrow_function_expression.js 2`] = ` +exports[`arrow_function_expression.js format 2`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["babel", "typescript"] @@ -168,7 +168,7 @@ a = b => { ================================================================================ `; -exports[`block_like.js 1`] = ` +exports[`block_like.js format 1`] = ` ====================================options===================================== arrowParens: "always" parsers: ["babel", "typescript"] @@ -183,7 +183,7 @@ a = () => ({} = this); ================================================================================ `; -exports[`block_like.js 2`] = ` +exports[`block_like.js format 2`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["babel", "typescript"] @@ -198,7 +198,7 @@ a = () => ({} = this); ================================================================================ `; -exports[`call.js 1`] = ` +exports[`call.js format 1`] = ` ====================================options===================================== arrowParens: "always" parsers: ["babel", "typescript"] @@ -995,7 +995,7 @@ foo( ================================================================================ `; -exports[`call.js 2`] = ` +exports[`call.js format 2`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["babel", "typescript"] @@ -1792,7 +1792,7 @@ foo( ================================================================================ `; -exports[`comment.js 1`] = ` +exports[`comment.js format 1`] = ` ====================================options===================================== arrowParens: "always" parsers: ["babel", "typescript"] @@ -1865,7 +1865,7 @@ export const bem = (block) => ================================================================================ `; -exports[`comment.js 2`] = ` +exports[`comment.js format 2`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["babel", "typescript"] @@ -1938,7 +1938,7 @@ export const bem = block => ================================================================================ `; -exports[`currying.js 1`] = ` +exports[`currying.js format 1`] = ` ====================================options===================================== arrowParens: "always" parsers: ["babel", "typescript"] @@ -1985,7 +1985,7 @@ const middleware = (options) => (req, res, next) => { ================================================================================ `; -exports[`currying.js 2`] = ` +exports[`currying.js format 2`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["babel", "typescript"] @@ -2032,7 +2032,7 @@ const middleware = options => (req, res, next) => { ================================================================================ `; -exports[`long-call-no-args.js 1`] = ` +exports[`long-call-no-args.js format 1`] = ` ====================================options===================================== arrowParens: "always" parsers: ["babel", "typescript"] @@ -2050,7 +2050,7 @@ veryLongCall( ================================================================================ `; -exports[`long-call-no-args.js 2`] = ` +exports[`long-call-no-args.js format 2`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["babel", "typescript"] @@ -2068,7 +2068,7 @@ veryLongCall( ================================================================================ `; -exports[`long-contents.js 1`] = ` +exports[`long-contents.js format 1`] = ` ====================================options===================================== arrowParens: "always" parsers: ["babel", "typescript"] @@ -2092,7 +2092,7 @@ const foo = () => { ================================================================================ `; -exports[`long-contents.js 2`] = ` +exports[`long-contents.js format 2`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["babel", "typescript"] @@ -2116,7 +2116,7 @@ const foo = () => { ================================================================================ `; -exports[`parens.js 1`] = ` +exports[`parens.js format 1`] = ` ====================================options===================================== arrowParens: "always" parsers: ["babel", "typescript"] @@ -2167,7 +2167,7 @@ foo((a) => b, d); ================================================================================ `; -exports[`parens.js 2`] = ` +exports[`parens.js format 2`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["babel", "typescript"] @@ -2218,7 +2218,7 @@ foo(a => b, d); ================================================================================ `; -exports[`short_body.js 1`] = ` +exports[`short_body.js format 1`] = ` ====================================options===================================== arrowParens: "always" parsers: ["babel", "typescript"] @@ -2243,7 +2243,7 @@ const initializeSnapshotState = ( ================================================================================ `; -exports[`short_body.js 2`] = ` +exports[`short_body.js format 2`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["babel", "typescript"] @@ -2268,7 +2268,7 @@ const initializeSnapshotState = ( ================================================================================ `; -exports[`type_params.js 1`] = ` +exports[`type_params.js format 1`] = ` ====================================options===================================== arrowParens: "always" parsers: ["babel", "typescript"] @@ -2283,7 +2283,7 @@ printWidth: 80 ================================================================================ `; -exports[`type_params.js 2`] = ` +exports[`type_params.js format 2`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["babel", "typescript"] diff --git a/tests/arrows_bind/__snapshots__/jsfmt.spec.js.snap b/tests/arrows_bind/__snapshots__/jsfmt.spec.js.snap index 143efa2709..78129e736e 100644 --- a/tests/arrows_bind/__snapshots__/jsfmt.spec.js.snap +++ b/tests/arrows_bind/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`arrows-bind.js 1`] = ` +exports[`arrows-bind.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/assignment/__snapshots__/jsfmt.spec.js.snap b/tests/assignment/__snapshots__/jsfmt.spec.js.snap index 7f17be2c1e..612ba6e92f 100644 --- a/tests/assignment/__snapshots__/jsfmt.spec.js.snap +++ b/tests/assignment/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`binaryish.js 1`] = ` +exports[`binaryish.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -28,7 +28,7 @@ computedDescriptionLines = ================================================================================ `; -exports[`destructuring.js 1`] = ` +exports[`destructuring.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -66,7 +66,7 @@ const { ================================================================================ `; -exports[`sequence.js 1`] = ` +exports[`sequence.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/assignment_comments/__snapshots__/jsfmt.spec.js.snap b/tests/assignment_comments/__snapshots__/jsfmt.spec.js.snap index 08130fb905..3d5a24805d 100644 --- a/tests/assignment_comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/assignment_comments/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`function.js 1`] = ` +exports[`function.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -126,7 +126,7 @@ let f6 = ================================================================================ `; -exports[`identifier.js 1`] = ` +exports[`identifier.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -151,7 +151,7 @@ const bifornCringerMoshedPerplexSawder = // !!! ================================================================================ `; -exports[`number.js 1`] = ` +exports[`number.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -247,7 +247,7 @@ var fnNumber = ================================================================================ `; -exports[`string.js 1`] = ` +exports[`string.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/assignment_expression/__snapshots__/jsfmt.spec.js.snap b/tests/assignment_expression/__snapshots__/jsfmt.spec.js.snap index 07140ba95b..c2ead9968c 100644 --- a/tests/assignment_expression/__snapshots__/jsfmt.spec.js.snap +++ b/tests/assignment_expression/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`assignment_expression.js 1`] = ` +exports[`assignment_expression.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/assignment_expression/babylon/__snapshots__/jsfmt.spec.js.snap b/tests/assignment_expression/babylon/__snapshots__/jsfmt.spec.js.snap index b956f2bed0..52711a82e7 100644 --- a/tests/assignment_expression/babylon/__snapshots__/jsfmt.spec.js.snap +++ b/tests/assignment_expression/babylon/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`logical-assignment.js 1`] = ` +exports[`logical-assignment.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/async/__snapshots__/jsfmt.spec.js.snap b/tests/async/__snapshots__/jsfmt.spec.js.snap index da07ca9767..886fc25c41 100644 --- a/tests/async/__snapshots__/jsfmt.spec.js.snap +++ b/tests/async/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`async-iteration.js 1`] = ` +exports[`async-iteration.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -31,7 +31,7 @@ class X { ================================================================================ `; -exports[`await_parse.js 1`] = ` +exports[`await_parse.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -75,7 +75,7 @@ async () => { ================================================================================ `; -exports[`conditional-expression.js 1`] = ` +exports[`conditional-expression.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -113,7 +113,7 @@ async function f2() { ================================================================================ `; -exports[`inline_await.js 1`] = ` +exports[`inline_await.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -137,7 +137,7 @@ async function f() { ================================================================================ `; -exports[`parens.js 1`] = ` +exports[`parens.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/async/top-level-await/__snapshots__/jsfmt.spec.js.snap b/tests/async/top-level-await/__snapshots__/jsfmt.spec.js.snap index 8fe2305913..04b2cd75cf 100644 --- a/tests/async/top-level-await/__snapshots__/jsfmt.spec.js.snap +++ b/tests/async/top-level-await/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`example.js 1`] = ` +exports[`example.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript"] printWidth: 80 diff --git a/tests/big-int/__snapshots__/jsfmt.spec.js.snap b/tests/big-int/__snapshots__/jsfmt.spec.js.snap index 9d91dfc228..1d89e67e71 100644 --- a/tests/big-int/__snapshots__/jsfmt.spec.js.snap +++ b/tests/big-int/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`literal.js 1`] = ` +exports[`literal.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 diff --git a/tests/binary-expressions/__snapshots__/jsfmt.spec.js.snap b/tests/binary-expressions/__snapshots__/jsfmt.spec.js.snap index f4d28e9200..6834236df4 100644 --- a/tests/binary-expressions/__snapshots__/jsfmt.spec.js.snap +++ b/tests/binary-expressions/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`arrow.js 1`] = ` +exports[`arrow.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -52,7 +52,7 @@ function f() { ================================================================================ `; -exports[`bitwise-flags.js 1`] = ` +exports[`bitwise-flags.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -74,7 +74,7 @@ const all = FLAG_A | FLAG_B | FLAG_C; ================================================================================ `; -exports[`call.js 1`] = ` +exports[`call.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -204,7 +204,7 @@ printWidth: 80 ================================================================================ `; -exports[`comment.js 1`] = ` +exports[`comment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -226,7 +226,7 @@ a = ================================================================================ `; -exports[`equality.js 1`] = ` +exports[`equality.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -256,7 +256,7 @@ x !== y !== z; ================================================================================ `; -exports[`exp.js 1`] = ` +exports[`exp.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -286,7 +286,7 @@ a ** (b * c); ================================================================================ `; -exports[`if.js 1`] = ` +exports[`if.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -325,7 +325,7 @@ if ( ================================================================================ `; -exports[`inline-jsx.js 1`] = ` +exports[`inline-jsx.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -363,7 +363,7 @@ const avatar = (hasAvatar || showPlaceholder) && ( ================================================================================ `; -exports[`inline-object-array.js 1`] = ` +exports[`inline-object-array.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -557,7 +557,7 @@ const obj = { ================================================================================ `; -exports[`jsx_parent.js 1`] = ` +exports[`jsx_parent.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -641,7 +641,7 @@ printWidth: 80 ================================================================================ `; -exports[`math.js 1`] = ` +exports[`math.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -697,7 +697,7 @@ x & (y >> z); ================================================================================ `; -exports[`return.js 1`] = ` +exports[`return.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -744,7 +744,7 @@ function foo() { ================================================================================ `; -exports[`short-right.js 1`] = ` +exports[`short-right.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -791,7 +791,7 @@ defaultContent.filter((defaultLocale) => { ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -880,7 +880,7 @@ foo( ================================================================================ `; -exports[`unary.js 1`] = ` +exports[`unary.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/binary_math/__snapshots__/jsfmt.spec.js.snap b/tests/binary_math/__snapshots__/jsfmt.spec.js.snap index 26365f8ea2..3920e1462c 100644 --- a/tests/binary_math/__snapshots__/jsfmt.spec.js.snap +++ b/tests/binary_math/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`parens.js 1`] = ` +exports[`parens.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/bind_expressions/__snapshots__/jsfmt.spec.js.snap b/tests/bind_expressions/__snapshots__/jsfmt.spec.js.snap index 658c64b129..d14836eb47 100644 --- a/tests/bind_expressions/__snapshots__/jsfmt.spec.js.snap +++ b/tests/bind_expressions/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`await.js 1`] = ` +exports[`await.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -20,7 +20,7 @@ const doBothThings = async () => { ================================================================================ `; -exports[`await.js 2`] = ` +exports[`await.js format 2`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -41,7 +41,7 @@ const doBothThings = async () => { ================================================================================ `; -exports[`bind_parens.js 1`] = ` +exports[`bind_parens.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -121,7 +121,7 @@ f[a::b()]; ================================================================================ `; -exports[`bind_parens.js 2`] = ` +exports[`bind_parens.js format 2`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -202,7 +202,7 @@ f[a::b()] ================================================================================ `; -exports[`long_name_method.js 1`] = ` +exports[`long_name_method.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -232,7 +232,7 @@ class X { ================================================================================ `; -exports[`long_name_method.js 2`] = ` +exports[`long_name_method.js format 2`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -263,7 +263,7 @@ class X { ================================================================================ `; -exports[`method_chain.js 1`] = ` +exports[`method_chain.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -309,7 +309,7 @@ function test(observable) { ================================================================================ `; -exports[`method_chain.js 2`] = ` +exports[`method_chain.js format 2`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -356,7 +356,7 @@ function test(observable) { ================================================================================ `; -exports[`short_name_method.js 1`] = ` +exports[`short_name_method.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -385,7 +385,7 @@ class X { ================================================================================ `; -exports[`short_name_method.js 2`] = ` +exports[`short_name_method.js format 2`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -415,7 +415,7 @@ class X { ================================================================================ `; -exports[`unary.js 1`] = ` +exports[`unary.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -455,7 +455,7 @@ printWidth: 80 ================================================================================ `; -exports[`unary.js 2`] = ` +exports[`unary.js format 2`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/bracketSpacing/__snapshots__/jsfmt.spec.js.snap b/tests/bracketSpacing/__snapshots__/jsfmt.spec.js.snap index d3a902a174..40260d7048 100644 --- a/tests/bracketSpacing/__snapshots__/jsfmt.spec.js.snap +++ b/tests/bracketSpacing/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`array.js 1`] = ` +exports[`array.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -16,7 +16,7 @@ const arr2 = [1, 2, 3, 4]; ================================================================================ `; -exports[`array.js 2`] = ` +exports[`array.js format 2`] = ` ====================================options===================================== bracketSpacing: false parsers: ["flow", "typescript"] @@ -33,7 +33,7 @@ const arr2 = [1, 2, 3, 4]; ================================================================================ `; -exports[`object.js 1`] = ` +exports[`object.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -49,7 +49,7 @@ const obj2 = { a: 1, b: 2, c: 3 }; ================================================================================ `; -exports[`object.js 2`] = ` +exports[`object.js format 2`] = ` ====================================options===================================== bracketSpacing: false parsers: ["flow", "typescript"] diff --git a/tests/break-calls/__snapshots__/jsfmt.spec.js.snap b/tests/break-calls/__snapshots__/jsfmt.spec.js.snap index 3cb4792cef..325a2966c8 100644 --- a/tests/break-calls/__snapshots__/jsfmt.spec.js.snap +++ b/tests/break-calls/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`break.js 1`] = ` +exports[`break.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -102,7 +102,7 @@ expect( ================================================================================ `; -exports[`parent.js 1`] = ` +exports[`parent.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -132,7 +132,7 @@ runtimeAgent.getProperties( ================================================================================ `; -exports[`react.js 1`] = ` +exports[`react.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -232,7 +232,7 @@ function MyComponent(props) { ================================================================================ `; -exports[`type_args.js 1`] = ` +exports[`type_args.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/class_comment/__snapshots__/jsfmt.spec.js.snap b/tests/class_comment/__snapshots__/jsfmt.spec.js.snap index 6a23750c88..d4e9cd6950 100644 --- a/tests/class_comment/__snapshots__/jsfmt.spec.js.snap +++ b/tests/class_comment/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/class_extends/__snapshots__/jsfmt.spec.js.snap b/tests/class_extends/__snapshots__/jsfmt.spec.js.snap index 71476bb471..599cc37d1b 100644 --- a/tests/class_extends/__snapshots__/jsfmt.spec.js.snap +++ b/tests/class_extends/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`extends.js 1`] = ` +exports[`extends.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/classes/__snapshots__/jsfmt.spec.js.snap b/tests/classes/__snapshots__/jsfmt.spec.js.snap index 24bc148771..6ad5154cf7 100644 --- a/tests/classes/__snapshots__/jsfmt.spec.js.snap +++ b/tests/classes/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`binary.js 1`] = ` +exports[`binary.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -20,7 +20,7 @@ printWidth: 80 ================================================================================ `; -exports[`break.js 1`] = ` +exports[`break.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -105,7 +105,7 @@ export class VisTimelineComponent2 ================================================================================ `; -exports[`call.js 1`] = ` +exports[`call.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -119,7 +119,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty.js 1`] = ` +exports[`empty.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -157,7 +157,7 @@ class A4 { ================================================================================ `; -exports[`member.js 1`] = ` +exports[`member.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -173,7 +173,7 @@ printWidth: 80 ================================================================================ `; -exports[`method.js 1`] = ` +exports[`method.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -203,7 +203,7 @@ class C { ================================================================================ `; -exports[`new.js 1`] = ` +exports[`new.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -219,7 +219,7 @@ new Ctor(class {}); ================================================================================ `; -exports[`property.js 1`] = ` +exports[`property.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -267,7 +267,7 @@ class B { ================================================================================ `; -exports[`ternary.js 1`] = ` +exports[`ternary.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/classes/top-level-super/__snapshots__/jsfmt.spec.js.snap b/tests/classes/top-level-super/__snapshots__/jsfmt.spec.js.snap index e92c99de79..1e56130cfb 100644 --- a/tests/classes/top-level-super/__snapshots__/jsfmt.spec.js.snap +++ b/tests/classes/top-level-super/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`example.js 1`] = ` +exports[`example.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript"] printWidth: 80 diff --git a/tests/classes_private_fields/__snapshots__/jsfmt.spec.js.snap b/tests/classes_private_fields/__snapshots__/jsfmt.spec.js.snap index 95da820040..57bd03f935 100644 --- a/tests/classes_private_fields/__snapshots__/jsfmt.spec.js.snap +++ b/tests/classes_private_fields/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`private_fields.js 1`] = ` +exports[`private_fields.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -128,7 +128,7 @@ class F { ================================================================================ `; -exports[`private_fields.js 2`] = ` +exports[`private_fields.js format 2`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -257,7 +257,7 @@ class F { ================================================================================ `; -exports[`with_comments.js 1`] = ` +exports[`with_comments.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -283,7 +283,7 @@ class A { ================================================================================ `; -exports[`with_comments.js 2`] = ` +exports[`with_comments.js format 2`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/comments/__snapshots__/jsfmt.spec.js.snap b/tests/comments/__snapshots__/jsfmt.spec.js.snap index 685f6f170e..b05971f71b 100644 --- a/tests/comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/comments/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`arrow.js 1`] = ` +exports[`arrow.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -18,7 +18,7 @@ const fn2 = (/*event, data*/) => doSomething(anything); ================================================================================ `; -exports[`arrow.js 2`] = ` +exports[`arrow.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -37,7 +37,7 @@ const fn2 = (/*event, data*/) => doSomething(anything) ================================================================================ `; -exports[`assignment-pattern.js 1`] = ` +exports[`assignment-pattern.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -62,7 +62,7 @@ let { ================================================================================ `; -exports[`assignment-pattern.js 2`] = ` +exports[`assignment-pattern.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -88,7 +88,7 @@ let { ================================================================================ `; -exports[`before-comma.js 1`] = ` +exports[`before-comma.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -112,7 +112,7 @@ const foo = { ================================================================================ `; -exports[`before-comma.js 2`] = ` +exports[`before-comma.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -137,7 +137,7 @@ const foo = { ================================================================================ `; -exports[`binary-expressions.js 1`] = ` +exports[`binary-expressions.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -291,7 +291,7 @@ function bitwiseXor() { ================================================================================ `; -exports[`binary-expressions.js 2`] = ` +exports[`binary-expressions.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -446,7 +446,7 @@ function bitwiseXor() { ================================================================================ `; -exports[`blank.js 1`] = ` +exports[`blank.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -500,7 +500,7 @@ printWidth: 80 ================================================================================ `; -exports[`blank.js 2`] = ` +exports[`blank.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -555,7 +555,7 @@ semi: false ================================================================================ `; -exports[`break-continue-statements.js 1`] = ` +exports[`break-continue-statements.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -589,7 +589,7 @@ loop: for (;;) { ================================================================================ `; -exports[`break-continue-statements.js 2`] = ` +exports[`break-continue-statements.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -624,7 +624,7 @@ loop: for (;;) { ================================================================================ `; -exports[`call_comment.js 1`] = ` +exports[`call_comment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -667,7 +667,7 @@ render?.( ================================================================================ `; -exports[`call_comment.js 2`] = ` +exports[`call_comment.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -711,7 +711,7 @@ render?.( ================================================================================ `; -exports[`dangling.js 1`] = ` +exports[`dangling.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -755,7 +755,7 @@ export /* dangling */{}; ================================================================================ `; -exports[`dangling.js 2`] = ` +exports[`dangling.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -800,7 +800,7 @@ export /* dangling */{} ================================================================================ `; -exports[`dangling_array.js 1`] = ` +exports[`dangling_array.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -822,7 +822,7 @@ expect(() => {}).toTriggerReadyStateChanges([ ================================================================================ `; -exports[`dangling_array.js 2`] = ` +exports[`dangling_array.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -845,7 +845,7 @@ expect(() => {}).toTriggerReadyStateChanges([ ================================================================================ `; -exports[`dangling_for.js 1`] = ` +exports[`dangling_for.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -866,7 +866,7 @@ for (;;); ================================================================================ `; -exports[`dangling_for.js 2`] = ` +exports[`dangling_for.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -888,7 +888,7 @@ for (;;); ================================================================================ `; -exports[`dynamic_imports.js 1`] = ` +exports[`dynamic_imports.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -934,7 +934,7 @@ wrap(import(/* Hello */ "something")); ================================================================================ `; -exports[`dynamic_imports.js 2`] = ` +exports[`dynamic_imports.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -981,7 +981,7 @@ wrap(import(/* Hello */ "something")) ================================================================================ `; -exports[`emoji.js 1`] = ` +exports[`emoji.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -1003,7 +1003,7 @@ const test = "💖"; ================================================================================ `; -exports[`emoji.js 2`] = ` +exports[`emoji.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -1026,7 +1026,7 @@ const test = "💖" ================================================================================ `; -exports[`export.js 1`] = ` +exports[`export.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -1082,7 +1082,7 @@ export { ================================================================================ `; -exports[`export.js 2`] = ` +exports[`export.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -1139,7 +1139,7 @@ export { ================================================================================ `; -exports[`first-line.js 1`] = ` +exports[`first-line.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -1155,7 +1155,7 @@ b; ================================================================================ `; -exports[`first-line.js 2`] = ` +exports[`first-line.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -1172,7 +1172,7 @@ b ================================================================================ `; -exports[`function-declaration.js 1`] = ` +exports[`function-declaration.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -1306,7 +1306,7 @@ function foo4() { ================================================================================ `; -exports[`function-declaration.js 2`] = ` +exports[`function-declaration.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -1441,7 +1441,7 @@ function foo4() { ================================================================================ `; -exports[`if.js 1`] = ` +exports[`if.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -1587,7 +1587,7 @@ if (14) { ================================================================================ `; -exports[`if.js 2`] = ` +exports[`if.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -1734,7 +1734,7 @@ if (14) { ================================================================================ `; -exports[`issues.js 1`] = ` +exports[`issues.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -1897,7 +1897,7 @@ foo( ================================================================================ `; -exports[`issues.js 2`] = ` +exports[`issues.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -2061,7 +2061,7 @@ foo( ================================================================================ `; -exports[`jsdoc.js 1`] = ` +exports[`jsdoc.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -2124,7 +2124,7 @@ function HelloWorld() { ================================================================================ `; -exports[`jsdoc.js 2`] = ` +exports[`jsdoc.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -2188,7 +2188,7 @@ function HelloWorld() { ================================================================================ `; -exports[`jsx.js 1`] = ` +exports[`jsx.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -2429,7 +2429,7 @@ onClick={() => {}}> ================================================================================ `; -exports[`jsx.js 2`] = ` +exports[`jsx.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -2671,7 +2671,7 @@ onClick={() => {}}> ================================================================================ `; -exports[`last-arg.js 1`] = ` +exports[`last-arg.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -2863,7 +2863,7 @@ class Foo { ================================================================================ `; -exports[`last-arg.js 2`] = ` +exports[`last-arg.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -3056,7 +3056,7 @@ class Foo { ================================================================================ `; -exports[`preserve-new-line-last.js 1`] = ` +exports[`preserve-new-line-last.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -3110,7 +3110,7 @@ function name() { ================================================================================ `; -exports[`preserve-new-line-last.js 2`] = ` +exports[`preserve-new-line-last.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -3165,7 +3165,7 @@ function name() { ================================================================================ `; -exports[`return-statement.js 1`] = ` +exports[`return-statement.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -3427,7 +3427,7 @@ function inlineComment() { ================================================================================ `; -exports[`return-statement.js 2`] = ` +exports[`return-statement.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -3690,7 +3690,7 @@ function inlineComment() { ================================================================================ `; -exports[`single-star-jsdoc.js 1`] = ` +exports[`single-star-jsdoc.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -3762,7 +3762,7 @@ if (true) { ================================================================================ `; -exports[`single-star-jsdoc.js 2`] = ` +exports[`single-star-jsdoc.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -3835,7 +3835,7 @@ if (true) { ================================================================================ `; -exports[`switch.js 1`] = ` +exports[`switch.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -3922,7 +3922,7 @@ switch (foo) { ================================================================================ `; -exports[`switch.js 2`] = ` +exports[`switch.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -4010,7 +4010,7 @@ switch (foo) { ================================================================================ `; -exports[`tagged-template-literal.js 1`] = ` +exports[`tagged-template-literal.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -4051,7 +4051,7 @@ foo /* comment */\` ================================================================================ `; -exports[`tagged-template-literal.js 2`] = ` +exports[`tagged-template-literal.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -4093,7 +4093,7 @@ foo /* comment */\` ================================================================================ `; -exports[`template-literal.js 1`] = ` +exports[`template-literal.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -4131,7 +4131,7 @@ d //comment ================================================================================ `; -exports[`template-literal.js 2`] = ` +exports[`template-literal.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -4170,7 +4170,7 @@ d //comment ================================================================================ `; -exports[`trailing_space.js 1`] = ` +exports[`trailing_space.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -4192,7 +4192,7 @@ printWidth: 80 ================================================================================ `; -exports[`trailing_space.js 2`] = ` +exports[`trailing_space.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -4215,7 +4215,7 @@ semi: false ================================================================================ `; -exports[`trailing-jsdocs.js 1`] = ` +exports[`trailing-jsdocs.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -4276,7 +4276,7 @@ const CONNECTION_STATUS = (exports.CONNECTION_STATUS = { ================================================================================ `; -exports[`trailing-jsdocs.js 2`] = ` +exports[`trailing-jsdocs.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -4338,7 +4338,7 @@ const CONNECTION_STATUS = (exports.CONNECTION_STATUS = { ================================================================================ `; -exports[`try.js 1`] = ` +exports[`try.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -4377,7 +4377,7 @@ try { ================================================================================ `; -exports[`try.js 2`] = ` +exports[`try.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -4417,7 +4417,7 @@ try { ================================================================================ `; -exports[`variable_declarator.js 1`] = ` +exports[`variable_declarator.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -4567,7 +4567,7 @@ const foo3 = 123; ================================================================================ `; -exports[`variable_declarator.js 2`] = ` +exports[`variable_declarator.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -4718,7 +4718,7 @@ const foo3 = 123 ================================================================================ `; -exports[`while.js 1`] = ` +exports[`while.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -4773,7 +4773,7 @@ while (true) /* comment */ ++x; ================================================================================ `; -exports[`while.js 2`] = ` +exports[`while.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/comments_closure_typecast/__snapshots__/jsfmt.spec.js.snap b/tests/comments_closure_typecast/__snapshots__/jsfmt.spec.js.snap index 956729ad26..f699c00664 100644 --- a/tests/comments_closure_typecast/__snapshots__/jsfmt.spec.js.snap +++ b/tests/comments_closure_typecast/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`binary-expr.js 1`] = ` +exports[`binary-expr.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -15,7 +15,7 @@ var a = b || /** @type {string} */ (c); ================================================================================ `; -exports[`closure-compiler-type-cast.js 1`] = ` +exports[`closure-compiler-type-cast.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -149,7 +149,7 @@ const style2 = /** ================================================================================ `; -exports[`comment-in-the-middle.js 1`] = ` +exports[`comment-in-the-middle.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -183,7 +183,7 @@ console.log(a.foo()); ================================================================================ `; -exports[`comment-placement.js 1`] = ` +exports[`comment-placement.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -228,7 +228,7 @@ const foo5 = /** @type {string} */ (value); ================================================================================ `; -exports[`extra-spaces-and-asterisks.js 1`] = ` +exports[`extra-spaces-and-asterisks.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -256,7 +256,7 @@ const foo8 = /** @type {!Foo} ** * * */ (bar); ================================================================================ `; -exports[`iife.js 1`] = ` +exports[`iife.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -290,7 +290,7 @@ const helpers = /** @type {Helpers} */ (/** @param {Partial} helpers */ ================================================================================ `; -exports[`issue-4124.js 1`] = ` +exports[`issue-4124.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -338,7 +338,7 @@ const test = /** @type (function (*): ?|undefined) */ (foo); ================================================================================ `; -exports[`member.js 1`] = ` +exports[`member.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -352,7 +352,7 @@ foo = /** @type {!Baz} */ (baz).bar; ================================================================================ `; -exports[`nested.js 1`] = ` +exports[`nested.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -380,7 +380,7 @@ const BarImpl = /** @type {BarConstructor} */ ( ================================================================================ `; -exports[`non-casts.js 1`] = ` +exports[`non-casts.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -428,7 +428,7 @@ const w1 = /** @typefoo Foo */ value; ================================================================================ `; -exports[`object-with-comment.js 1`] = ` +exports[`object-with-comment.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -463,7 +463,7 @@ const objectWithComment2 = /** @type MyType */ ( ================================================================================ `; -exports[`ways-to-specify-type.js 1`] = ` +exports[`ways-to-specify-type.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/comments_jsx_same_line/__snapshots__/jsfmt.spec.js.snap b/tests/comments_jsx_same_line/__snapshots__/jsfmt.spec.js.snap index c52d390c0f..0f42ba764d 100644 --- a/tests/comments_jsx_same_line/__snapshots__/jsfmt.spec.js.snap +++ b/tests/comments_jsx_same_line/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`jsx_same_line.js 1`] = ` +exports[`jsx_same_line.js format 1`] = ` ====================================options===================================== jsxBracketSameLine: true parsers: ["flow", "babel", "typescript"] diff --git a/tests/comments_pipeline_own_line/__snapshots__/jsfmt.spec.js.snap b/tests/comments_pipeline_own_line/__snapshots__/jsfmt.spec.js.snap index 1140363635..f42b4e1b8f 100644 --- a/tests/comments_pipeline_own_line/__snapshots__/jsfmt.spec.js.snap +++ b/tests/comments_pipeline_own_line/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`pipeline_own_line.js 1`] = ` +exports[`pipeline_own_line.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/computed_props/__snapshots__/jsfmt.spec.js.snap b/tests/computed_props/__snapshots__/jsfmt.spec.js.snap index 60dadc7cd3..f79ec9545f 100644 --- a/tests/computed_props/__snapshots__/jsfmt.spec.js.snap +++ b/tests/computed_props/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`classes.js 1`] = ` +exports[`classes.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/conditional/__snapshots__/jsfmt.spec.js.snap b/tests/conditional/__snapshots__/jsfmt.spec.js.snap index 9f1355bfd8..27216d6b1d 100644 --- a/tests/conditional/__snapshots__/jsfmt.spec.js.snap +++ b/tests/conditional/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -89,7 +89,7 @@ const { configureStore } = ================================================================================ `; -exports[`new-expression.js 1`] = ` +exports[`new-expression.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -107,7 +107,7 @@ const testConsole = new TestConsole( ================================================================================ `; -exports[`no-confusing-arrow.js 1`] = ` +exports[`no-confusing-arrow.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/css_atrule/__snapshots__/jsfmt.spec.js.snap b/tests/css_atrule/__snapshots__/jsfmt.spec.js.snap index 242282b7ec..bdc72efb37 100644 --- a/tests/css_atrule/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_atrule/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`at-root.css 1`] = ` +exports[`at-root.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -479,7 +479,7 @@ red ================================================================================ `; -exports[`charset.css 1`] = ` +exports[`charset.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -503,7 +503,7 @@ printWidth: 80 ================================================================================ `; -exports[`counter-style.css 1`] = ` +exports[`counter-style.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -617,7 +617,7 @@ suffix ================================================================================ `; -exports[`custom-media.css 1`] = ` +exports[`custom-media.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -753,7 +753,7 @@ max-width ================================================================================ `; -exports[`custom-selector.css 1`] = ` +exports[`custom-selector.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -877,7 +877,7 @@ h6 ================================================================================ `; -exports[`debug.css 1`] = ` +exports[`debug.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -919,7 +919,7 @@ printWidth: 80 ================================================================================ `; -exports[`each.css 1`] = ` +exports[`each.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -1214,7 +1214,7 @@ h3 ================================================================================ `; -exports[`extend.css 1`] = ` +exports[`extend.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -1472,7 +1472,7 @@ a.important { ================================================================================ `; -exports[`font-face.css 1`] = ` +exports[`font-face.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -1604,7 +1604,7 @@ format( ================================================================================ `; -exports[`font-feature-values.css 1`] = ` +exports[`font-feature-values.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -1699,7 +1699,7 @@ nice-style ================================================================================ `; -exports[`for.css 1`] = ` +exports[`for.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -1809,7 +1809,7 @@ through ================================================================================ `; -exports[`function.css 1`] = ` +exports[`function.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -1942,7 +1942,7 @@ $args ================================================================================ `; -exports[`if-else.css 1`] = ` +exports[`if-else.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -2229,7 +2229,7 @@ p { ================================================================================ `; -exports[`import.css 1`] = ` +exports[`import.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -2413,7 +2413,7 @@ $family: unquote("Droid+Sans"); ================================================================================ `; -exports[`include.css 1`] = ` +exports[`include.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -2635,7 +2635,7 @@ a { ================================================================================ `; -exports[`keyframes.css 1`] = ` +exports[`keyframes.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -3015,7 +3015,7 @@ margin-top: 100px; ================================================================================ `; -exports[`media.css 1`] = ` +exports[`media.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -3347,7 +3347,7 @@ black ================================================================================ `; -exports[`mixin.css 1`] = ` +exports[`mixin.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -3527,7 +3527,7 @@ $background ================================================================================ `; -exports[`namespaces.css 1`] = ` +exports[`namespaces.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -3599,7 +3599,7 @@ url("http://example.com/foo/very/very/very/very/very/very/very/very/very/very/ve ================================================================================ `; -exports[`page.css 1`] = ` +exports[`page.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -3719,7 +3719,7 @@ margin ================================================================================ `; -exports[`return.css 1`] = ` +exports[`return.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -3905,7 +3905,7 @@ $gutter-width ================================================================================ `; -exports[`supports.css 1`] = ` +exports[`supports.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -4347,7 +4347,7 @@ run-in ================================================================================ `; -exports[`viewport.css 1`] = ` +exports[`viewport.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -4442,7 +4442,7 @@ max-width ================================================================================ `; -exports[`while.css 1`] = ` +exports[`while.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_attribute/__snapshots__/jsfmt.spec.js.snap b/tests/css_attribute/__snapshots__/jsfmt.spec.js.snap index fcb0473a79..7ac2a2fbc6 100644 --- a/tests/css_attribute/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_attribute/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`custom-selector.css 1`] = ` +exports[`custom-selector.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -31,7 +31,7 @@ class ================================================================================ `; -exports[`custom-selector.css 2`] = ` +exports[`custom-selector.css format 2`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -63,7 +63,7 @@ class ================================================================================ `; -exports[`insensitive.css 1`] = ` +exports[`insensitive.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -84,7 +84,7 @@ section:has(:not([type="radio" i], [type="checkbox" i])) { ================================================================================ `; -exports[`insensitive.css 2`] = ` +exports[`insensitive.css format 2`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -106,7 +106,7 @@ section:has(:not([type='radio' i], [type='checkbox' i])) { ================================================================================ `; -exports[`namespaces.css 1`] = ` +exports[`namespaces.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -132,7 +132,7 @@ printWidth: 80 ================================================================================ `; -exports[`namespaces.css 2`] = ` +exports[`namespaces.css format 2`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -159,7 +159,7 @@ singleQuote: true ================================================================================ `; -exports[`quotes.css 1`] = ` +exports[`quotes.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -195,7 +195,7 @@ section:has(:not([type="radio"], [type="checkbox"])) { ================================================================================ `; -exports[`quotes.css 2`] = ` +exports[`quotes.css format 2`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -232,7 +232,7 @@ section:has(:not([type='radio'], [type='checkbox'])) { ================================================================================ `; -exports[`spaces.css 1`] = ` +exports[`spaces.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -473,7 +473,7 @@ section:has(:not([type="radio" i], [type="checkbox" i])) { ================================================================================ `; -exports[`spaces.css 2`] = ` +exports[`spaces.css format 2`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_atword/__snapshots__/jsfmt.spec.js.snap b/tests/css_atword/__snapshots__/jsfmt.spec.js.snap index 19b3a886be..c00912dc61 100644 --- a/tests/css_atword/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_atword/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`atword.css 1`] = ` +exports[`atword.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_bom/__snapshots__/jsfmt.spec.js.snap b/tests/css_bom/__snapshots__/jsfmt.spec.js.snap index e8385a3e22..b2cdf86648 100644 --- a/tests/css_bom/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_bom/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`bom.css 1`] = ` +exports[`bom.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_case/__snapshots__/jsfmt.spec.js.snap b/tests/css_case/__snapshots__/jsfmt.spec.js.snap index 7602059915..198f84a6f1 100644 --- a/tests/css_case/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_case/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`case.css 1`] = ` +exports[`case.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -137,7 +137,7 @@ x-panel { ================================================================================ `; -exports[`case.less 1`] = ` +exports[`case.less format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -459,7 +459,7 @@ TABLE { ================================================================================ `; -exports[`case.scss 1`] = ` +exports[`case.scss format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -776,7 +776,7 @@ TABLE { ================================================================================ `; -exports[`custom-selectors.css 1`] = ` +exports[`custom-selectors.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_character_escaping/__snapshots__/jsfmt.spec.js.snap b/tests/css_character_escaping/__snapshots__/jsfmt.spec.js.snap index 7e11fdf0b2..f3dc941475 100644 --- a/tests/css_character_escaping/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_character_escaping/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`character_escaping.css 1`] = ` +exports[`character_escaping.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_colon/__snapshots__/jsfmt.spec.js.snap b/tests/css_colon/__snapshots__/jsfmt.spec.js.snap index 3b6b836d58..c743f6d89d 100644 --- a/tests/css_colon/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_colon/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`colon.css 1`] = ` +exports[`colon.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_color/__snapshots__/jsfmt.spec.js.snap b/tests/css_color/__snapshots__/jsfmt.spec.js.snap index ff26961a0a..6eb531ee4e 100644 --- a/tests/css_color/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_color/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`color-adjuster.css 1`] = ` +exports[`color-adjuster.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -257,7 +257,7 @@ printWidth: 80 ================================================================================ `; -exports[`current-color.css 1`] = ` +exports[`current-color.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -277,7 +277,7 @@ printWidth: 80 ================================================================================ `; -exports[`functional-syntax.css 1`] = ` +exports[`functional-syntax.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -305,7 +305,7 @@ printWidth: 80 ================================================================================ `; -exports[`hexcolor.css 1`] = ` +exports[`hexcolor.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -335,7 +335,7 @@ printWidth: 80 ================================================================================ `; -exports[`whitespace-syntax.css 1`] = ` +exports[`whitespace-syntax.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_combinator/__snapshots__/jsfmt.spec.js.snap b/tests/css_combinator/__snapshots__/jsfmt.spec.js.snap index 95abef9b22..6b3003da0a 100644 --- a/tests/css_combinator/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_combinator/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`combinator.css 1`] = ` +exports[`combinator.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -40,7 +40,7 @@ printWidth: 80 ================================================================================ `; -exports[`leading.css 1`] = ` +exports[`leading.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_comments/__snapshots__/jsfmt.spec.js.snap b/tests/css_comments/__snapshots__/jsfmt.spec.js.snap index 947f04d46a..671a3b2f57 100644 --- a/tests/css_comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_comments/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`CRLF.css 1`] = ` +exports[`CRLF.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -50,7 +50,7 @@ printWidth: 80 ================================================================================ `; -exports[`CRLF.less 1`] = ` +exports[`CRLF.less format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -112,7 +112,7 @@ printWidth: 80 ================================================================================ `; -exports[`CRLF.scss 1`] = ` +exports[`CRLF.scss format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -204,7 +204,7 @@ $light-blue: $nice-blue + #111; ================================================================================ `; -exports[`at-rules.css 1`] = ` +exports[`at-rules.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -420,7 +420,7 @@ printWidth: 80 ================================================================================ `; -exports[`block.css 1`] = ` +exports[`block.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -444,7 +444,7 @@ printWidth: 80 ================================================================================ `; -exports[`bug.css 1`] = ` +exports[`bug.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -480,7 +480,7 @@ printWidth: 80 ================================================================================ `; -exports[`declaration.css 1`] = ` +exports[`declaration.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -652,7 +652,7 @@ body { ================================================================================ `; -exports[`if-eslit-at-rule-decloration.scss 1`] = ` +exports[`if-eslit-at-rule-decloration.scss format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -689,7 +689,7 @@ printWidth: 80 ================================================================================ `; -exports[`lists.scss 1`] = ` +exports[`lists.scss format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -715,7 +715,7 @@ $my-list2: a // a ================================================================================ `; -exports[`maps.scss 1`] = ` +exports[`maps.scss format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -737,7 +737,7 @@ $my-map: ( ================================================================================ `; -exports[`places.css 1`] = ` +exports[`places.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -766,7 +766,7 @@ div { ================================================================================ `; -exports[`prettier-ignore.css 1`] = ` +exports[`prettier-ignore.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -796,7 +796,7 @@ foo { ================================================================================ `; -exports[`selectors.css 1`] = ` +exports[`selectors.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -1195,7 +1195,7 @@ article /* comment 168 */ :--heading /* comment 169 */ + /* comment 170 */ p /* ================================================================================ `; -exports[`selectors.scss 1`] = ` +exports[`selectors.scss format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -1334,7 +1334,7 @@ printWidth: 80 ================================================================================ `; -exports[`source-map.css 1`] = ` +exports[`source-map.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -1356,7 +1356,7 @@ printWidth: 80 ================================================================================ `; -exports[`trailing_star_slash.css 1`] = ` +exports[`trailing_star_slash.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -1377,7 +1377,7 @@ a { ================================================================================ `; -exports[`types.css 1`] = ` +exports[`types.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -1479,7 +1479,7 @@ span { ================================================================================ `; -exports[`variable-declaration.scss 1`] = ` +exports[`variable-declaration.scss format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_composes/__snapshots__/jsfmt.spec.js.snap b/tests/css_composes/__snapshots__/jsfmt.spec.js.snap index 4d1c2de156..8a99d44cc4 100644 --- a/tests/css_composes/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_composes/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`composes.css 1`] = ` +exports[`composes.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_empty/__snapshots__/jsfmt.spec.js.snap b/tests/css_empty/__snapshots__/jsfmt.spec.js.snap index aeb54f354e..52cf48acc3 100644 --- a/tests/css_empty/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_empty/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`empty.css 1`] = ` +exports[`empty.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_fill_value/__snapshots__/jsfmt.spec.js.snap b/tests/css_fill_value/__snapshots__/jsfmt.spec.js.snap index 8946ab6e03..3dab5c4620 100644 --- a/tests/css_fill_value/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_fill_value/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`fill.css 1`] = ` +exports[`fill.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_grid/__snapshots__/jsfmt.spec.js.snap b/tests/css_grid/__snapshots__/jsfmt.spec.js.snap index 845c850379..563dc8d663 100644 --- a/tests/css_grid/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_grid/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`grid.css 1`] = ` +exports[`grid.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_important/__snapshots__/jsfmt.spec.js.snap b/tests/css_important/__snapshots__/jsfmt.spec.js.snap index 4dd54393c2..b42406c18a 100644 --- a/tests/css_important/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_important/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`important.css 1`] = ` +exports[`important.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_indent/__snapshots__/jsfmt.spec.js.snap b/tests/css_indent/__snapshots__/jsfmt.spec.js.snap index ebad29dead..e7457a6851 100644 --- a/tests/css_indent/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_indent/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`indent.css 1`] = ` +exports[`indent.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -27,7 +27,7 @@ div { ================================================================================ `; -exports[`selectors.css 1`] = ` +exports[`selectors.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_inline_url/__snapshots__/jsfmt.spec.js.snap b/tests/css_inline_url/__snapshots__/jsfmt.spec.js.snap index f13f6c6662..583d459ba9 100644 --- a/tests/css_inline_url/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_inline_url/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`empty.css 1`] = ` +exports[`empty.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -18,7 +18,7 @@ printWidth: 80 ================================================================================ `; -exports[`inline_url.css 1`] = ` +exports[`inline_url.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_less/__snapshots__/jsfmt.spec.js.snap b/tests/css_less/__snapshots__/jsfmt.spec.js.snap index 2bd5cff0b6..61895f4df3 100644 --- a/tests/css_less/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_less/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comments.less 1`] = ` +exports[`comments.less format 1`] = ` ====================================options===================================== parsers: ["less"] printWidth: 80 @@ -36,7 +36,7 @@ printWidth: 80 ================================================================================ `; -exports[`function-each.less 1`] = ` +exports[`function-each.less format 1`] = ` ====================================options===================================== parsers: ["less"] printWidth: 80 @@ -83,7 +83,7 @@ a: b; ================================================================================ `; -exports[`less.less 1`] = ` +exports[`less.less format 1`] = ` ====================================options===================================== parsers: ["less"] printWidth: 80 @@ -3412,7 +3412,7 @@ label { ================================================================================ `; -exports[`quotes-in-comments.less 1`] = ` +exports[`quotes-in-comments.less format 1`] = ` ====================================options===================================== parsers: ["less"] printWidth: 80 diff --git a/tests/css_long_rule/__snapshots__/jsfmt.spec.js.snap b/tests/css_long_rule/__snapshots__/jsfmt.spec.js.snap index c3b881cc7f..2c7db0c294 100644 --- a/tests/css_long_rule/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_long_rule/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`long_rule.css 1`] = ` +exports[`long_rule.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_loose/__snapshots__/jsfmt.spec.js.snap b/tests/css_loose/__snapshots__/jsfmt.spec.js.snap index 57cf76a881..b46c9237b2 100644 --- a/tests/css_loose/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_loose/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`loose.css 1`] = ` +exports[`loose.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_modules/__snapshots__/jsfmt.spec.js.snap b/tests/css_modules/__snapshots__/jsfmt.spec.js.snap index 6293a7fbcd..a18f2d0b81 100644 --- a/tests/css_modules/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_modules/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`modules.css 1`] = ` +exports[`modules.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_numbers/__snapshots__/jsfmt.spec.js.snap b/tests/css_numbers/__snapshots__/jsfmt.spec.js.snap index 2179041758..fead5945ce 100644 --- a/tests/css_numbers/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_numbers/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`numbers.css 1`] = ` +exports[`numbers.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_params/__snapshots__/jsfmt.spec.js.snap b/tests/css_params/__snapshots__/jsfmt.spec.js.snap index a939f44c97..eca90cc1c9 100644 --- a/tests/css_params/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_params/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`params.css 1`] = ` +exports[`params.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_parens/__snapshots__/jsfmt.spec.js.snap b/tests/css_parens/__snapshots__/jsfmt.spec.js.snap index 5ec5de007e..b51167b8ba 100644 --- a/tests/css_parens/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_parens/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`parens.css 1`] = ` +exports[`parens.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_postcss_plugins/__snapshots__/jsfmt.spec.js.snap b/tests/css_postcss_plugins/__snapshots__/jsfmt.spec.js.snap index bba002eac0..73edb604d3 100644 --- a/tests/css_postcss_plugins/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_postcss_plugins/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`postcss-mixins.css 1`] = ` +exports[`postcss-mixins.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -76,7 +76,7 @@ a { ================================================================================ `; -exports[`postcss-nested.css 1`] = ` +exports[`postcss-nested.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -116,7 +116,7 @@ printWidth: 80 ================================================================================ `; -exports[`postcss-nested-props.css 1`] = ` +exports[`postcss-nested-props.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -154,7 +154,7 @@ printWidth: 80 ================================================================================ `; -exports[`postcss-nesting.css 1`] = ` +exports[`postcss-nesting.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -581,7 +581,7 @@ a { ================================================================================ `; -exports[`postcss-simple-vars.css 1`] = ` +exports[`postcss-simple-vars.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_prefix/__snapshots__/jsfmt.spec.js.snap b/tests/css_prefix/__snapshots__/jsfmt.spec.js.snap index 37686279f9..75884e91e4 100644 --- a/tests/css_prefix/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_prefix/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`prefix.css 1`] = ` +exports[`prefix.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_pseudo_call/__snapshots__/jsfmt.spec.js.snap b/tests/css_pseudo_call/__snapshots__/jsfmt.spec.js.snap index 2539b02fd4..50ebc77cb6 100644 --- a/tests/css_pseudo_call/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_pseudo_call/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`pseudo_call.css 1`] = ` +exports[`pseudo_call.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_quotes/__snapshots__/jsfmt.spec.js.snap b/tests/css_quotes/__snapshots__/jsfmt.spec.js.snap index 54c6869334..183a7ce1e8 100644 --- a/tests/css_quotes/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_quotes/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`quotes.css 1`] = ` +exports[`quotes.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -196,7 +196,7 @@ one "two" three { ================================================================================ `; -exports[`quotes.css 2`] = ` +exports[`quotes.css format 2`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_scss/__snapshots__/jsfmt.spec.js.snap b/tests/css_scss/__snapshots__/jsfmt.spec.js.snap index c3ed95054a..b70b2ab515 100644 --- a/tests/css_scss/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_scss/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comments.scss 1`] = ` +exports[`comments.scss format 1`] = ` ====================================options===================================== parsers: ["scss"] printWidth: 80 @@ -37,7 +37,7 @@ trailingComma: "none" ================================================================================ `; -exports[`comments.scss 2`] = ` +exports[`comments.scss format 2`] = ` ====================================options===================================== parsers: ["scss"] printWidth: 80 @@ -73,7 +73,7 @@ printWidth: 80 ================================================================================ `; -exports[`import_comma.scss 1`] = ` +exports[`import_comma.scss format 1`] = ` ====================================options===================================== parsers: ["scss"] printWidth: 80 @@ -88,7 +88,7 @@ trailingComma: "none" ================================================================================ `; -exports[`import_comma.scss 2`] = ` +exports[`import_comma.scss format 2`] = ` ====================================options===================================== parsers: ["scss"] printWidth: 80 @@ -102,7 +102,7 @@ printWidth: 80 ================================================================================ `; -exports[`scss.scss 1`] = ` +exports[`scss.scss format 1`] = ` ====================================options===================================== parsers: ["scss"] printWidth: 80 @@ -2131,7 +2131,7 @@ label { ================================================================================ `; -exports[`scss.scss 2`] = ` +exports[`scss.scss format 2`] = ` ====================================options===================================== parsers: ["scss"] printWidth: 80 @@ -4159,7 +4159,7 @@ label { ================================================================================ `; -exports[`string-concatanation.scss 1`] = ` +exports[`string-concatanation.scss format 1`] = ` ====================================options===================================== parsers: ["scss"] printWidth: 80 @@ -4184,7 +4184,7 @@ a { ================================================================================ `; -exports[`string-concatanation.scss 2`] = ` +exports[`string-concatanation.scss format 2`] = ` ====================================options===================================== parsers: ["scss"] printWidth: 80 diff --git a/tests/css_selector_call/__snapshots__/jsfmt.spec.js.snap b/tests/css_selector_call/__snapshots__/jsfmt.spec.js.snap index 4b55829092..2903bc31c8 100644 --- a/tests/css_selector_call/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_selector_call/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`call.css 1`] = ` +exports[`call.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_selector_list/__snapshots__/jsfmt.spec.js.snap b/tests/css_selector_list/__snapshots__/jsfmt.spec.js.snap index 0a5ff7b41d..cdf0b1cb3e 100644 --- a/tests/css_selector_list/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_selector_list/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`selectors.css 1`] = ` +exports[`selectors.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_selector_string/__snapshots__/jsfmt.spec.js.snap b/tests/css_selector_string/__snapshots__/jsfmt.spec.js.snap index 878f91c3f9..c87448d9de 100644 --- a/tests/css_selector_string/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_selector_string/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`string.css 1`] = ` +exports[`string.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_trailing_comma/__snapshots__/jsfmt.spec.js.snap b/tests/css_trailing_comma/__snapshots__/jsfmt.spec.js.snap index 387b0efa05..2ecc7d4fba 100644 --- a/tests/css_trailing_comma/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_trailing_comma/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`at-rules.css 1`] = ` +exports[`at-rules.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -76,7 +76,7 @@ a { ================================================================================ `; -exports[`at-rules.css 2`] = ` +exports[`at-rules.css format 2`] = ` ====================================options===================================== parsers: ["scss"] printWidth: 80 @@ -151,7 +151,7 @@ a { ================================================================================ `; -exports[`declaration.css 1`] = ` +exports[`declaration.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -170,7 +170,7 @@ a { ================================================================================ `; -exports[`declaration.css 2`] = ` +exports[`declaration.css format 2`] = ` ====================================options===================================== parsers: ["scss"] printWidth: 80 @@ -188,7 +188,7 @@ a { ================================================================================ `; -exports[`list.css 1`] = ` +exports[`list.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -294,7 +294,7 @@ $breakpoint-map: ( ================================================================================ `; -exports[`list.css 2`] = ` +exports[`list.css format 2`] = ` ====================================options===================================== parsers: ["scss"] printWidth: 80 @@ -399,7 +399,7 @@ $breakpoint-map: ( ================================================================================ `; -exports[`map.css 1`] = ` +exports[`map.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -444,7 +444,7 @@ $map: ( ================================================================================ `; -exports[`map.css 2`] = ` +exports[`map.css format 2`] = ` ====================================options===================================== parsers: ["scss"] printWidth: 80 @@ -488,7 +488,7 @@ $map: ( ================================================================================ `; -exports[`selector_list.css 1`] = ` +exports[`selector_list.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -520,7 +520,7 @@ asdasldaskdhjkashdahsdkjahskdjhakjsdkjahsdhkasdhkajsdhakjsdhkajsdhjkahskjdkjahsj ================================================================================ `; -exports[`selector_list.css 2`] = ` +exports[`selector_list.css format 2`] = ` ====================================options===================================== parsers: ["scss"] printWidth: 80 @@ -551,7 +551,7 @@ asdasldaskdhjkashdahsdkjahskdjhakjsdkjahsdhkasdhkajsdhakjsdhkajsdhjkahskjdkjahsj ================================================================================ `; -exports[`variable.css 1`] = ` +exports[`variable.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -569,7 +569,7 @@ $margin: 0, 2em, 0, 1.5em; ================================================================================ `; -exports[`variable.css 2`] = ` +exports[`variable.css format 2`] = ` ====================================options===================================== parsers: ["scss"] printWidth: 80 diff --git a/tests/css_variables/__snapshots__/jsfmt.spec.js.snap b/tests/css_variables/__snapshots__/jsfmt.spec.js.snap index c7c38305bd..f0d75e3421 100644 --- a/tests/css_variables/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_variables/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`variables.css 1`] = ` +exports[`variables.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -36,7 +36,7 @@ printWidth: 80 ================================================================================ `; -exports[`variables.scss 1`] = ` +exports[`variables.scss format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/css_yaml/__snapshots__/jsfmt.spec.js.snap b/tests/css_yaml/__snapshots__/jsfmt.spec.js.snap index 74f9c70177..2ac1b9903e 100644 --- a/tests/css_yaml/__snapshots__/jsfmt.spec.js.snap +++ b/tests/css_yaml/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comment_after.css 1`] = ` +exports[`comment_after.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -27,7 +27,7 @@ description: Description ================================================================================ `; -exports[`dirty.css 1`] = ` +exports[`dirty.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -60,7 +60,7 @@ a: ================================================================================ `; -exports[`empty.css 1`] = ` +exports[`empty.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -84,7 +84,7 @@ a { ================================================================================ `; -exports[`empty_newlines.css 1`] = ` +exports[`empty_newlines.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -113,7 +113,7 @@ a { ================================================================================ `; -exports[`ignore.css 1`] = ` +exports[`ignore.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -137,7 +137,7 @@ hello: world ================================================================================ `; -exports[`malformed.css 1`] = ` +exports[`malformed.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -158,7 +158,7 @@ a { ================================================================================ `; -exports[`malformed-2.css 1`] = ` +exports[`malformed-2.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -193,7 +193,7 @@ a { ================================================================================ `; -exports[`only_comments.css 1`] = ` +exports[`only_comments.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -223,7 +223,7 @@ a { ================================================================================ `; -exports[`with_comments.css 1`] = ` +exports[`with_comments.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -252,7 +252,7 @@ a { ================================================================================ `; -exports[`without-newline-after.css 1`] = ` +exports[`without-newline-after.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -279,7 +279,7 @@ a { ================================================================================ `; -exports[`yaml.css 1`] = ` +exports[`yaml.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -307,7 +307,7 @@ a { ================================================================================ `; -exports[`yaml.less 1`] = ` +exports[`yaml.less format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -335,7 +335,7 @@ a { ================================================================================ `; -exports[`yaml.scss 1`] = ` +exports[`yaml.scss format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/cursor/__snapshots__/jsfmt.spec.js.snap b/tests/cursor/__snapshots__/jsfmt.spec.js.snap index 214f876a59..ad0c547bf6 100644 --- a/tests/cursor/__snapshots__/jsfmt.spec.js.snap +++ b/tests/cursor/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comments-1.js 1`] = ` +exports[`comments-1.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -20,7 +20,7 @@ function ehllooo() { ================================================================================ `; -exports[`comments-2.js 1`] = ` +exports[`comments-2.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -39,7 +39,7 @@ const y = 5; ================================================================================ `; -exports[`comments-3.js 1`] = ` +exports[`comments-3.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -57,7 +57,7 @@ const y = 5; ================================================================================ `; -exports[`comments-4.js 1`] = ` +exports[`comments-4.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -77,7 +77,7 @@ const y = 5; ================================================================================ `; -exports[`cursor-0.js 1`] = ` +exports[`cursor-0.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -93,7 +93,7 @@ printWidth: 80 ================================================================================ `; -exports[`cursor-1.js 1`] = ` +exports[`cursor-1.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -109,7 +109,7 @@ printWidth: 80 ================================================================================ `; -exports[`cursor-2.js 1`] = ` +exports[`cursor-2.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -124,7 +124,7 @@ foo<|>(bar); ================================================================================ `; -exports[`cursor-3.js 1`] = ` +exports[`cursor-3.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -142,7 +142,7 @@ printWidth: 80 ================================================================================ `; -exports[`cursor-4.js 1`] = ` +exports[`cursor-4.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -164,7 +164,7 @@ const y = 5; ================================================================================ `; -exports[`cursor-5.js 1`] = ` +exports[`cursor-5.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -178,7 +178,7 @@ const /* h<|>i */ y = 5; ================================================================================ `; -exports[`cursor-6.js 1`] = ` +exports[`cursor-6.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -192,7 +192,7 @@ const y /* h<|>i */ = 5; ================================================================================ `; -exports[`cursor-7.js 1`] = ` +exports[`cursor-7.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -211,7 +211,7 @@ const z = 9; ================================================================================ `; -exports[`cursor-8.js 1`] = ` +exports[`cursor-8.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -224,7 +224,7 @@ func<|>tion banana() {} ================================================================================ `; -exports[`cursor-9.js 1`] = ` +exports[`cursor-9.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -237,7 +237,7 @@ thisWillBeFormatted<|>(2, 3); ================================================================================ `; -exports[`cursor-10.js 1`] = ` +exports[`cursor-10.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -256,7 +256,7 @@ const y = 5; ================================================================================ `; -exports[`file-start-with-comment-1.js 1`] = ` +exports[`file-start-with-comment-1.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -272,7 +272,7 @@ haha(); ================================================================================ `; -exports[`file-start-with-comment-2.js 1`] = ` +exports[`file-start-with-comment-2.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -288,7 +288,7 @@ haha()<|>; ================================================================================ `; -exports[`range-0.js 1`] = ` +exports[`range-0.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -310,7 +310,7 @@ thisWontBeFormatted ( 1 ,3) ================================================================================ `; -exports[`range-1.js 1`] = ` +exports[`range-1.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -332,7 +332,7 @@ thisWontBeFormatted ( 1 ,3) ================================================================================ `; -exports[`range-2.js 1`] = ` +exports[`range-2.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -354,7 +354,7 @@ thisWontBeFormatted ( 1 ,3) ================================================================================ `; -exports[`range-3.js 1`] = ` +exports[`range-3.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 @@ -376,7 +376,7 @@ thisWontBeFormatted <|> ( 1 ,3) ================================================================================ `; -exports[`range-4.js 1`] = ` +exports[`range-4.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 diff --git a/tests/cursor_css/__snapshots__/jsfmt.spec.js.snap b/tests/cursor_css/__snapshots__/jsfmt.spec.js.snap index d28873bc64..3453cb8c65 100644 --- a/tests/cursor_css/__snapshots__/jsfmt.spec.js.snap +++ b/tests/cursor_css/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.css 1`] = ` +exports[`test.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/decorator_comments/__snapshots__/jsfmt.spec.js.snap b/tests/decorator_comments/__snapshots__/jsfmt.spec.js.snap index 97f799759e..90e004701a 100644 --- a/tests/decorator_comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/decorator_comments/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript"] printWidth: 80 diff --git a/tests/decorators-ts/__snapshots__/jsfmt.spec.js.snap b/tests/decorators-ts/__snapshots__/jsfmt.spec.js.snap index 189725a3bb..887835e8e8 100644 --- a/tests/decorators-ts/__snapshots__/jsfmt.spec.js.snap +++ b/tests/decorators-ts/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`accessor-decorator.ts 1`] = ` +exports[`accessor-decorator.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -48,7 +48,7 @@ class Point { ================================================================================ `; -exports[`angular.ts 1`] = ` +exports[`angular.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -76,7 +76,7 @@ export class HeroButtonComponent { ================================================================================ `; -exports[`class-decorator.ts 1`] = ` +exports[`class-decorator.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -108,7 +108,7 @@ class Greeter { ================================================================================ `; -exports[`method-decorator.ts 1`] = ` +exports[`method-decorator.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -142,7 +142,7 @@ class Greeter { ================================================================================ `; -exports[`mobx.ts 1`] = ` +exports[`mobx.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -170,7 +170,7 @@ class X { ================================================================================ `; -exports[`multiple.ts 1`] = ` +exports[`multiple.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -192,7 +192,7 @@ class C { ================================================================================ `; -exports[`parameter-decorator.ts 1`] = ` +exports[`parameter-decorator.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -238,7 +238,7 @@ class Greeter { ================================================================================ `; -exports[`property-decorator.ts 1`] = ` +exports[`property-decorator.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -272,7 +272,7 @@ class Greeter { ================================================================================ `; -exports[`typeorm.ts 1`] = ` +exports[`typeorm.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/decorators/__snapshots__/jsfmt.spec.js.snap b/tests/decorators/__snapshots__/jsfmt.spec.js.snap index 30730d01c9..9ef233b776 100644 --- a/tests/decorators/__snapshots__/jsfmt.spec.js.snap +++ b/tests/decorators/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`classes.js 1`] = ` +exports[`classes.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -47,7 +47,7 @@ const bar = ================================================================================ `; -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -118,7 +118,7 @@ export class Bar {} ================================================================================ `; -exports[`methods.js 1`] = ` +exports[`methods.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -150,7 +150,7 @@ class Yo { ================================================================================ `; -exports[`mixed.js 1`] = ` +exports[`mixed.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -176,7 +176,7 @@ export default class MyComponent { ================================================================================ `; -exports[`mobx.js 1`] = ` +exports[`mobx.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -270,7 +270,7 @@ class OrderLine { ================================================================================ `; -exports[`multiline.js 1`] = ` +exports[`multiline.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -292,7 +292,7 @@ class Foo { ================================================================================ `; -exports[`multiple.js 1`] = ` +exports[`multiple.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -337,7 +337,7 @@ const foo = { ================================================================================ `; -exports[`parens.js 1`] = ` +exports[`parens.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -357,7 +357,7 @@ class X { ================================================================================ `; -exports[`redux.js 1`] = ` +exports[`redux.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/decorators_export/__snapshots__/jsfmt.spec.js.snap b/tests/decorators_export/__snapshots__/jsfmt.spec.js.snap index a9159bc46e..627d9c9578 100644 --- a/tests/decorators_export/__snapshots__/jsfmt.spec.js.snap +++ b/tests/decorators_export/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`after_export.js 1`] = ` +exports[`after_export.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -22,7 +22,7 @@ class {} ================================================================================ `; -exports[`before_export.js 1`] = ` +exports[`before_export.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/destructuring/__snapshots__/jsfmt.spec.js.snap b/tests/destructuring/__snapshots__/jsfmt.spec.js.snap index 46d5cf0dd7..c08aba2325 100644 --- a/tests/destructuring/__snapshots__/jsfmt.spec.js.snap +++ b/tests/destructuring/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`destructuring.js 1`] = ` +exports[`destructuring.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/directives/__snapshots__/jsfmt.spec.js.snap b/tests/directives/__snapshots__/jsfmt.spec.js.snap index 107b9d32e4..23eb5ca25c 100644 --- a/tests/directives/__snapshots__/jsfmt.spec.js.snap +++ b/tests/directives/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`escaped.js 1`] = ` +exports[`escaped.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -82,7 +82,7 @@ printWidth: 80 ================================================================================ `; -exports[`last-line-0.js 1`] = ` +exports[`last-line-0.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -95,7 +95,7 @@ printWidth: 80 ================================================================================ `; -exports[`last-line-1.js 1`] = ` +exports[`last-line-1.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -109,7 +109,7 @@ printWidth: 80 ================================================================================ `; -exports[`last-line-2.js 1`] = ` +exports[`last-line-2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -124,7 +124,7 @@ printWidth: 80 ================================================================================ `; -exports[`newline.js 1`] = ` +exports[`newline.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -150,7 +150,7 @@ a(); ================================================================================ `; -exports[`no-newline.js 1`] = ` +exports[`no-newline.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -166,7 +166,7 @@ a; ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/do/__snapshots__/jsfmt.spec.js.snap b/tests/do/__snapshots__/jsfmt.spec.js.snap index 1794a10c09..211b0d7c82 100644 --- a/tests/do/__snapshots__/jsfmt.spec.js.snap +++ b/tests/do/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`do.js 1`] = ` +exports[`do.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/dynamic_import/__snapshots__/jsfmt.spec.js.snap b/tests/dynamic_import/__snapshots__/jsfmt.spec.js.snap index 884a6d5596..29a8d1f07e 100644 --- a/tests/dynamic_import/__snapshots__/jsfmt.spec.js.snap +++ b/tests/dynamic_import/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/empty/__snapshots__/jsfmt.spec.js.snap b/tests/empty/__snapshots__/jsfmt.spec.js.snap index 3e9d8b9886..6f0724cdf9 100644 --- a/tests/empty/__snapshots__/jsfmt.spec.js.snap +++ b/tests/empty/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`empty 1`] = ` +exports[`empty format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "babel-flow", "babel-ts", "typescript", "css", "less", "scss", "json", "json5", "json-stringify", "graphql", "markdown", "mdx", "vue", "yaml", "html", "angular", "lwc"] printWidth: 80 @@ -12,7 +12,7 @@ printWidth: 80 ================================================================================ `; -exports[`newline 1`] = ` +exports[`newline format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "babel-flow", "babel-ts", "typescript", "css", "less", "scss", "json", "json5", "json-stringify", "graphql", "markdown", "mdx", "vue", "yaml", "html", "angular", "lwc"] printWidth: 80 @@ -25,7 +25,7 @@ printWidth: 80 ================================================================================ `; -exports[`space 1`] = ` +exports[`space format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "babel-flow", "babel-ts", "typescript", "css", "less", "scss", "json", "json5", "json-stringify", "graphql", "markdown", "mdx", "vue", "yaml", "html", "angular", "lwc"] printWidth: 80 @@ -38,7 +38,7 @@ printWidth: 80 ================================================================================ `; -exports[`space-newline 1`] = ` +exports[`space-newline format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "babel-flow", "babel-ts", "typescript", "css", "less", "scss", "json", "json5", "json-stringify", "graphql", "markdown", "mdx", "vue", "yaml", "html", "angular", "lwc"] printWidth: 80 diff --git a/tests/empty_paren_comment/__snapshots__/jsfmt.spec.js.snap b/tests/empty_paren_comment/__snapshots__/jsfmt.spec.js.snap index 1119298c2e..ae8cc9b5e3 100644 --- a/tests/empty_paren_comment/__snapshots__/jsfmt.spec.js.snap +++ b/tests/empty_paren_comment/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`class.js 1`] = ` +exports[`class.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -25,7 +25,7 @@ class x { ================================================================================ `; -exports[`empty_paren_comment.js 1`] = ` +exports[`empty_paren_comment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/empty_statement/__snapshots__/jsfmt.spec.js.snap b/tests/empty_statement/__snapshots__/jsfmt.spec.js.snap index 64ba6887f0..fea2c6a3b7 100644 --- a/tests/empty_statement/__snapshots__/jsfmt.spec.js.snap +++ b/tests/empty_statement/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`body.js 1`] = ` +exports[`body.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -29,7 +29,7 @@ while (1); ================================================================================ `; -exports[`no-newline.js 1`] = ` +exports[`no-newline.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/end_of_line/__snapshots__/jsfmt.spec.js.snap b/tests/end_of_line/__snapshots__/jsfmt.spec.js.snap index 6212d4daf4..b4c9c5f68f 100644 --- a/tests/end_of_line/__snapshots__/jsfmt.spec.js.snap +++ b/tests/end_of_line/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`example.js 1`] = ` +exports[`example.js format 1`] = ` ====================================options===================================== endOfLine: "lf" parsers: ["babel"] @@ -19,7 +19,7 @@ function f() { ================================================================================ `; -exports[`example.js 2`] = ` +exports[`example.js format 2`] = ` ====================================options===================================== endOfLine: "cr" parsers: ["babel"] @@ -38,7 +38,7 @@ function f() { ================================================================================ `; -exports[`example.js 3`] = ` +exports[`example.js format 3`] = ` ====================================options===================================== endOfLine: "crlf" parsers: ["babel"] @@ -57,7 +57,7 @@ function f() { ================================================================================ `; -exports[`multiline.js 1`] = ` +exports[`multiline.js format 1`] = ` ====================================options===================================== endOfLine: "lf" parsers: ["babel"] @@ -116,7 +116,7 @@ export const IAmIncredibleLongFunctionName = IAmAnotherFunctionName( ================================================================================ `; -exports[`multiline.js 2`] = ` +exports[`multiline.js format 2`] = ` ====================================options===================================== endOfLine: "cr" parsers: ["babel"] @@ -175,7 +175,7 @@ export const IAmIncredibleLongFunctionName = IAmAnotherFunctionName( ================================================================================ `; -exports[`multiline.js 3`] = ` +exports[`multiline.js format 3`] = ` ====================================options===================================== endOfLine: "crlf" parsers: ["babel"] diff --git a/tests/es6modules/__snapshots__/jsfmt.spec.js.snap b/tests/es6modules/__snapshots__/jsfmt.spec.js.snap index 8f66f4a021..6a22d3cf7e 100644 --- a/tests/es6modules/__snapshots__/jsfmt.spec.js.snap +++ b/tests/es6modules/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`export_default_arrow_expression.js 1`] = ` +exports[`export_default_arrow_expression.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -14,7 +14,7 @@ export default () => {}; ================================================================================ `; -exports[`export_default_call_expression.js 1`] = ` +exports[`export_default_call_expression.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -28,7 +28,7 @@ export default foo(); ================================================================================ `; -exports[`export_default_class_declaration.js 1`] = ` +exports[`export_default_class_declaration.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -42,7 +42,7 @@ export default class Foo {} ================================================================================ `; -exports[`export_default_class_expression.js 1`] = ` +exports[`export_default_class_expression.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -56,7 +56,7 @@ export default (class foobar {}); ================================================================================ `; -exports[`export_default_function_declaration.js 1`] = ` +exports[`export_default_function_declaration.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -70,7 +70,7 @@ export default function () {} ================================================================================ `; -exports[`export_default_function_declaration_async.js 1`] = ` +exports[`export_default_function_declaration_async.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -84,7 +84,7 @@ export default async function foo() {} ================================================================================ `; -exports[`export_default_function_declaration_named.js 1`] = ` +exports[`export_default_function_declaration_named.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -98,7 +98,7 @@ export default function f() {} ================================================================================ `; -exports[`export_default_function_expression.js 1`] = ` +exports[`export_default_function_expression.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -112,7 +112,7 @@ export default (function () {}); ================================================================================ `; -exports[`export_default_function_expression_named.js 1`] = ` +exports[`export_default_function_expression_named.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -126,7 +126,7 @@ export default (function f() {}); ================================================================================ `; -exports[`export_default_new_expression.js 1`] = ` +exports[`export_default_new_expression.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 diff --git a/tests/exact_object/__snapshots__/jsfmt.spec.js.snap b/tests/exact_object/__snapshots__/jsfmt.spec.js.snap index 5ae8155a8f..b97cbdd744 100644 --- a/tests/exact_object/__snapshots__/jsfmt.spec.js.snap +++ b/tests/exact_object/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/export/__snapshots__/jsfmt.spec.js.snap b/tests/export/__snapshots__/jsfmt.spec.js.snap index 43bc02edb4..323945fe48 100644 --- a/tests/export/__snapshots__/jsfmt.spec.js.snap +++ b/tests/export/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`bracket.js 1`] = ` +exports[`bracket.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -34,7 +34,7 @@ export { fitsIn, oneLine }; ================================================================================ `; -exports[`bracket.js 2`] = ` +exports[`bracket.js format 2`] = ` ====================================options===================================== bracketSpacing: false parsers: ["flow", "typescript"] @@ -69,7 +69,7 @@ export {fitsIn, oneLine}; ================================================================================ `; -exports[`empty.js 1`] = ` +exports[`empty.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -85,7 +85,7 @@ export {} from "."; ================================================================================ `; -exports[`empty.js 2`] = ` +exports[`empty.js format 2`] = ` ====================================options===================================== bracketSpacing: false parsers: ["flow", "typescript"] diff --git a/tests/export_default/__snapshots__/jsfmt.spec.js.snap b/tests/export_default/__snapshots__/jsfmt.spec.js.snap index d8f9684fe3..75e8a45ff8 100644 --- a/tests/export_default/__snapshots__/jsfmt.spec.js.snap +++ b/tests/export_default/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`binary_and_template.js 1`] = ` +exports[`binary_and_template.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -14,7 +14,7 @@ export default (function () {} + foo)\`\`; ================================================================================ `; -exports[`body.js 1`] = ` +exports[`body.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -28,7 +28,7 @@ export default (class {}[1] = 1); ================================================================================ `; -exports[`class_instance.js 1`] = ` +exports[`class_instance.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -42,7 +42,7 @@ export default (class {}.getInstance()); ================================================================================ `; -exports[`function_in_template.js 1`] = ` +exports[`function_in_template.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -56,7 +56,7 @@ export default (function templ() {})\`foo\`; ================================================================================ `; -exports[`function_tostring.js 1`] = ` +exports[`function_tostring.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -70,7 +70,7 @@ export default (function () {}.toString()); ================================================================================ `; -exports[`iife.js 1`] = ` +exports[`iife.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 diff --git a/tests/export_default_ts/__snapshots__/jsfmt.spec.js.snap b/tests/export_default_ts/__snapshots__/jsfmt.spec.js.snap index e3afc0ae87..f0601c81c5 100644 --- a/tests/export_default_ts/__snapshots__/jsfmt.spec.js.snap +++ b/tests/export_default_ts/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`function_as.ts 1`] = ` +exports[`function_as.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/export_extension/__snapshots__/jsfmt.spec.js.snap b/tests/export_extension/__snapshots__/jsfmt.spec.js.snap index 1cf43ab4d2..04dba0966f 100644 --- a/tests/export_extension/__snapshots__/jsfmt.spec.js.snap +++ b/tests/export_extension/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`export.js 1`] = ` +exports[`export.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/exports/__snapshots__/jsfmt.spec.js.snap b/tests/exports/__snapshots__/jsfmt.spec.js.snap index 29c751c00f..f1d4309dbb 100644 --- a/tests/exports/__snapshots__/jsfmt.spec.js.snap +++ b/tests/exports/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/expression_statement/__snapshots__/jsfmt.spec.js.snap b/tests/expression_statement/__snapshots__/jsfmt.spec.js.snap index 484f224881..bbe38a01d0 100644 --- a/tests/expression_statement/__snapshots__/jsfmt.spec.js.snap +++ b/tests/expression_statement/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`no_regression.js 1`] = ` +exports[`no_regression.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -16,7 +16,7 @@ printWidth: 80 ================================================================================ `; -exports[`use_strict.js 1`] = ` +exports[`use_strict.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 diff --git a/tests/first_argument_expansion/__snapshots__/jsfmt.spec.js.snap b/tests/first_argument_expansion/__snapshots__/jsfmt.spec.js.snap index 3b8e556293..d164143369 100644 --- a/tests/first_argument_expansion/__snapshots__/jsfmt.spec.js.snap +++ b/tests/first_argument_expansion/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 diff --git a/tests/flow/abnormal/__snapshots__/jsfmt.spec.js.snap b/tests/flow/abnormal/__snapshots__/jsfmt.spec.js.snap index 0aa0e7e583..bd85c5ae93 100644 --- a/tests/flow/abnormal/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/abnormal/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`break-continue.js 1`] = ` +exports[`break-continue.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -30,7 +30,7 @@ function bar() { ================================================================================ `; -exports[`return.js 1`] = ` +exports[`return.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -54,7 +54,7 @@ function foo() { ================================================================================ `; -exports[`toplevel_throw.js 1`] = ` +exports[`toplevel_throw.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/annot/__snapshots__/jsfmt.spec.js.snap b/tests/flow/annot/__snapshots__/jsfmt.spec.js.snap index 9ae4ee9bef..acb933ab90 100644 --- a/tests/flow/annot/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/annot/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`annot.js 1`] = ` +exports[`annot.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -147,7 +147,7 @@ function barfoo(n: number | null | void): ?number { ================================================================================ `; -exports[`forward_ref.js 1`] = ` +exports[`forward_ref.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -189,7 +189,7 @@ function foo() { ================================================================================ `; -exports[`issue-530.js 1`] = ` +exports[`issue-530.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -207,7 +207,7 @@ module.exports = foo; ================================================================================ `; -exports[`leak.js 1`] = ` +exports[`leak.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -263,7 +263,7 @@ function bar(y: MyObj): string { ================================================================================ `; -exports[`other.js 1`] = ` +exports[`other.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -279,7 +279,7 @@ module.exports = (C: any); ================================================================================ `; -exports[`scope.js 1`] = ` +exports[`scope.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -343,7 +343,7 @@ class Foo { ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/annot/any/__snapshots__/jsfmt.spec.js.snap b/tests/flow/annot/any/__snapshots__/jsfmt.spec.js.snap index 9a71cf47bf..db370ab51a 100644 --- a/tests/flow/annot/any/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/annot/any/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -30,7 +30,7 @@ export default class { ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/annot2/__snapshots__/jsfmt.spec.js.snap b/tests/flow/annot2/__snapshots__/jsfmt.spec.js.snap index 8f15bf48ee..b3d8e50562 100644 --- a/tests/flow/annot2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/annot2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -40,7 +40,7 @@ export default class { ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -70,7 +70,7 @@ class B extends A { ================================================================================ `; -exports[`T.js 1`] = ` +exports[`T.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/any/__snapshots__/jsfmt.spec.js.snap b/tests/flow/any/__snapshots__/jsfmt.spec.js.snap index 04f6d6b835..517bf80464 100644 --- a/tests/flow/any/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/any/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`any.js 1`] = ` +exports[`any.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -36,7 +36,7 @@ var z: string = qux(0); ================================================================================ `; -exports[`anyexportflowfile.js 1`] = ` +exports[`anyexportflowfile.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -54,7 +54,7 @@ module.exports = ((x: any) => x: any); ================================================================================ `; -exports[`flowfixme.js 1`] = ` +exports[`flowfixme.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -112,7 +112,7 @@ var w: string = baz(0); ================================================================================ `; -exports[`flowissue.js 1`] = ` +exports[`flowissue.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -170,7 +170,7 @@ var w: string = baz(0); ================================================================================ `; -exports[`nonflowfile.js 1`] = ` +exports[`nonflowfile.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -188,7 +188,7 @@ module.exports = (x) => x; ================================================================================ `; -exports[`propagate.js 1`] = ` +exports[`propagate.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -250,7 +250,7 @@ function bar2(x: mixed) { ================================================================================ `; -exports[`reach.js 1`] = ` +exports[`reach.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/arith/__snapshots__/jsfmt.spec.js.snap b/tests/flow/arith/__snapshots__/jsfmt.spec.js.snap index ebe32a4aaf..eaf8052c2b 100644 --- a/tests/flow/arith/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/arith/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Arith.js 1`] = ` +exports[`Arith.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -193,7 +193,7 @@ let tests = [ ================================================================================ `; -exports[`exponent.js 1`] = ` +exports[`exponent.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -227,7 +227,7 @@ y **= 2; // error ================================================================================ `; -exports[`generic.js 1`] = ` +exports[`generic.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -263,7 +263,7 @@ function f(a: A, b: B): B { ================================================================================ `; -exports[`mult.js 1`] = ` +exports[`mult.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -299,7 +299,7 @@ y *= 2; // error ================================================================================ `; -exports[`relational.js 1`] = ` +exports[`relational.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/array-filter/__snapshots__/jsfmt.spec.js.snap b/tests/flow/array-filter/__snapshots__/jsfmt.spec.js.snap index ff9ae4c7f4..e553cbe809 100644 --- a/tests/flow/array-filter/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/array-filter/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -30,7 +30,7 @@ function filterOutSmall(arr: Array): Array { ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/array_spread/__snapshots__/jsfmt.spec.js.snap b/tests/flow/array_spread/__snapshots__/jsfmt.spec.js.snap index ee16f5f15a..8fcbc78a2d 100644 --- a/tests/flow/array_spread/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/array_spread/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/arraylib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/arraylib/__snapshots__/jsfmt.spec.js.snap index 4c7e72aca3..22603ff66a 100644 --- a/tests/flow/arraylib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/arraylib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`array_lib.js 1`] = ` +exports[`array_lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/arrays/__snapshots__/jsfmt.spec.js.snap b/tests/flow/arrays/__snapshots__/jsfmt.spec.js.snap index 62650877c9..8491cad7ed 100644 --- a/tests/flow/arrays/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/arrays/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Arrays.js 1`] = ` +exports[`Arrays.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -89,7 +89,7 @@ module.exports = "arrays"; ================================================================================ `; -exports[`numeric_elem.js 1`] = ` +exports[`numeric_elem.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/arrows/__snapshots__/jsfmt.spec.js.snap b/tests/flow/arrows/__snapshots__/jsfmt.spec.js.snap index 8b1968c23f..37ad868c8d 100644 --- a/tests/flow/arrows/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/arrows/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`advanced_arrows.js 1`] = ` +exports[`advanced_arrows.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -34,7 +34,7 @@ var ident = (x: T): T => x; ================================================================================ `; -exports[`arrows.js 1`] = ` +exports[`arrows.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/async/__snapshots__/jsfmt.spec.js.snap b/tests/flow/async/__snapshots__/jsfmt.spec.js.snap index 711c47051f..e13262d997 100644 --- a/tests/flow/async/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/async/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`async.js 1`] = ` +exports[`async.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -124,7 +124,7 @@ var objf: () => Promise = obj.f; ================================================================================ `; -exports[`async_base_class.js 1`] = ` +exports[`async_base_class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -164,7 +164,7 @@ async function foo() { ================================================================================ `; -exports[`async_parse.js 1`] = ` +exports[`async_parse.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -224,7 +224,7 @@ var y = { async }; ================================================================================ `; -exports[`async_promise.js 1`] = ` +exports[`async_promise.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -242,7 +242,7 @@ async function f(): Promise { ================================================================================ `; -exports[`async_return_void.js 1`] = ` +exports[`async_return_void.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -282,7 +282,7 @@ async function foo3(): Promise { ================================================================================ `; -exports[`async2.js 1`] = ` +exports[`async2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -416,7 +416,7 @@ function test5() { ================================================================================ `; -exports[`async3.js 1`] = ` +exports[`async3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -491,7 +491,7 @@ async function baz() { ================================================================================ `; -exports[`await_parse.js 1`] = ` +exports[`await_parse.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/async_iteration/__snapshots__/jsfmt.spec.js.snap b/tests/flow/async_iteration/__snapshots__/jsfmt.spec.js.snap index a26a92c07d..f4d6c58e9b 100644 --- a/tests/flow/async_iteration/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/async_iteration/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`delegate_yield.js 1`] = ` +exports[`delegate_yield.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -64,7 +64,7 @@ async function* delegate_return() { ================================================================================ `; -exports[`generator.js 1`] = ` +exports[`generator.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -126,7 +126,7 @@ async function f() { ================================================================================ `; -exports[`return.js 1`] = ` +exports[`return.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -184,7 +184,7 @@ refuse_return() ================================================================================ `; -exports[`throw.js 1`] = ` +exports[`throw.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/autocomplete/__snapshots__/jsfmt.spec.js.snap b/tests/flow/autocomplete/__snapshots__/jsfmt.spec.js.snap index f4120d71ee..b19ccbd867 100644 --- a/tests/flow/autocomplete/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/autocomplete/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`customfun.js 1`] = ` +exports[`customfun.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -34,7 +34,7 @@ m; ================================================================================ `; -exports[`unknown.js 1`] = ` +exports[`unknown.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/auxiliary/__snapshots__/jsfmt.spec.js.snap b/tests/flow/auxiliary/__snapshots__/jsfmt.spec.js.snap index 4e345d172c..3214734b07 100644 --- a/tests/flow/auxiliary/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/auxiliary/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`client.js 1`] = ` +exports[`client.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/auxiliary/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/auxiliary/lib/__snapshots__/jsfmt.spec.js.snap index 3b97158f42..a3773b81b6 100644 --- a/tests/flow/auxiliary/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/auxiliary/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`lib.js 1`] = ` +exports[`lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/binary/__snapshots__/jsfmt.spec.js.snap b/tests/flow/binary/__snapshots__/jsfmt.spec.js.snap index 5d30c23ea1..c971794e14 100644 --- a/tests/flow/binary/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/binary/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`in.js 1`] = ` +exports[`in.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/binding/__snapshots__/jsfmt.spec.js.snap b/tests/flow/binding/__snapshots__/jsfmt.spec.js.snap index 4f613b2bd4..8ac6c0738b 100644 --- a/tests/flow/binding/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/binding/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`const.js 1`] = ` +exports[`const.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -66,7 +66,7 @@ for (const { baz } of bazzes) { ================================================================================ `; -exports[`rebinding.js 1`] = ` +exports[`rebinding.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -472,7 +472,7 @@ function fn_params_clash_fn_binding(x, y) { ================================================================================ `; -exports[`scope.js 1`] = ` +exports[`scope.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -706,7 +706,7 @@ function default_param_2() { ================================================================================ `; -exports[`tdz.js 1`] = ` +exports[`tdz.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/bom/__snapshots__/jsfmt.spec.js.snap b/tests/flow/bom/__snapshots__/jsfmt.spec.js.snap index a2ce0a7190..602394bfa0 100644 --- a/tests/flow/bom/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/bom/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`FormData.js 1`] = ` +exports[`FormData.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -155,7 +155,7 @@ for (let [x, y]: [number, number] of a.entries()) { ================================================================================ `; -exports[`MutationObserver.js 1`] = ` +exports[`MutationObserver.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/bounded_poly/__snapshots__/jsfmt.spec.js.snap b/tests/flow/bounded_poly/__snapshots__/jsfmt.spec.js.snap index e73ff16b0d..4a10a3f937 100644 --- a/tests/flow/bounded_poly/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/bounded_poly/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`scope.js 1`] = ` +exports[`scope.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -22,7 +22,7 @@ function bar(x: X, y: Y): number { ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/break/__snapshots__/jsfmt.spec.js.snap b/tests/flow/break/__snapshots__/jsfmt.spec.js.snap index 8fc2379957..9345c87269 100644 --- a/tests/flow/break/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/break/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`break.js 1`] = ` +exports[`break.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/builtin_uses/__snapshots__/jsfmt.spec.js.snap b/tests/flow/builtin_uses/__snapshots__/jsfmt.spec.js.snap index ff7587a4c9..0c49737692 100644 --- a/tests/flow/builtin_uses/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/builtin_uses/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ module.exports = o; ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/builtins/__snapshots__/jsfmt.spec.js.snap b/tests/flow/builtins/__snapshots__/jsfmt.spec.js.snap index b53050c3d4..f2a0fd4fb5 100644 --- a/tests/flow/builtins/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/builtins/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`array.js 1`] = ` +exports[`array.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -52,7 +52,7 @@ function g() { ================================================================================ `; -exports[`genericfoo.js 1`] = ` +exports[`genericfoo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/call_caching1/__snapshots__/jsfmt.spec.js.snap b/tests/flow/call_caching1/__snapshots__/jsfmt.spec.js.snap index 2e0cd28838..bd0cedcf10 100644 --- a/tests/flow/call_caching1/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/call_caching1/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -32,7 +32,7 @@ for (let [taskStatus, tasksMap] of tasksPerStatusMap) { ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -77,7 +77,7 @@ foo(items, (acc) => acc.update(updater)); ================================================================================ `; -exports[`test3.js 1`] = ` +exports[`test3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/call_caching1/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/call_caching1/lib/__snapshots__/jsfmt.spec.js.snap index 0774f78ac5..b6425a7e91 100644 --- a/tests/flow/call_caching1/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/call_caching1/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`core.js 1`] = ` +exports[`core.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -65,7 +65,7 @@ declare class Map { ================================================================================ `; -exports[`immutable.js 1`] = ` +exports[`immutable.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/call_caching2/__snapshots__/jsfmt.spec.js.snap b/tests/flow/call_caching2/__snapshots__/jsfmt.spec.js.snap index fb5c20dbda..562d8049af 100644 --- a/tests/flow/call_caching2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/call_caching2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/call_caching2/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/call_caching2/lib/__snapshots__/jsfmt.spec.js.snap index 93e6eadcb0..7546cacd86 100644 --- a/tests/flow/call_caching2/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/call_caching2/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`immutable.js 1`] = ` +exports[`immutable.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/call_properties/__snapshots__/jsfmt.spec.js.snap b/tests/flow/call_properties/__snapshots__/jsfmt.spec.js.snap index aefbbc8292..b7ea936574 100644 --- a/tests/flow/call_properties/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/call_properties/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -72,7 +72,7 @@ function f(): number { ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -138,7 +138,7 @@ var z: Object = function (x: number): string { ================================================================================ `; -exports[`C.js 1`] = ` +exports[`C.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -218,7 +218,7 @@ function g(x: {}): Function { ================================================================================ `; -exports[`D.js 1`] = ` +exports[`D.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -276,7 +276,7 @@ function e(x: { (): string, (x: number): string }): () => number { ================================================================================ `; -exports[`E.js 1`] = ` +exports[`E.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -308,7 +308,7 @@ var c: { myProp: number } = f; ================================================================================ `; -exports[`F.js 1`] = ` +exports[`F.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/callable/__snapshots__/jsfmt.spec.js.snap b/tests/flow/callable/__snapshots__/jsfmt.spec.js.snap index 8b73f94a28..aae623ac3c 100644 --- a/tests/flow/callable/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/callable/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`optional.js 1`] = ` +exports[`optional.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -32,7 +32,7 @@ function f(x) { ================================================================================ `; -exports[`primitives.js 1`] = ` +exports[`primitives.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/check-contents/__snapshots__/jsfmt.spec.js.snap b/tests/flow/check-contents/__snapshots__/jsfmt.spec.js.snap index 0ed5d12ee7..cba5d0f76b 100644 --- a/tests/flow/check-contents/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/check-contents/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`not_flow.js 1`] = ` +exports[`not_flow.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/class_fields/__snapshots__/jsfmt.spec.js.snap b/tests/flow/class_fields/__snapshots__/jsfmt.spec.js.snap index fa989c57ea..e2f0ab329a 100644 --- a/tests/flow/class_fields/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/class_fields/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`base_class.js 1`] = ` +exports[`base_class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -156,7 +156,7 @@ var o = new Base(); ================================================================================ `; -exports[`derived_class.js 1`] = ` +exports[`derived_class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -435,7 +435,7 @@ var o = new Child(); ================================================================================ `; -exports[`generic_class.js 1`] = ` +exports[`generic_class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -508,7 +508,7 @@ class ClassGenericInitialized { ================================================================================ `; -exports[`scoping.js 1`] = ` +exports[`scoping.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/class_method_default_parameters/__snapshots__/jsfmt.spec.js.snap b/tests/flow/class_method_default_parameters/__snapshots__/jsfmt.spec.js.snap index e57781ea1b..6f8e908490 100644 --- a/tests/flow/class_method_default_parameters/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/class_method_default_parameters/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`class_method_default_parameters.js 1`] = ` +exports[`class_method_default_parameters.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/class_munging/__snapshots__/jsfmt.spec.js.snap b/tests/flow/class_munging/__snapshots__/jsfmt.spec.js.snap index bb5ccbc21c..2fba88b290 100644 --- a/tests/flow/class_munging/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/class_munging/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`with_munging.js 1`] = ` +exports[`with_munging.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -42,7 +42,7 @@ class Bar extends Foo { ================================================================================ `; -exports[`without_munging.js 1`] = ` +exports[`without_munging.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/class_statics/__snapshots__/jsfmt.spec.js.snap b/tests/flow/class_statics/__snapshots__/jsfmt.spec.js.snap index 1bb8e83fc4..53a3b546a0 100644 --- a/tests/flow/class_statics/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/class_statics/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/class_subtyping/__snapshots__/jsfmt.spec.js.snap b/tests/flow/class_subtyping/__snapshots__/jsfmt.spec.js.snap index 294af674e7..e9fa2cd470 100644 --- a/tests/flow/class_subtyping/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/class_subtyping/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -22,7 +22,7 @@ module.exports = { A, B }; ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -48,7 +48,7 @@ var y: I.B = new C(); ================================================================================ `; -exports[`test3.js 1`] = ` +exports[`test3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -72,7 +72,7 @@ var a: A> = c; // the third type arg is incorrect ================================================================================ `; -exports[`test4.js 1`] = ` +exports[`test4.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/class_type/__snapshots__/jsfmt.spec.js.snap b/tests/flow/class_type/__snapshots__/jsfmt.spec.js.snap index e00838037e..eaeefcec44 100644 --- a/tests/flow/class_type/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/class_type/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -34,7 +34,7 @@ function bar(x: Class): B { ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/classes/__snapshots__/jsfmt.spec.js.snap b/tests/flow/classes/__snapshots__/jsfmt.spec.js.snap index 4bc3bc97e0..5cd8ad04a4 100644 --- a/tests/flow/classes/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/classes/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -22,7 +22,7 @@ module.exports = A; ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -50,7 +50,7 @@ module.exports = B; ================================================================================ `; -exports[`C.js 1`] = ` +exports[`C.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -82,7 +82,7 @@ module.exports = C; ================================================================================ `; -exports[`D.js 1`] = ` +exports[`D.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -100,7 +100,7 @@ new E().x; ================================================================================ `; -exports[`class_shapes.js 1`] = ` +exports[`class_shapes.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -182,7 +182,7 @@ var w: Foo = z; ================================================================================ `; -exports[`expr.js 1`] = ` +exports[`expr.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -255,7 +255,7 @@ var alias2: Alias = _Alias.factory(); // error: bad pun ================================================================================ `; -exports[`extends_any.js 1`] = ` +exports[`extends_any.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -277,7 +277,7 @@ class Derived2 extends Derived1 { ================================================================================ `; -exports[`loc.js 1`] = ` +exports[`loc.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -299,7 +299,7 @@ class Foo {} // error, shadows type Foo ================================================================================ `; -exports[`statics.js 1`] = ` +exports[`statics.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/closure/__snapshots__/jsfmt.spec.js.snap b/tests/flow/closure/__snapshots__/jsfmt.spec.js.snap index eef54531ca..20b120b6d0 100644 --- a/tests/flow/closure/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/closure/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Closure.js 1`] = ` +exports[`Closure.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -178,7 +178,7 @@ function local_meth() { ================================================================================ `; -exports[`cond_havoc.js 1`] = ` +exports[`cond_havoc.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -218,7 +218,7 @@ function example(b: boolean): number { ================================================================================ `; -exports[`const.js 1`] = ` +exports[`const.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/commonjs/__snapshots__/jsfmt.spec.js.snap b/tests/flow/commonjs/__snapshots__/jsfmt.spec.js.snap index ecf418df3b..6140486296 100644 --- a/tests/flow/commonjs/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/commonjs/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Abs.js 1`] = ` +exports[`Abs.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -19,7 +19,7 @@ module.exports = f; ================================================================================ `; -exports[`Rel.js 1`] = ` +exports[`Rel.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/computed_props/__snapshots__/jsfmt.spec.js.snap b/tests/flow/computed_props/__snapshots__/jsfmt.spec.js.snap index 02a4a69842..d2b69e8a0e 100644 --- a/tests/flow/computed_props/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/computed_props/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -58,7 +58,7 @@ module.exports = { ColorId, ColorNumber }; ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -90,7 +90,7 @@ module.exports = ColorIdToNumber; ================================================================================ `; -exports[`test3.js 1`] = ` +exports[`test3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -110,7 +110,7 @@ var ColorIdToNumber = require("./test2"); ================================================================================ `; -exports[`test4.js 1`] = ` +exports[`test4.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -124,7 +124,7 @@ module.exports = "hello"; ================================================================================ `; -exports[`test5.js 1`] = ` +exports[`test5.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -150,7 +150,7 @@ module.exports = { ================================================================================ `; -exports[`test6.js 1`] = ` +exports[`test6.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -166,7 +166,7 @@ var o = require("./test5"); ================================================================================ `; -exports[`test7.js 1`] = ` +exports[`test7.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/conditional/__snapshots__/jsfmt.spec.js.snap b/tests/flow/conditional/__snapshots__/jsfmt.spec.js.snap index a944c5b5be..945c823b72 100644 --- a/tests/flow/conditional/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/conditional/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`conditional.js 1`] = ` +exports[`conditional.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_all/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_all/__snapshots__/jsfmt.spec.js.snap index b2fcf299d0..18c398996b 100644 --- a/tests/flow/config_all/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_all/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`no_at_flow.js 1`] = ` +exports[`no_at_flow.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_all_false/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_all_false/__snapshots__/jsfmt.spec.js.snap index 4e5c449838..3435a30d30 100644 --- a/tests/flow/config_all_false/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_all_false/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`no_at_flow.js 1`] = ` +exports[`no_at_flow.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_all_weak/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_all_weak/__snapshots__/jsfmt.spec.js.snap index 5c8fc86c86..bd92b54f15 100644 --- a/tests/flow/config_all_weak/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_all_weak/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`no_at_flow.js 1`] = ` +exports[`no_at_flow.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_file_extensions/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_file_extensions/__snapshots__/jsfmt.spec.js.snap index 304319770e..d4f4cdbe7f 100644 --- a/tests/flow/config_file_extensions/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_file_extensions/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_ignore/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_ignore/__snapshots__/jsfmt.spec.js.snap index 532cac2dd9..93e7ab8e86 100644 --- a/tests/flow/config_ignore/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_ignore/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_ignore/dir/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_ignore/dir/__snapshots__/jsfmt.spec.js.snap index 02251ef9cd..18249bda8a 100644 --- a/tests/flow/config_ignore/dir/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_ignore/dir/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_module_name_mapper_PROJECT_ROOT-1.0/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_module_name_mapper_PROJECT_ROOT-1.0/__snapshots__/jsfmt.spec.js.snap index e8de76849f..4c4f7dd449 100644 --- a/tests/flow/config_module_name_mapper_PROJECT_ROOT-1.0/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_module_name_mapper_PROJECT_ROOT-1.0/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`main.js 1`] = ` +exports[`main.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_module_name_mapper_PROJECT_ROOT-1.0/src/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_module_name_mapper_PROJECT_ROOT-1.0/src/__snapshots__/jsfmt.spec.js.snap index 3a27482fdb..36a0766981 100644 --- a/tests/flow/config_module_name_mapper_PROJECT_ROOT-1.0/src/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_module_name_mapper_PROJECT_ROOT-1.0/src/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`testmodule.js 1`] = ` +exports[`testmodule.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_module_name_mapper_filetype/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_module_name_mapper_filetype/__snapshots__/jsfmt.spec.js.snap index de2943fb4d..f5ba5703cc 100644 --- a/tests/flow/config_module_name_mapper_filetype/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_module_name_mapper_filetype/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_module_name_rewrite_haste/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_module_name_rewrite_haste/__snapshots__/jsfmt.spec.js.snap index 904cb4c77a..a96335019d 100644 --- a/tests/flow/config_module_name_rewrite_haste/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_module_name_rewrite_haste/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -38,7 +38,7 @@ import { numVal as numVal2 } from "3DoesntExist"; // Error ================================================================================ `; -exports[`Exists.js 1`] = ` +exports[`Exists.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_module_name_rewrite_node/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_module_name_rewrite_node/__snapshots__/jsfmt.spec.js.snap index 186f697114..35f9376522 100644 --- a/tests/flow/config_module_name_rewrite_node/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_module_name_rewrite_node/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -62,7 +62,7 @@ var c_4: string = numVal3; // Error: number ~> string ================================================================================ `; -exports[`Exists.js 1`] = ` +exports[`Exists.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_module_system_node_resolve_dirname/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_module_system_node_resolve_dirname/__snapshots__/jsfmt.spec.js.snap index 93be0587fe..6ab7ef71d0 100644 --- a/tests/flow/config_module_system_node_resolve_dirname/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_module_system_node_resolve_dirname/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`toplevel.js 1`] = ` +exports[`toplevel.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_module_system_node_resolve_dirname/custom_resolve_dir/testproj/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_module_system_node_resolve_dirname/custom_resolve_dir/testproj/__snapshots__/jsfmt.spec.js.snap index dee4c33271..c219e4d1c5 100644 --- a/tests/flow/config_module_system_node_resolve_dirname/custom_resolve_dir/testproj/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_module_system_node_resolve_dirname/custom_resolve_dir/testproj/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`index.js 1`] = ` +exports[`index.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_module_system_node_resolve_dirname/custom_resolve_dir/testproj2/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_module_system_node_resolve_dirname/custom_resolve_dir/testproj2/__snapshots__/jsfmt.spec.js.snap index 38b942480e..82dfe6d69f 100644 --- a/tests/flow/config_module_system_node_resolve_dirname/custom_resolve_dir/testproj2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_module_system_node_resolve_dirname/custom_resolve_dir/testproj2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`index.js 1`] = ` +exports[`index.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_module_system_node_resolve_dirname/subdir/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_module_system_node_resolve_dirname/subdir/__snapshots__/jsfmt.spec.js.snap index 22abb3d05f..2707ce6207 100644 --- a/tests/flow/config_module_system_node_resolve_dirname/subdir/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_module_system_node_resolve_dirname/subdir/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`sublevel.js 1`] = ` +exports[`sublevel.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_module_system_node_resolve_dirname/subdir/custom_resolve_dir/testproj2/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_module_system_node_resolve_dirname/subdir/custom_resolve_dir/testproj2/__snapshots__/jsfmt.spec.js.snap index 22cf16d807..48bf7e7ba6 100644 --- a/tests/flow/config_module_system_node_resolve_dirname/subdir/custom_resolve_dir/testproj2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_module_system_node_resolve_dirname/subdir/custom_resolve_dir/testproj2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`index.js 1`] = ` +exports[`index.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_munging_underscores/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_munging_underscores/__snapshots__/jsfmt.spec.js.snap index bf1e9f1f6a..dc25e81624 100644 --- a/tests/flow/config_munging_underscores/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_munging_underscores/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`chain.js 1`] = ` +exports[`chain.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -80,7 +80,7 @@ B._sProperty = "B._sProperty string"; ================================================================================ `; -exports[`commonjs_export.js 1`] = ` +exports[`commonjs_export.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -106,7 +106,7 @@ module.exports = new C(); ================================================================================ `; -exports[`commonjs_import.js 1`] = ` +exports[`commonjs_import.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/config_munging_underscores2/__snapshots__/jsfmt.spec.js.snap b/tests/flow/config_munging_underscores2/__snapshots__/jsfmt.spec.js.snap index 890a45c816..f6d472e1ec 100644 --- a/tests/flow/config_munging_underscores2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/config_munging_underscores2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`chain.js 1`] = ` +exports[`chain.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/const_params/__snapshots__/jsfmt.spec.js.snap b/tests/flow/const_params/__snapshots__/jsfmt.spec.js.snap index 65f9954320..9bf2667f19 100644 --- a/tests/flow/const_params/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/const_params/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/constructor/__snapshots__/jsfmt.spec.js.snap b/tests/flow/constructor/__snapshots__/jsfmt.spec.js.snap index 08085dbe10..237fbf9bc3 100644 --- a/tests/flow/constructor/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/constructor/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`constructor.js 1`] = ` +exports[`constructor.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/constructor_annots/__snapshots__/jsfmt.spec.js.snap b/tests/flow/constructor_annots/__snapshots__/jsfmt.spec.js.snap index 2c80a42e2f..2958e0a9bd 100644 --- a/tests/flow/constructor_annots/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/constructor_annots/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`constructors.js 1`] = ` +exports[`constructors.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -58,7 +58,7 @@ exports.Foo2 = (Foo: Class); ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/contents/ignore/__snapshots__/jsfmt.spec.js.snap b/tests/flow/contents/ignore/__snapshots__/jsfmt.spec.js.snap index 73f040f3fc..aaa3e24f62 100644 --- a/tests/flow/contents/ignore/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/contents/ignore/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`dummy.js 1`] = ` +exports[`dummy.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -12,7 +12,7 @@ printWidth: 80 ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/contents/no_flow/__snapshots__/jsfmt.spec.js.snap b/tests/flow/contents/no_flow/__snapshots__/jsfmt.spec.js.snap index 73f040f3fc..aaa3e24f62 100644 --- a/tests/flow/contents/no_flow/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/contents/no_flow/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`dummy.js 1`] = ` +exports[`dummy.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -12,7 +12,7 @@ printWidth: 80 ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/core_tests/__snapshots__/jsfmt.spec.js.snap b/tests/flow/core_tests/__snapshots__/jsfmt.spec.js.snap index c75c099491..f80ac91547 100644 --- a/tests/flow/core_tests/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/core_tests/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`boolean.js 1`] = ` +exports[`boolean.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -96,7 +96,7 @@ let tests = [ ================================================================================ `; -exports[`map.js 1`] = ` +exports[`map.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -172,7 +172,7 @@ let tests = [ ================================================================================ `; -exports[`regexp.js 1`] = ` +exports[`regexp.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -242,7 +242,7 @@ let tests = [ ================================================================================ `; -exports[`weakset.js 1`] = ` +exports[`weakset.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/covariance/__snapshots__/jsfmt.spec.js.snap b/tests/flow/covariance/__snapshots__/jsfmt.spec.js.snap index 35e88f3523..c43ecdf99c 100644 --- a/tests/flow/covariance/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/covariance/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/coverage/__snapshots__/jsfmt.spec.js.snap b/tests/flow/coverage/__snapshots__/jsfmt.spec.js.snap index 83cdeb29a4..830cb5f2a8 100644 --- a/tests/flow/coverage/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/coverage/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`crash.js 1`] = ` +exports[`crash.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -34,7 +34,7 @@ declare module bar { ================================================================================ `; -exports[`declare_module.js 1`] = ` +exports[`declare_module.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -54,7 +54,7 @@ declare module foo { ================================================================================ `; -exports[`no_pragma.js 1`] = ` +exports[`no_pragma.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -70,7 +70,7 @@ let x = 0; ================================================================================ `; -exports[`non-termination.js 1`] = ` +exports[`non-termination.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/cycle/__snapshots__/jsfmt.spec.js.snap b/tests/flow/cycle/__snapshots__/jsfmt.spec.js.snap index 6dab030423..b7a9b3aac8 100644 --- a/tests/flow/cycle/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/cycle/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -22,7 +22,7 @@ module.exports = A; ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/date/__snapshots__/jsfmt.spec.js.snap b/tests/flow/date/__snapshots__/jsfmt.spec.js.snap index 164426de6c..2945a1b085 100644 --- a/tests/flow/date/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/date/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`date.js 1`] = ` +exports[`date.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declaration_files_haste/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declaration_files_haste/__snapshots__/jsfmt.spec.js.snap index 0478a8e81f..16379d24cb 100644 --- a/tests/flow/declaration_files_haste/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declaration_files_haste/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ExplicitProvidesModuleDifferentName.js 1`] = ` +exports[`ExplicitProvidesModuleDifferentName.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -24,7 +24,7 @@ module.exports.fun = (): string => "hello there"; ================================================================================ `; -exports[`ExplicitProvidesModuleSameName.js 1`] = ` +exports[`ExplicitProvidesModuleSameName.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -48,7 +48,7 @@ module.exports.fun = (): string => "hello there"; ================================================================================ `; -exports[`ImplicitProvidesModule.js 1`] = ` +exports[`ImplicitProvidesModule.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -72,7 +72,7 @@ module.exports.fun = (): string => "hello there"; ================================================================================ `; -exports[`md5.js 1`] = ` +exports[`md5.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -86,7 +86,7 @@ printWidth: 80 ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declaration_files_haste/external/_d3/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declaration_files_haste/external/_d3/__snapshots__/jsfmt.spec.js.snap index a679964a35..b694502600 100644 --- a/tests/flow/declaration_files_haste/external/_d3/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declaration_files_haste/external/_d3/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`min.js 1`] = ` +exports[`min.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declaration_files_haste/foo/bar/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declaration_files_haste/foo/bar/__snapshots__/jsfmt.spec.js.snap index e1b5753140..0acbba266e 100644 --- a/tests/flow/declaration_files_haste/foo/bar/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declaration_files_haste/foo/bar/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`nested_test.js 1`] = ` +exports[`nested_test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declaration_files_haste/ws/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declaration_files_haste/ws/__snapshots__/jsfmt.spec.js.snap index a236e096cd..0e343a7d9d 100644 --- a/tests/flow/declaration_files_haste/ws/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declaration_files_haste/ws/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`index.js 1`] = ` +exports[`index.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declaration_files_haste/ws/test/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declaration_files_haste/ws/test/__snapshots__/jsfmt.spec.js.snap index 3c3d2eba36..3a2c0742c5 100644 --- a/tests/flow/declaration_files_haste/ws/test/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declaration_files_haste/ws/test/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`client.js 1`] = ` +exports[`client.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declaration_files_incremental_haste/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declaration_files_incremental_haste/__snapshots__/jsfmt.spec.js.snap index 54d8bb5773..6257d68a5c 100644 --- a/tests/flow/declaration_files_incremental_haste/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declaration_files_incremental_haste/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -20,7 +20,7 @@ export function foo(): Implementation { ================================================================================ `; -exports[`ExplicitProvidesModuleDifferentName.js 1`] = ` +exports[`ExplicitProvidesModuleDifferentName.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -46,7 +46,7 @@ module.exports.fun = (): Implementation => new Implementation(); ================================================================================ `; -exports[`ExplicitProvidesModuleSameName.js 1`] = ` +exports[`ExplicitProvidesModuleSameName.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -72,7 +72,7 @@ module.exports.fun = (): Implementation => new Implementation(); ================================================================================ `; -exports[`ImplicitProvidesModule.js 1`] = ` +exports[`ImplicitProvidesModule.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -98,7 +98,7 @@ module.exports.fun = (): Implementation => new Implementation(); ================================================================================ `; -exports[`md5.js 1`] = ` +exports[`md5.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -112,7 +112,7 @@ printWidth: 80 ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declaration_files_incremental_haste/external/_d3/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declaration_files_incremental_haste/external/_d3/__snapshots__/jsfmt.spec.js.snap index e3de64efe8..21f1b9389e 100644 --- a/tests/flow/declaration_files_incremental_haste/external/_d3/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declaration_files_incremental_haste/external/_d3/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`min.js 1`] = ` +exports[`min.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declaration_files_incremental_haste/foo/bar/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declaration_files_incremental_haste/foo/bar/__snapshots__/jsfmt.spec.js.snap index 3852329740..8a4f2edb7b 100644 --- a/tests/flow/declaration_files_incremental_haste/foo/bar/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declaration_files_incremental_haste/foo/bar/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`nested_test.js 1`] = ` +exports[`nested_test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declaration_files_incremental_haste/ws/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declaration_files_incremental_haste/ws/__snapshots__/jsfmt.spec.js.snap index a236e096cd..0e343a7d9d 100644 --- a/tests/flow/declaration_files_incremental_haste/ws/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declaration_files_incremental_haste/ws/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`index.js 1`] = ` +exports[`index.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declaration_files_incremental_haste/ws/test/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declaration_files_incremental_haste/ws/test/__snapshots__/jsfmt.spec.js.snap index 3c3d2eba36..3a2c0742c5 100644 --- a/tests/flow/declaration_files_incremental_haste/ws/test/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declaration_files_incremental_haste/ws/test/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`client.js 1`] = ` +exports[`client.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declaration_files_incremental_haste_name_reducers/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declaration_files_incremental_haste_name_reducers/__snapshots__/jsfmt.spec.js.snap index 69202de4f6..a44acd3879 100644 --- a/tests/flow/declaration_files_incremental_haste_name_reducers/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declaration_files_incremental_haste_name_reducers/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -22,7 +22,7 @@ export function foo(): AImplementation { ================================================================================ `; -exports[`index.js 1`] = ` +exports[`index.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declaration_files_incremental_node/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declaration_files_incremental_node/__snapshots__/jsfmt.spec.js.snap index 240573d568..5635d44c21 100644 --- a/tests/flow/declaration_files_incremental_node/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declaration_files_incremental_node/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ export function foo(): Implementation { ================================================================================ `; -exports[`test_absolute.js 1`] = ` +exports[`test_absolute.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -112,7 +112,7 @@ var F = require("package_with_dir_main"); ================================================================================ `; -exports[`test_relative.js 1`] = ` +exports[`test_relative.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declaration_files_node/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declaration_files_node/__snapshots__/jsfmt.spec.js.snap index 07571eddba..838231e263 100644 --- a/tests/flow/declaration_files_node/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declaration_files_node/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ module.exports.fun = (): string => "hello there!"; ================================================================================ `; -exports[`CJS.js 1`] = ` +exports[`CJS.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -34,7 +34,7 @@ module.exports = 42; ================================================================================ `; -exports[`test_absolute.js 1`] = ` +exports[`test_absolute.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -88,7 +88,7 @@ var F = require("package_with_dir_main"); ================================================================================ `; -exports[`test_relative.js 1`] = ` +exports[`test_relative.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declare_class/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declare_class/__snapshots__/jsfmt.spec.js.snap index 0d835805b9..72a4ed05b2 100644 --- a/tests/flow/declare_class/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declare_class/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`declare_class.js 1`] = ` +exports[`declare_class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declare_class/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declare_class/lib/__snapshots__/jsfmt.spec.js.snap index cfbe461144..12d35d8ec4 100644 --- a/tests/flow/declare_class/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declare_class/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declare_export/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declare_export/__snapshots__/jsfmt.spec.js.snap index c2255276b4..f639984646 100644 --- a/tests/flow/declare_export/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declare_export/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -18,7 +18,7 @@ exports.numberValue = 42; ================================================================================ `; -exports[`C.js 1`] = ` +exports[`C.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -32,7 +32,7 @@ printWidth: 80 ================================================================================ `; -exports[`CommonJS_Clobbering_Class.js 1`] = ` +exports[`CommonJS_Clobbering_Class.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -96,7 +96,7 @@ module.exports = Test; ================================================================================ `; -exports[`CommonJS_Clobbering_Lit.js 1`] = ` +exports[`CommonJS_Clobbering_Lit.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -132,7 +132,7 @@ module.exports = { ================================================================================ `; -exports[`CommonJS_Named.js 1`] = ` +exports[`CommonJS_Named.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -164,7 +164,7 @@ exports.numberValue5 = 5; ================================================================================ `; -exports[`ES6_Default_AnonFunction1.js 1`] = ` +exports[`ES6_Default_AnonFunction1.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -188,7 +188,7 @@ declare export default () => number; ================================================================================ `; -exports[`ES6_Default_AnonFunction2.js 1`] = ` +exports[`ES6_Default_AnonFunction2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -212,7 +212,7 @@ declare export default () => number; ================================================================================ `; -exports[`ES6_Default_NamedClass1.js 1`] = ` +exports[`ES6_Default_NamedClass1.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -250,7 +250,7 @@ declare export function getAFoo(): FooImpl; ================================================================================ `; -exports[`ES6_Default_NamedClass2.js 1`] = ` +exports[`ES6_Default_NamedClass2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -276,7 +276,7 @@ declare export default class Foo { ================================================================================ `; -exports[`ES6_Default_NamedFunction1.js 1`] = ` +exports[`ES6_Default_NamedFunction1.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -300,7 +300,7 @@ declare export default function foo(): number; ================================================================================ `; -exports[`ES6_Default_NamedFunction2.js 1`] = ` +exports[`ES6_Default_NamedFunction2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -324,7 +324,7 @@ declare export default function foo(): number; ================================================================================ `; -exports[`ES6_DefaultAndNamed.js 1`] = ` +exports[`ES6_DefaultAndNamed.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -344,7 +344,7 @@ declare export var str: string; ================================================================================ `; -exports[`ES6_ExportAllFrom_Intermediary1.js 1`] = ` +exports[`ES6_ExportAllFrom_Intermediary1.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -368,7 +368,7 @@ declare export * from "ES6_ExportAllFrom_Source1" ================================================================================ `; -exports[`ES6_ExportAllFrom_Intermediary2.js 1`] = ` +exports[`ES6_ExportAllFrom_Intermediary2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -392,7 +392,7 @@ declare export * from "ES6_ExportAllFrom_Source2" ================================================================================ `; -exports[`ES6_ExportAllFrom_Source1.js 1`] = ` +exports[`ES6_ExportAllFrom_Source1.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -416,7 +416,7 @@ declare export var numberValue1: number; ================================================================================ `; -exports[`ES6_ExportAllFrom_Source2.js 1`] = ` +exports[`ES6_ExportAllFrom_Source2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -440,7 +440,7 @@ declare export var numberValue2: number; ================================================================================ `; -exports[`ES6_ExportAllFromMulti.js 1`] = ` +exports[`ES6_ExportAllFromMulti.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -460,7 +460,7 @@ declare export * from "./ES6_ExportAllFrom_Source2" ================================================================================ `; -exports[`ES6_ExportFrom_Intermediary1.js 1`] = ` +exports[`ES6_ExportFrom_Intermediary1.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -490,7 +490,7 @@ declare export { ================================================================================ `; -exports[`ES6_ExportFrom_Intermediary2.js 1`] = ` +exports[`ES6_ExportFrom_Intermediary2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -520,7 +520,7 @@ declare export { ================================================================================ `; -exports[`ES6_ExportFrom_Source1.js 1`] = ` +exports[`ES6_ExportFrom_Source1.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -546,7 +546,7 @@ declare export var numberValue2: number; ================================================================================ `; -exports[`ES6_ExportFrom_Source2.js 1`] = ` +exports[`ES6_ExportFrom_Source2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -572,7 +572,7 @@ declare export var numberValue2: number; ================================================================================ `; -exports[`ES6_Named1.js 1`] = ` +exports[`ES6_Named1.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -628,7 +628,7 @@ declare export var varDeclNumber2: number; ================================================================================ `; -exports[`ES6_Named2.js 1`] = ` +exports[`ES6_Named2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -680,7 +680,7 @@ declare export var varDeclNumber4: number; ================================================================================ `; -exports[`ProvidesModuleA.js 1`] = ` +exports[`ProvidesModuleA.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -712,7 +712,7 @@ exports.stringValue = "str"; ================================================================================ `; -exports[`ProvidesModuleCJSDefault.js 1`] = ` +exports[`ProvidesModuleCJSDefault.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -740,7 +740,7 @@ module.exports = { ================================================================================ `; -exports[`ProvidesModuleD.js 1`] = ` +exports[`ProvidesModuleD.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -760,7 +760,7 @@ printWidth: 80 ================================================================================ `; -exports[`ProvidesModuleES6Default.js 1`] = ` +exports[`ProvidesModuleES6Default.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -792,7 +792,7 @@ export default { ================================================================================ `; -exports[`SideEffects.js 1`] = ` +exports[`SideEffects.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -806,7 +806,7 @@ printWidth: 80 ================================================================================ `; -exports[`es6modules.js 1`] = ` +exports[`es6modules.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/declare_fun/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declare_fun/__snapshots__/jsfmt.spec.js.snap index 73d9afbe2b..78cd09783f 100644 --- a/tests/flow/declare_fun/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declare_fun/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declare_module_exports/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declare_module_exports/__snapshots__/jsfmt.spec.js.snap index 176a33fb32..f48799f074 100644 --- a/tests/flow/declare_module_exports/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declare_module_exports/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`main.js 1`] = ` +exports[`main.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declare_module_exports/flow-typed/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declare_module_exports/flow-typed/__snapshots__/jsfmt.spec.js.snap index a7661d2e81..1e742419ac 100644 --- a/tests/flow/declare_module_exports/flow-typed/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declare_module_exports/flow-typed/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`libs.js 1`] = ` +exports[`libs.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declare_type/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declare_type/__snapshots__/jsfmt.spec.js.snap index 20adaa6127..23327dd8d5 100644 --- a/tests/flow/declare_type/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declare_type/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`import_declare_type.js 1`] = ` +exports[`import_declare_type.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/declare_type/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/declare_type/lib/__snapshots__/jsfmt.spec.js.snap index 87bf8bb91d..415b327adb 100644 --- a/tests/flow/declare_type/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/declare_type/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`DeclareModule_TypeAlias.js 1`] = ` +exports[`DeclareModule_TypeAlias.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -30,7 +30,7 @@ declare module ModuleAliasFoo { ================================================================================ `; -exports[`declare_type_exports.js 1`] = ` +exports[`declare_type_exports.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/def_site_variance/__snapshots__/jsfmt.spec.js.snap b/tests/flow/def_site_variance/__snapshots__/jsfmt.spec.js.snap index f0d64bdb56..df0b791a50 100644 --- a/tests/flow/def_site_variance/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/def_site_variance/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/demo/1/__snapshots__/jsfmt.spec.js.snap b/tests/flow/demo/1/__snapshots__/jsfmt.spec.js.snap index a546678635..d33cbab0e8 100644 --- a/tests/flow/demo/1/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/demo/1/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`f.js 1`] = ` +exports[`f.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/demo/2/__snapshots__/jsfmt.spec.js.snap b/tests/flow/demo/2/__snapshots__/jsfmt.spec.js.snap index c0ddc26012..49f558f140 100644 --- a/tests/flow/demo/2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/demo/2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -56,7 +56,7 @@ module.exports = A; ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/deps/__snapshots__/jsfmt.spec.js.snap b/tests/flow/deps/__snapshots__/jsfmt.spec.js.snap index b196d51129..d6a6df7f9c 100644 --- a/tests/flow/deps/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/deps/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ require("./C"); ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -28,7 +28,7 @@ require("./C"); ================================================================================ `; -exports[`C.js 1`] = ` +exports[`C.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -48,7 +48,7 @@ require("./G"); ================================================================================ `; -exports[`D.js 1`] = ` +exports[`D.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -62,7 +62,7 @@ require("./I"); ================================================================================ `; -exports[`E.js 1`] = ` +exports[`E.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -76,7 +76,7 @@ require("./I"); ================================================================================ `; -exports[`F.js 1`] = ` +exports[`F.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -90,7 +90,7 @@ printWidth: 80 ================================================================================ `; -exports[`G.js 1`] = ` +exports[`G.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -104,7 +104,7 @@ require("./H"); ================================================================================ `; -exports[`H.js 1`] = ` +exports[`H.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -118,7 +118,7 @@ printWidth: 80 ================================================================================ `; -exports[`I.js 1`] = ` +exports[`I.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/destructuring/__snapshots__/jsfmt.spec.js.snap b/tests/flow/destructuring/__snapshots__/jsfmt.spec.js.snap index 37f21cab22..8123138198 100644 --- a/tests/flow/destructuring/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/destructuring/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`array_rest.js 1`] = ` +exports[`array_rest.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -36,7 +36,7 @@ let [...e] = 0; ================================================================================ `; -exports[`computed.js 1`] = ` +exports[`computed.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -66,7 +66,7 @@ var { ["key"]: val3, ...spread } = { key: "val" }; ================================================================================ `; -exports[`defaults.js 1`] = ` +exports[`defaults.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -246,7 +246,7 @@ function default_expr_scope({ a, b = a }) {} ================================================================================ `; -exports[`destructuring.js 1`] = ` +exports[`destructuring.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -400,7 +400,7 @@ var cp2_err: string = others.childprop2; // Error: number ~> string ================================================================================ `; -exports[`eager.js 1`] = ` +exports[`eager.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -416,7 +416,7 @@ var x; ================================================================================ `; -exports[`poly.js 1`] = ` +exports[`poly.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -494,7 +494,7 @@ function arr_rest_pattern([_, ...a]: ArrRest) { ================================================================================ `; -exports[`rec.js 1`] = ` +exports[`rec.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -546,7 +546,7 @@ var { x: o } = o; ================================================================================ `; -exports[`refinement_non_termination.js 1`] = ` +exports[`refinement_non_termination.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -578,7 +578,7 @@ class UndefinedValue extends Value {} ================================================================================ `; -exports[`string_lit.js 1`] = ` +exports[`string_lit.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -600,7 +600,7 @@ var { "with-dash": with_dash } = { "with-dash": "motivating example" }; ================================================================================ `; -exports[`unannotated.js 1`] = ` +exports[`unannotated.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/dictionary/__snapshots__/jsfmt.spec.js.snap b/tests/flow/dictionary/__snapshots__/jsfmt.spec.js.snap index ff648a9fe4..f220f77220 100644 --- a/tests/flow/dictionary/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/dictionary/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`any.js 1`] = ` +exports[`any.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -22,7 +22,7 @@ const val: string = dict[k]; // error: number incompatible with string ================================================================================ `; -exports[`compatible.js 1`] = ` +exports[`compatible.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -66,7 +66,7 @@ function foo2(x: { ================================================================================ `; -exports[`dictionary.js 1`] = ` +exports[`dictionary.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -674,7 +674,7 @@ function subtype_optional_c_to_dict(x: { p?: C }): { [k: string]: B } { ================================================================================ `; -exports[`incompatible.js 1`] = ` +exports[`incompatible.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -804,7 +804,7 @@ function foo8(x: { [key: string]: number }) { ================================================================================ `; -exports[`issue-1745.js 1`] = ` +exports[`issue-1745.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -866,7 +866,7 @@ class B { ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -898,7 +898,7 @@ module.exports = o; ================================================================================ `; -exports[`test_client.js 1`] = ` +exports[`test_client.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/disjoint-union-perf/__snapshots__/jsfmt.spec.js.snap b/tests/flow/disjoint-union-perf/__snapshots__/jsfmt.spec.js.snap index 866c233375..96f8792d29 100644 --- a/tests/flow/disjoint-union-perf/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/disjoint-union-perf/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ast.js 1`] = ` +exports[`ast.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -170,7 +170,7 @@ export type TypedNode = ================================================================================ `; -exports[`emit.js 1`] = ` +exports[`emit.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -310,7 +310,7 @@ export function emitExpression(node: TypedNode): t.Expression { ================================================================================ `; -exports[`jsAst.js 1`] = ` +exports[`jsAst.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/docblock_flow/__snapshots__/jsfmt.spec.js.snap b/tests/flow/docblock_flow/__snapshots__/jsfmt.spec.js.snap index 64ebf9aa9d..c16c9d99d6 100644 --- a/tests/flow/docblock_flow/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/docblock_flow/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`license_with_flow.js 1`] = ` +exports[`license_with_flow.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -20,7 +20,7 @@ printWidth: 80 ================================================================================ `; -exports[`max_header_tokens.js 1`] = ` +exports[`max_header_tokens.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -48,7 +48,7 @@ printWidth: 80 ================================================================================ `; -exports[`multiple_flows_1.js 1`] = ` +exports[`multiple_flows_1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -64,7 +64,7 @@ printWidth: 80 ================================================================================ `; -exports[`multiple_flows_2.js 1`] = ` +exports[`multiple_flows_2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -84,7 +84,7 @@ printWidth: 80 ================================================================================ `; -exports[`multiple_providesModule_1.js 1`] = ` +exports[`multiple_providesModule_1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -106,7 +106,7 @@ printWidth: 80 ================================================================================ `; -exports[`multiple_providesModule_2.js 1`] = ` +exports[`multiple_providesModule_2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -132,7 +132,7 @@ printWidth: 80 ================================================================================ `; -exports[`use_strict_with_flow.js 1`] = ` +exports[`use_strict_with_flow.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -152,7 +152,7 @@ printWidth: 80 ================================================================================ `; -exports[`with_flow.js 1`] = ` +exports[`with_flow.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -170,7 +170,7 @@ printWidth: 80 ================================================================================ `; -exports[`without_flow.js 1`] = ` +exports[`without_flow.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/dom/__snapshots__/jsfmt.spec.js.snap b/tests/flow/dom/__snapshots__/jsfmt.spec.js.snap index 1ca23d287b..4eb2849ebc 100644 --- a/tests/flow/dom/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/dom/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`CanvasRenderingContext2D.js 1`] = ` +exports[`CanvasRenderingContext2D.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -38,7 +38,7 @@ let tests = [ ================================================================================ `; -exports[`CustomEvent.js 1`] = ` +exports[`CustomEvent.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -68,7 +68,7 @@ let tests = [ ================================================================================ `; -exports[`Document.js 1`] = ` +exports[`Document.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -106,7 +106,7 @@ let tests = [ ================================================================================ `; -exports[`Element.js 1`] = ` +exports[`Element.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -154,7 +154,7 @@ let tests = [ ================================================================================ `; -exports[`HTMLCanvasElement.js 1`] = ` +exports[`HTMLCanvasElement.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -182,7 +182,7 @@ let tests = [ ================================================================================ `; -exports[`HTMLElement.js 1`] = ` +exports[`HTMLElement.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -230,7 +230,7 @@ let tests = [ ================================================================================ `; -exports[`HTMLInputElement.js 1`] = ` +exports[`HTMLInputElement.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -266,7 +266,7 @@ let tests = [ ================================================================================ `; -exports[`URL.js 1`] = ` +exports[`URL.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -318,7 +318,7 @@ const r: string = c.username; // correct ================================================================================ `; -exports[`eventtarget.js 1`] = ` +exports[`eventtarget.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -380,7 +380,7 @@ let tests = [ ================================================================================ `; -exports[`path2d.js 1`] = ` +exports[`path2d.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -414,7 +414,7 @@ let tests = [ ================================================================================ `; -exports[`registerElement.js 1`] = ` +exports[`registerElement.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -535,7 +535,7 @@ let tests = [ ================================================================================ `; -exports[`traversal.js 1`] = ` +exports[`traversal.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/dump-types/__snapshots__/jsfmt.spec.js.snap b/tests/flow/dump-types/__snapshots__/jsfmt.spec.js.snap index 8479edf220..1e3e4ba9e6 100644 --- a/tests/flow/dump-types/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/dump-types/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`import.js 1`] = ` +exports[`import.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -22,7 +22,7 @@ module.exports = num; ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/duplicate_methods/__snapshots__/jsfmt.spec.js.snap b/tests/flow/duplicate_methods/__snapshots__/jsfmt.spec.js.snap index a4e094e1c5..982b8f3196 100644 --- a/tests/flow/duplicate_methods/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/duplicate_methods/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/encaps/__snapshots__/jsfmt.spec.js.snap b/tests/flow/encaps/__snapshots__/jsfmt.spec.js.snap index 21dc78a338..97970c1a11 100644 --- a/tests/flow/encaps/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/encaps/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`encaps.js 1`] = ` +exports[`encaps.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/enumerror/__snapshots__/jsfmt.spec.js.snap b/tests/flow/enumerror/__snapshots__/jsfmt.spec.js.snap index 8b359a7cd1..4d56beecc2 100644 --- a/tests/flow/enumerror/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/enumerror/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`enumerror.js 1`] = ` +exports[`enumerror.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/equals/__snapshots__/jsfmt.spec.js.snap b/tests/flow/equals/__snapshots__/jsfmt.spec.js.snap index 951a273c82..ed113cd339 100644 --- a/tests/flow/equals/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/equals/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`equals.js 1`] = ` +exports[`equals.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/error_messages/__snapshots__/jsfmt.spec.js.snap b/tests/flow/error_messages/__snapshots__/jsfmt.spec.js.snap index cdac9dcc8b..9e8b09da19 100644 --- a/tests/flow/error_messages/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/error_messages/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`errors.js 1`] = ` +exports[`errors.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/es6modules/__snapshots__/jsfmt.spec.js.snap b/tests/flow/es6modules/__snapshots__/jsfmt.spec.js.snap index 2056ab64fe..c3e3c56e71 100644 --- a/tests/flow/es6modules/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/es6modules/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ exports.numberValue = 42; ================================================================================ `; -exports[`C.js 1`] = ` +exports[`C.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -32,7 +32,7 @@ printWidth: 80 ================================================================================ `; -exports[`CommonJS_Clobbering_Class.js 1`] = ` +exports[`CommonJS_Clobbering_Class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -96,7 +96,7 @@ module.exports = Test; ================================================================================ `; -exports[`CommonJS_Clobbering_Frozen.js 1`] = ` +exports[`CommonJS_Clobbering_Frozen.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -124,7 +124,7 @@ module.exports = Object.freeze({ ================================================================================ `; -exports[`CommonJS_Clobbering_Lit.js 1`] = ` +exports[`CommonJS_Clobbering_Lit.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -160,7 +160,7 @@ module.exports = { ================================================================================ `; -exports[`CommonJS_Named.js 1`] = ` +exports[`CommonJS_Named.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -192,7 +192,7 @@ exports.numberValue5 = 5; ================================================================================ `; -exports[`ES6_Default_AnonClass1.js 1`] = ` +exports[`ES6_Default_AnonClass1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -220,7 +220,7 @@ export default class { ================================================================================ `; -exports[`ES6_Default_AnonClass2.js 1`] = ` +exports[`ES6_Default_AnonClass2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -248,7 +248,7 @@ export default class { ================================================================================ `; -exports[`ES6_Default_AnonFunction1.js 1`] = ` +exports[`ES6_Default_AnonFunction1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -274,7 +274,7 @@ export default function (): number { ================================================================================ `; -exports[`ES6_Default_AnonFunction2.js 1`] = ` +exports[`ES6_Default_AnonFunction2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -300,7 +300,7 @@ export default function (): number { ================================================================================ `; -exports[`ES6_Default_NamedClass1.js 1`] = ` +exports[`ES6_Default_NamedClass1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -338,7 +338,7 @@ new Foo(); ================================================================================ `; -exports[`ES6_Default_NamedClass2.js 1`] = ` +exports[`ES6_Default_NamedClass2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -366,7 +366,7 @@ export default class Foo { ================================================================================ `; -exports[`ES6_Default_NamedFunction1.js 1`] = ` +exports[`ES6_Default_NamedFunction1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -392,7 +392,7 @@ export default function foo(): number { ================================================================================ `; -exports[`ES6_Default_NamedFunction2.js 1`] = ` +exports[`ES6_Default_NamedFunction2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -418,7 +418,7 @@ export default function foo(): number { ================================================================================ `; -exports[`ES6_DefaultAndNamed.js 1`] = ` +exports[`ES6_DefaultAndNamed.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -438,7 +438,7 @@ export var str = "asdf"; ================================================================================ `; -exports[`ES6_ExportAllFrom_Intermediary1.js 1`] = ` +exports[`ES6_ExportAllFrom_Intermediary1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -462,7 +462,7 @@ export * from "ES6_ExportAllFrom_Source1"; ================================================================================ `; -exports[`ES6_ExportAllFrom_Intermediary2.js 1`] = ` +exports[`ES6_ExportAllFrom_Intermediary2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -486,7 +486,7 @@ export * from "ES6_ExportAllFrom_Source2"; ================================================================================ `; -exports[`ES6_ExportAllFrom_Source1.js 1`] = ` +exports[`ES6_ExportAllFrom_Source1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -510,7 +510,7 @@ export var numberValue1 = 1; ================================================================================ `; -exports[`ES6_ExportAllFrom_Source2.js 1`] = ` +exports[`ES6_ExportAllFrom_Source2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -534,7 +534,7 @@ export var numberValue2 = 1; ================================================================================ `; -exports[`ES6_ExportAllFromMulti.js 1`] = ` +exports[`ES6_ExportAllFromMulti.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -554,7 +554,7 @@ export * from "./ES6_ExportAllFrom_Source2"; ================================================================================ `; -exports[`ES6_ExportFrom_Intermediary1.js 1`] = ` +exports[`ES6_ExportFrom_Intermediary1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -584,7 +584,7 @@ export { ================================================================================ `; -exports[`ES6_ExportFrom_Intermediary2.js 1`] = ` +exports[`ES6_ExportFrom_Intermediary2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -614,7 +614,7 @@ export { ================================================================================ `; -exports[`ES6_ExportFrom_Source1.js 1`] = ` +exports[`ES6_ExportFrom_Source1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -639,7 +639,7 @@ export var numberValue1 = 1, ================================================================================ `; -exports[`ES6_ExportFrom_Source2.js 1`] = ` +exports[`ES6_ExportFrom_Source2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -664,7 +664,7 @@ export var numberValue1 = 1, ================================================================================ `; -exports[`ES6_Named1.js 1`] = ` +exports[`ES6_Named1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -727,7 +727,7 @@ export var [destructuredArrNumber] = [1]; ================================================================================ `; -exports[`ES6_Named2.js 1`] = ` +exports[`ES6_Named2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -786,7 +786,7 @@ export var [destructuredArrNumber2] = [1]; ================================================================================ `; -exports[`ExportType.js 1`] = ` +exports[`ExportType.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -804,7 +804,7 @@ export type typeAlias = number; ================================================================================ `; -exports[`ProvidesModuleA.js 1`] = ` +exports[`ProvidesModuleA.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -836,7 +836,7 @@ exports.stringValue = "str"; ================================================================================ `; -exports[`ProvidesModuleCJSDefault.js 1`] = ` +exports[`ProvidesModuleCJSDefault.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -864,7 +864,7 @@ module.exports = { ================================================================================ `; -exports[`ProvidesModuleD.js 1`] = ` +exports[`ProvidesModuleD.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -884,7 +884,7 @@ printWidth: 80 ================================================================================ `; -exports[`ProvidesModuleES6Default.js 1`] = ` +exports[`ProvidesModuleES6Default.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -916,7 +916,7 @@ export default { ================================================================================ `; -exports[`SideEffects.js 1`] = ` +exports[`SideEffects.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -930,7 +930,7 @@ printWidth: 80 ================================================================================ `; -exports[`es6modules.js 1`] = ` +exports[`es6modules.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1535,7 +1535,7 @@ import { typeAlias } from "./ExportType"; // Error: Cannot vanilla-import a type ================================================================================ `; -exports[`test_imports_are_frozen.js 1`] = ` +exports[`test_imports_are_frozen.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/es_declare_module/__snapshots__/jsfmt.spec.js.snap b/tests/flow/es_declare_module/__snapshots__/jsfmt.spec.js.snap index 453bb9e796..7f7dfc98ea 100644 --- a/tests/flow/es_declare_module/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/es_declare_module/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`es_declare_module.js 1`] = ` +exports[`es_declare_module.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/es_declare_module/flow-typed/__snapshots__/jsfmt.spec.js.snap b/tests/flow/es_declare_module/flow-typed/__snapshots__/jsfmt.spec.js.snap index 75c37f9f05..a9b747e215 100644 --- a/tests/flow/es_declare_module/flow-typed/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/es_declare_module/flow-typed/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`declares.js 1`] = ` +exports[`declares.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/esproposal_class_instance_fields.ignore/__snapshots__/jsfmt.spec.js.snap b/tests/flow/esproposal_class_instance_fields.ignore/__snapshots__/jsfmt.spec.js.snap index 42674f3cab..f434b96a65 100644 --- a/tests/flow/esproposal_class_instance_fields.ignore/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/esproposal_class_instance_fields.ignore/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/esproposal_class_instance_fields.warn/__snapshots__/jsfmt.spec.js.snap b/tests/flow/esproposal_class_instance_fields.warn/__snapshots__/jsfmt.spec.js.snap index 8a98338e3d..eea0e42e25 100644 --- a/tests/flow/esproposal_class_instance_fields.warn/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/esproposal_class_instance_fields.warn/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/esproposal_class_static_fields.ignore/__snapshots__/jsfmt.spec.js.snap b/tests/flow/esproposal_class_static_fields.ignore/__snapshots__/jsfmt.spec.js.snap index 3b57032f7d..e616326e61 100644 --- a/tests/flow/esproposal_class_static_fields.ignore/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/esproposal_class_static_fields.ignore/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/esproposal_class_static_fields.warn/__snapshots__/jsfmt.spec.js.snap b/tests/flow/esproposal_class_static_fields.warn/__snapshots__/jsfmt.spec.js.snap index 3b57032f7d..e616326e61 100644 --- a/tests/flow/esproposal_class_static_fields.warn/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/esproposal_class_static_fields.warn/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/esproposal_decorators.ignore/__snapshots__/jsfmt.spec.js.snap b/tests/flow/esproposal_decorators.ignore/__snapshots__/jsfmt.spec.js.snap index f6f590a073..4caf7e5e14 100644 --- a/tests/flow/esproposal_decorators.ignore/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/esproposal_decorators.ignore/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/esproposal_decorators.warn/__snapshots__/jsfmt.spec.js.snap b/tests/flow/esproposal_decorators.warn/__snapshots__/jsfmt.spec.js.snap index f6f590a073..4caf7e5e14 100644 --- a/tests/flow/esproposal_decorators.warn/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/esproposal_decorators.warn/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/esproposal_export_star_as.enable/__snapshots__/jsfmt.spec.js.snap b/tests/flow/esproposal_export_star_as.enable/__snapshots__/jsfmt.spec.js.snap index 9bb6a46275..3fd7f79c40 100644 --- a/tests/flow/esproposal_export_star_as.enable/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/esproposal_export_star_as.enable/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`dest.js 1`] = ` +exports[`dest.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -30,7 +30,7 @@ var d: number = source.str; // Error: num ~> string ================================================================================ `; -exports[`source.js 1`] = ` +exports[`source.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -50,7 +50,7 @@ export var num = 42; ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/esproposal_export_star_as.ignore/__snapshots__/jsfmt.spec.js.snap b/tests/flow/esproposal_export_star_as.ignore/__snapshots__/jsfmt.spec.js.snap index 51f1a90c0d..025b839a0c 100644 --- a/tests/flow/esproposal_export_star_as.ignore/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/esproposal_export_star_as.ignore/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`dest.js 1`] = ` +exports[`dest.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -30,7 +30,7 @@ var d: number = source.str; // Ignored error: num ~> string ================================================================================ `; -exports[`source.js 1`] = ` +exports[`source.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -50,7 +50,7 @@ export var num = 42; ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/esproposal_export_star_as.warn/__snapshots__/jsfmt.spec.js.snap b/tests/flow/esproposal_export_star_as.warn/__snapshots__/jsfmt.spec.js.snap index 0a667b73cd..91d1efb8ef 100644 --- a/tests/flow/esproposal_export_star_as.warn/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/esproposal_export_star_as.warn/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/export_default/__snapshots__/jsfmt.spec.js.snap b/tests/flow/export_default/__snapshots__/jsfmt.spec.js.snap index 32850d4ef9..b82d826991 100644 --- a/tests/flow/export_default/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/export_default/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`P.js 1`] = ` +exports[`P.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ module.exports = require("M"); ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/export_default/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/export_default/lib/__snapshots__/jsfmt.spec.js.snap index 799da73689..57e23772f4 100644 --- a/tests/flow/export_default/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/export_default/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`lib.js 1`] = ` +exports[`lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/export_type/__snapshots__/jsfmt.spec.js.snap b/tests/flow/export_type/__snapshots__/jsfmt.spec.js.snap index e7818d1e31..1fa4852d4e 100644 --- a/tests/flow/export_type/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/export_type/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`cjs_with_types.js 1`] = ` +exports[`cjs_with_types.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -26,7 +26,7 @@ module.exports = {}; ================================================================================ `; -exports[`importer.js 1`] = ` +exports[`importer.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -102,7 +102,7 @@ var n: IFoo2 = { prop: 42 }; // Error: {prop:number} ~> {prop:string} ================================================================================ `; -exports[`types_only.js 1`] = ` +exports[`types_only.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -146,7 +146,7 @@ export interface IFoo { ================================================================================ `; -exports[`types_only2.js 1`] = ` +exports[`types_only2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/extensions/__snapshots__/jsfmt.spec.js.snap b/tests/flow/extensions/__snapshots__/jsfmt.spec.js.snap index 5bbc69cab1..813d6179fe 100644 --- a/tests/flow/extensions/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/extensions/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/facebook_fbt_none/__snapshots__/jsfmt.spec.js.snap b/tests/flow/facebook_fbt_none/__snapshots__/jsfmt.spec.js.snap index c30cc26259..0a838059b9 100644 --- a/tests/flow/facebook_fbt_none/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/facebook_fbt_none/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`main.js 1`] = ` +exports[`main.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/facebook_fbt_some/__snapshots__/jsfmt.spec.js.snap b/tests/flow/facebook_fbt_some/__snapshots__/jsfmt.spec.js.snap index 0e3f23d43a..db64e80bb4 100644 --- a/tests/flow/facebook_fbt_some/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/facebook_fbt_some/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`main.js 1`] = ` +exports[`main.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/facebook_fbt_some/flow-typed/__snapshots__/jsfmt.spec.js.snap b/tests/flow/facebook_fbt_some/flow-typed/__snapshots__/jsfmt.spec.js.snap index f44fa4fbdc..9b93210266 100644 --- a/tests/flow/facebook_fbt_some/flow-typed/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/facebook_fbt_some/flow-typed/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`fbt.js 1`] = ` +exports[`fbt.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/facebookisms/__snapshots__/jsfmt.spec.js.snap b/tests/flow/facebookisms/__snapshots__/jsfmt.spec.js.snap index bff3253830..4a639a4eee 100644 --- a/tests/flow/facebookisms/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/facebookisms/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Bar.js 1`] = ` +exports[`Bar.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -16,7 +16,7 @@ module.exports = Bar; ================================================================================ `; -exports[`copyProperties.js 1`] = ` +exports[`copyProperties.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -106,7 +106,7 @@ let tests = [ ================================================================================ `; -exports[`invariant.js 1`] = ` +exports[`invariant.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -146,7 +146,7 @@ let tests = [ ================================================================================ `; -exports[`lib.js 1`] = ` +exports[`lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -180,7 +180,7 @@ declare module "mixin" { ================================================================================ `; -exports[`mergeInto.js 1`] = ` +exports[`mergeInto.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -260,7 +260,7 @@ let tests = [ ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/fetch/__snapshots__/jsfmt.spec.js.snap b/tests/flow/fetch/__snapshots__/jsfmt.spec.js.snap index 48fc7b2f22..f82b1a1e20 100644 --- a/tests/flow/fetch/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/fetch/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`fetch.js 1`] = ` +exports[`fetch.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -60,7 +60,7 @@ const d: Promise = fetch("image.png"); // incorrect ================================================================================ `; -exports[`headers.js 1`] = ` +exports[`headers.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -136,7 +136,7 @@ e.forEach(() => {}, {}); // correct ================================================================================ `; -exports[`request.js 1`] = ` +exports[`request.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -274,7 +274,7 @@ new Request("/", { method: null }); // incorrect ================================================================================ `; -exports[`response.js 1`] = ` +exports[`response.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -374,7 +374,7 @@ h.arrayBuffer().then((ab: Buffer) => ab); // incorrect ================================================================================ `; -exports[`urlsearchparams.js 1`] = ` +exports[`urlsearchparams.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/find-module/__snapshots__/jsfmt.spec.js.snap b/tests/flow/find-module/__snapshots__/jsfmt.spec.js.snap index 90304d5fe3..ea16a6e856 100644 --- a/tests/flow/find-module/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/find-module/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`req.js 1`] = ` +exports[`req.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ module.exports = 0; ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/fixpoint/__snapshots__/jsfmt.spec.js.snap b/tests/flow/fixpoint/__snapshots__/jsfmt.spec.js.snap index f82ca6c046..efeac121d2 100644 --- a/tests/flow/fixpoint/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/fixpoint/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Fun.js 1`] = ` +exports[`Fun.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -79,7 +79,7 @@ module.exports = { fn: fix }; ================================================================================ `; -exports[`Ycombinator.js 1`] = ` +exports[`Ycombinator.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/flow_ast.template_strings/__snapshots__/jsfmt.spec.js.snap b/tests/flow/flow_ast.template_strings/__snapshots__/jsfmt.spec.js.snap index 32c1525e19..c72cac0b57 100644 --- a/tests/flow/flow_ast.template_strings/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/flow_ast.template_strings/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/focus-check/__snapshots__/jsfmt.spec.js.snap b/tests/flow/focus-check/__snapshots__/jsfmt.spec.js.snap index 0aa2f3fa66..1a8b7181ac 100644 --- a/tests/flow/focus-check/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/focus-check/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`a.js 1`] = ` +exports[`a.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ printWidth: 80 ================================================================================ `; -exports[`b.js 1`] = ` +exports[`b.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -36,7 +36,7 @@ module.exports = ""; ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/for/__snapshots__/jsfmt.spec.js.snap b/tests/flow/for/__snapshots__/jsfmt.spec.js.snap index c36ee3dfec..dc288c77f5 100644 --- a/tests/flow/for/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/for/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`abnormal.js 1`] = ` +exports[`abnormal.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -106,7 +106,7 @@ function corge(x: boolean) { ================================================================================ `; -exports[`abnormal_for_in.js 1`] = ` +exports[`abnormal_for_in.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -202,7 +202,7 @@ function corge(x: boolean) { ================================================================================ `; -exports[`abnormal_for_of.js 1`] = ` +exports[`abnormal_for_of.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/forof/__snapshots__/jsfmt.spec.js.snap b/tests/flow/forof/__snapshots__/jsfmt.spec.js.snap index d0fe9f9282..1f2c678b15 100644 --- a/tests/flow/forof/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/forof/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`forof.js 1`] = ` +exports[`forof.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/function/__snapshots__/jsfmt.spec.js.snap b/tests/flow/function/__snapshots__/jsfmt.spec.js.snap index e0aa81e217..926fe82aaf 100644 --- a/tests/flow/function/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/function/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`apply.js 1`] = ` +exports[`apply.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -112,7 +112,7 @@ function test3(x: { (a: string, b: string): void }) { ================================================================================ `; -exports[`bind.js 1`] = ` +exports[`bind.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -179,7 +179,7 @@ let tests = [ ================================================================================ `; -exports[`call.js 1`] = ` +exports[`call.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -277,7 +277,7 @@ function test3(x: { (a: string, b: string): void }) { ================================================================================ `; -exports[`function.js 1`] = ` +exports[`function.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -423,7 +423,7 @@ var e = (d.bind(1): Function)(); ================================================================================ `; -exports[`rest.js 1`] = ` +exports[`rest.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -572,7 +572,7 @@ requires_first_param(); // Error: missing first arg ================================================================================ `; -exports[`rest_type.js 1`] = ` +exports[`rest_type.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/funrec/__snapshots__/jsfmt.spec.js.snap b/tests/flow/funrec/__snapshots__/jsfmt.spec.js.snap index d234bb6bc7..f9379c75e9 100644 --- a/tests/flow/funrec/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/funrec/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`funrec.js 1`] = ` +exports[`funrec.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/generators/__snapshots__/jsfmt.spec.js.snap b/tests/flow/generators/__snapshots__/jsfmt.spec.js.snap index 93e71aae7c..ea64fd7f26 100644 --- a/tests/flow/generators/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/generators/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`class.js 1`] = ` +exports[`class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -272,7 +272,7 @@ for (var x of examples.delegate_yield_iterable([])) { ================================================================================ `; -exports[`class_failure.js 1`] = ` +exports[`class_failure.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -326,7 +326,7 @@ if (typeof infer_stmt_next === "undefined") { ================================================================================ `; -exports[`generators.js 1`] = ` +exports[`generators.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -598,7 +598,7 @@ if (multiple_return_result.done) { ================================================================================ `; -exports[`refi.js 1`] = ` +exports[`refi.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -672,7 +672,7 @@ function* d(x: void | string): Generator { ================================================================================ `; -exports[`return.js 1`] = ` +exports[`return.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -726,7 +726,7 @@ if (refuse_return_result.done) { ================================================================================ `; -exports[`throw.js 1`] = ` +exports[`throw.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -788,7 +788,7 @@ if (yield_return_value !== undefined) { ================================================================================ `; -exports[`variance.js 1`] = ` +exports[`variance.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/generics/__snapshots__/jsfmt.spec.js.snap b/tests/flow/generics/__snapshots__/jsfmt.spec.js.snap index 45e661d087..22610308a3 100644 --- a/tests/flow/generics/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/generics/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`generics.js 1`] = ` +exports[`generics.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/geolocation/__snapshots__/jsfmt.spec.js.snap b/tests/flow/geolocation/__snapshots__/jsfmt.spec.js.snap index bdab27f327..5ff2085523 100644 --- a/tests/flow/geolocation/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/geolocation/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`a.js 1`] = ` +exports[`a.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/get-def/__snapshots__/jsfmt.spec.js.snap b/tests/flow/get-def/__snapshots__/jsfmt.spec.js.snap index 69a917be32..ad6b340dff 100644 --- a/tests/flow/get-def/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/get-def/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`class.js 1`] = ` +exports[`class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -66,7 +66,7 @@ function f(x: Foo | null | void): void { ================================================================================ `; -exports[`example.js 1`] = ` +exports[`example.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -108,7 +108,7 @@ lib.bar(); ================================================================================ `; -exports[`imports.js 1`] = ` +exports[`imports.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -142,7 +142,7 @@ things; ================================================================================ `; -exports[`library.js 1`] = ` +exports[`library.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/get-def/helpers/__snapshots__/jsfmt.spec.js.snap b/tests/flow/get-def/helpers/__snapshots__/jsfmt.spec.js.snap index fdd01e73a4..036595dfc4 100644 --- a/tests/flow/get-def/helpers/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/get-def/helpers/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`exports_default.js 1`] = ` +exports[`exports_default.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -22,7 +22,7 @@ export default x; ================================================================================ `; -exports[`exports_named.js 1`] = ` +exports[`exports_named.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/get-def2/__snapshots__/jsfmt.spec.js.snap b/tests/flow/get-def2/__snapshots__/jsfmt.spec.js.snap index d7577dcf2a..e4eb2a59fc 100644 --- a/tests/flow/get-def2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/get-def2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Parent.js 1`] = ` +exports[`Parent.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -20,7 +20,7 @@ module.exports = { ParentFoo }; ================================================================================ `; -exports[`main.js 1`] = ` +exports[`main.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -80,7 +80,7 @@ function takesFoo(foo: Foo) {} ================================================================================ `; -exports[`override.js 1`] = ` +exports[`override.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -118,7 +118,7 @@ class D extends C { ================================================================================ `; -exports[`react.js 1`] = ` +exports[`react.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -152,7 +152,7 @@ let msg = "hello"; ================================================================================ `; -exports[`types.js 1`] = ` +exports[`types.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/get-def2/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/get-def2/lib/__snapshots__/jsfmt.spec.js.snap index 6bab10bb3e..6b5e41accb 100644 --- a/tests/flow/get-def2/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/get-def2/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`jsx.js 1`] = ` +exports[`jsx.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/get-imports/__snapshots__/jsfmt.spec.js.snap b/tests/flow/get-imports/__snapshots__/jsfmt.spec.js.snap index eb9b87285e..b828a1d0d5 100644 --- a/tests/flow/get-imports/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/get-imports/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`a.js 1`] = ` +exports[`a.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ printWidth: 80 ================================================================================ `; -exports[`b.js 1`] = ` +exports[`b.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -36,7 +36,7 @@ require("./a"); ================================================================================ `; -exports[`c.js 1`] = ` +exports[`c.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/getters_and_setters_disabled/__snapshots__/jsfmt.spec.js.snap b/tests/flow/getters_and_setters_disabled/__snapshots__/jsfmt.spec.js.snap index 1769f05dbe..40cbd33b2e 100644 --- a/tests/flow/getters_and_setters_disabled/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/getters_and_setters_disabled/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`getters_and_setters.js 1`] = ` +exports[`getters_and_setters.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/getters_and_setters_enabled/__snapshots__/jsfmt.spec.js.snap b/tests/flow/getters_and_setters_enabled/__snapshots__/jsfmt.spec.js.snap index b1723bb704..e6d4f7dae7 100644 --- a/tests/flow/getters_and_setters_enabled/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/getters_and_setters_enabled/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`class.js 1`] = ` +exports[`class.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -148,7 +148,7 @@ foo.propOverriddenWithSetter = 123; // Error number ~> string ================================================================================ `; -exports[`declare_class.js 1`] = ` +exports[`declare_class.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -254,7 +254,7 @@ foo.propOverriddenWithSetter = 123; // Error number ~> string ================================================================================ `; -exports[`object.js 1`] = ` +exports[`object.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -410,7 +410,7 @@ var testExampleOrOrderOfGetterAndSetterReordered: number = ================================================================================ `; -exports[`object_type.js 1`] = ` +exports[`object_type.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -529,7 +529,7 @@ function test(obj: T) { ================================================================================ `; -exports[`react.js 1`] = ` +exports[`react.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -581,7 +581,7 @@ const Example = React.createClass({ ================================================================================ `; -exports[`variance.js 1`] = ` +exports[`variance.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/haste_cycle/__snapshots__/jsfmt.spec.js.snap b/tests/flow/haste_cycle/__snapshots__/jsfmt.spec.js.snap index fb13477180..7fa95cc983 100644 --- a/tests/flow/haste_cycle/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/haste_cycle/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`API.js 1`] = ` +exports[`API.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/haste_cycle/models/__snapshots__/jsfmt.spec.js.snap b/tests/flow/haste_cycle/models/__snapshots__/jsfmt.spec.js.snap index 55e49ae21d..79f3185fcb 100644 --- a/tests/flow/haste_cycle/models/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/haste_cycle/models/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`OpenGraphAction.js 1`] = ` +exports[`OpenGraphAction.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ var OpenGraphValueContainer = require("./OpenGraphValueContainer.js"); ================================================================================ `; -exports[`OpenGraphObject.js 1`] = ` +exports[`OpenGraphObject.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -36,7 +36,7 @@ var OpenGraphValueContainer = require("./OpenGraphValueContainer.js"); ================================================================================ `; -exports[`OpenGraphValueContainer.js 1`] = ` +exports[`OpenGraphValueContainer.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/haste_dupe/__snapshots__/jsfmt.spec.js.snap b/tests/flow/haste_dupe/__snapshots__/jsfmt.spec.js.snap index 3ce2945f7a..775aa58b83 100644 --- a/tests/flow/haste_dupe/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/haste_dupe/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`dupe1.js 1`] = ` +exports[`dupe1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -24,7 +24,7 @@ module.exports = "dupe1"; ================================================================================ `; -exports[`dupe2.js 1`] = ` +exports[`dupe2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -48,7 +48,7 @@ module.exports = "dupe2"; ================================================================================ `; -exports[`requires_dupe.js 1`] = ` +exports[`requires_dupe.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/haste_name_reducers_defaults/__snapshots__/jsfmt.spec.js.snap b/tests/flow/haste_name_reducers_defaults/__snapshots__/jsfmt.spec.js.snap index 2b53c35dd0..63e31c5667 100644 --- a/tests/flow/haste_name_reducers_defaults/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/haste_name_reducers_defaults/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Module1.js 1`] = ` +exports[`Module1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -26,7 +26,7 @@ module.exports = test; ================================================================================ `; -exports[`index.js 1`] = ` +exports[`index.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/haste_use_name_reducers/__snapshots__/jsfmt.spec.js.snap b/tests/flow/haste_use_name_reducers/__snapshots__/jsfmt.spec.js.snap index bb9e7748da..a3eb273ed7 100644 --- a/tests/flow/haste_use_name_reducers/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/haste_use_name_reducers/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`index.js 1`] = ` +exports[`index.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/haste_use_name_reducers/dir1/__snapshots__/jsfmt.spec.js.snap b/tests/flow/haste_use_name_reducers/dir1/__snapshots__/jsfmt.spec.js.snap index 241c8b9ed7..6f4129b6a4 100644 --- a/tests/flow/haste_use_name_reducers/dir1/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/haste_use_name_reducers/dir1/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Module1.js 1`] = ` +exports[`Module1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/haste_use_name_reducers/dir2/__snapshots__/jsfmt.spec.js.snap b/tests/flow/haste_use_name_reducers/dir2/__snapshots__/jsfmt.spec.js.snap index f166724535..9e613431db 100644 --- a/tests/flow/haste_use_name_reducers/dir2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/haste_use_name_reducers/dir2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Module2.ios.js 1`] = ` +exports[`Module2.ios.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/ignore_package/__snapshots__/jsfmt.spec.js.snap b/tests/flow/ignore_package/__snapshots__/jsfmt.spec.js.snap index 05ba418503..dda6d68d0c 100644 --- a/tests/flow/ignore_package/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/ignore_package/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/immutable_methods/__snapshots__/jsfmt.spec.js.snap b/tests/flow/immutable_methods/__snapshots__/jsfmt.spec.js.snap index 950b62e481..ab60edb64b 100644 --- a/tests/flow/immutable_methods/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/immutable_methods/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/implements/__snapshots__/jsfmt.spec.js.snap b/tests/flow/implements/__snapshots__/jsfmt.spec.js.snap index bede032db7..2a470a15b7 100644 --- a/tests/flow/implements/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/implements/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/import_type/__snapshots__/jsfmt.spec.js.snap b/tests/flow/import_type/__snapshots__/jsfmt.spec.js.snap index e09bf87a97..528262aa05 100644 --- a/tests/flow/import_type/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/import_type/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ExportCJSDefault_Class.js 1`] = ` +exports[`ExportCJSDefault_Class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -38,7 +38,7 @@ module.exports = ClassFoo3; ================================================================================ `; -exports[`ExportCJSNamed_Class.js 1`] = ` +exports[`ExportCJSNamed_Class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -96,7 +96,7 @@ exports.foo5Inst = new ClassFoo5(); ================================================================================ `; -exports[`ExportDefault_Class.js 1`] = ` +exports[`ExportDefault_Class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -130,7 +130,7 @@ export var foo1Inst = new ClassFoo1(); ================================================================================ `; -exports[`ExportNamed_Alias.js 1`] = ` +exports[`ExportNamed_Alias.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -168,7 +168,7 @@ export function givesAFoo3Obj(): AliasFoo3 { ================================================================================ `; -exports[`ExportNamed_Class.js 1`] = ` +exports[`ExportNamed_Class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -202,7 +202,7 @@ export var foo2Inst = new ClassFoo2(); ================================================================================ `; -exports[`ExportsANumber.js 1`] = ` +exports[`ExportsANumber.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -220,7 +220,7 @@ export var numValue = 42; ================================================================================ `; -exports[`import_type.js 1`] = ` +exports[`import_type.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -396,7 +396,7 @@ function foo() { ================================================================================ `; -exports[`issue-359.js 1`] = ` +exports[`issue-359.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/import_typeof/__snapshots__/jsfmt.spec.js.snap b/tests/flow/import_typeof/__snapshots__/jsfmt.spec.js.snap index b8c34820c2..9728598d12 100644 --- a/tests/flow/import_typeof/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/import_typeof/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ExportCJSDefault_Class.js 1`] = ` +exports[`ExportCJSDefault_Class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -38,7 +38,7 @@ module.exports = ClassFoo3; ================================================================================ `; -exports[`ExportCJSDefault_Number.js 1`] = ` +exports[`ExportCJSDefault_Number.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -56,7 +56,7 @@ module.exports = 42; ================================================================================ `; -exports[`ExportCJSNamed_Class.js 1`] = ` +exports[`ExportCJSNamed_Class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -82,7 +82,7 @@ exports.ClassFoo4 = ClassFoo4; ================================================================================ `; -exports[`ExportCJSNamed_Number.js 1`] = ` +exports[`ExportCJSNamed_Number.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -100,7 +100,7 @@ exports.num = 42; ================================================================================ `; -exports[`ExportDefault_Class.js 1`] = ` +exports[`ExportDefault_Class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -132,7 +132,7 @@ export default ClassFoo1; ================================================================================ `; -exports[`ExportDefault_Number.js 1`] = ` +exports[`ExportDefault_Number.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -150,7 +150,7 @@ export default 42; ================================================================================ `; -exports[`ExportNamed_Alias.js 1`] = ` +exports[`ExportNamed_Alias.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -188,7 +188,7 @@ export function givesAFoo3Obj(): AliasFoo3 { ================================================================================ `; -exports[`ExportNamed_Class.js 1`] = ` +exports[`ExportNamed_Class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -220,7 +220,7 @@ export { ClassFoo2 }; ================================================================================ `; -exports[`ExportNamed_Multi.js 1`] = ` +exports[`ExportNamed_Multi.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -240,7 +240,7 @@ export var str = "asdf"; ================================================================================ `; -exports[`ExportNamed_Number.js 1`] = ` +exports[`ExportNamed_Number.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -258,7 +258,7 @@ export var num = 42; ================================================================================ `; -exports[`import_typeof.js 1`] = ` +exports[`import_typeof.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/include/foo/batman/__snapshots__/jsfmt.spec.js.snap b/tests/flow/include/foo/batman/__snapshots__/jsfmt.spec.js.snap index 99863e49d4..82456727bf 100644 --- a/tests/flow/include/foo/batman/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/include/foo/batman/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`baz.js 1`] = ` +exports[`baz.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/include/included/__snapshots__/jsfmt.spec.js.snap b/tests/flow/include/included/__snapshots__/jsfmt.spec.js.snap index 3042b2cee8..71f18b6494 100644 --- a/tests/flow/include/included/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/include/included/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/include_suppressed/__snapshots__/jsfmt.spec.js.snap b/tests/flow/include_suppressed/__snapshots__/jsfmt.spec.js.snap index 053ba6313b..abe602a461 100644 --- a/tests/flow/include_suppressed/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/include_suppressed/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental/__snapshots__/jsfmt.spec.js.snap index cf4006b6e7..d7cd7c08b2 100644 --- a/tests/flow/incremental/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`a.js 1`] = ` +exports[`a.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ printWidth: 80 ================================================================================ `; -exports[`b.js 1`] = ` +exports[`b.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -36,7 +36,7 @@ var A = require("IncrModuleA"); ================================================================================ `; -exports[`dup_a.js 1`] = ` +exports[`dup_a.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_basic/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_basic/__snapshots__/jsfmt.spec.js.snap index 003137d834..dc0bc4aed3 100644 --- a/tests/flow/incremental_basic/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_basic/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`a.js 1`] = ` +exports[`a.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ module.exports = a; ================================================================================ `; -exports[`b.js 1`] = ` +exports[`b.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -38,7 +38,7 @@ module.exports = b; ================================================================================ `; -exports[`c.js 1`] = ` +exports[`c.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_basic/tmp1/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_basic/tmp1/__snapshots__/jsfmt.spec.js.snap index 896fed53ae..1171994d83 100644 --- a/tests/flow/incremental_basic/tmp1/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_basic/tmp1/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`b.js 1`] = ` +exports[`b.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_basic/tmp2/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_basic/tmp2/__snapshots__/jsfmt.spec.js.snap index b9bad31893..e3ac14c04e 100644 --- a/tests/flow/incremental_basic/tmp2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_basic/tmp2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`a.js 1`] = ` +exports[`a.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_basic/tmp3/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_basic/tmp3/__snapshots__/jsfmt.spec.js.snap index e55f461241..55544faff2 100644 --- a/tests/flow/incremental_basic/tmp3/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_basic/tmp3/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`b.js 1`] = ` +exports[`b.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_cycle/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_cycle/__snapshots__/jsfmt.spec.js.snap index 527230ab4f..9076d306e2 100644 --- a/tests/flow/incremental_cycle/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_cycle/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -28,7 +28,7 @@ module.exports = A; ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -58,7 +58,7 @@ module.exports = B; ================================================================================ `; -exports[`C.js 1`] = ` +exports[`C.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_cycle/tmp1/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_cycle/tmp1/__snapshots__/jsfmt.spec.js.snap index 5897451c59..c9df145f4c 100644 --- a/tests/flow/incremental_cycle/tmp1/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_cycle/tmp1/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -22,7 +22,7 @@ export type B = string; ================================================================================ `; -exports[`C.js 1`] = ` +exports[`C.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_cycle/tmp2/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_cycle/tmp2/__snapshots__/jsfmt.spec.js.snap index 893a73b478..96b86b6ebf 100644 --- a/tests/flow/incremental_cycle/tmp2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_cycle/tmp2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_cycle/tmp3/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_cycle/tmp3/__snapshots__/jsfmt.spec.js.snap index 9f9aadf2a1..288a64be03 100644 --- a/tests/flow/incremental_cycle/tmp3/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_cycle/tmp3/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_cycle_break/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_cycle_break/__snapshots__/jsfmt.spec.js.snap index 67f752a48f..688561cd69 100644 --- a/tests/flow/incremental_cycle_break/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_cycle_break/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -24,7 +24,7 @@ require("B"); ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_cycle_break/tmp1/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_cycle_break/tmp1/__snapshots__/jsfmt.spec.js.snap index 0c66336c0a..909340db3c 100644 --- a/tests/flow/incremental_cycle_break/tmp1/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_cycle_break/tmp1/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_delete/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_delete/__snapshots__/jsfmt.spec.js.snap index 58a804f875..6c86a837b9 100644 --- a/tests/flow/incremental_delete/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_delete/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`a.js 1`] = ` +exports[`a.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ module.exports = a; ================================================================================ `; -exports[`b.js 1`] = ` +exports[`b.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -38,7 +38,7 @@ module.exports = b; ================================================================================ `; -exports[`c.js 1`] = ` +exports[`c.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -58,7 +58,7 @@ module.exports = c; ================================================================================ `; -exports[`dupe1.js 1`] = ` +exports[`dupe1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -82,7 +82,7 @@ module.exports = "dupe1"; ================================================================================ `; -exports[`dupe2.js 1`] = ` +exports[`dupe2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -106,7 +106,7 @@ module.exports = "dupe2"; ================================================================================ `; -exports[`requires_dupe.js 1`] = ` +exports[`requires_dupe.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -128,7 +128,7 @@ var dupe = require("Dupe"); ================================================================================ `; -exports[`requires_unchecked.js 1`] = ` +exports[`requires_unchecked.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -150,7 +150,7 @@ var unchecked = require("Unchecked"); ================================================================================ `; -exports[`unchecked.js 1`] = ` +exports[`unchecked.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_duplicate_delete/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_duplicate_delete/__snapshots__/jsfmt.spec.js.snap index 3b5a1af57c..066cd7856c 100644 --- a/tests/flow/incremental_duplicate_delete/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_duplicate_delete/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_haste_blacklist/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_haste_blacklist/__snapshots__/jsfmt.spec.js.snap index 4ad9d4aaca..ff09eefc86 100644 --- a/tests/flow/incremental_haste_blacklist/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_haste_blacklist/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ printWidth: 80 ================================================================================ `; -exports[`index.js 1`] = ` +exports[`index.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_haste_name_reducers_duplicate/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_haste_name_reducers_duplicate/__snapshots__/jsfmt.spec.js.snap index 4ad9d4aaca..ff09eefc86 100644 --- a/tests/flow/incremental_haste_name_reducers_duplicate/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_haste_name_reducers_duplicate/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ printWidth: 80 ================================================================================ `; -exports[`index.js 1`] = ` +exports[`index.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_json/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_json/__snapshots__/jsfmt.spec.js.snap index 6d4834ab1d..9091139c1d 100644 --- a/tests/flow/incremental_json/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_json/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_mixed_naming_cycle/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_mixed_naming_cycle/__snapshots__/jsfmt.spec.js.snap index 8c6be90588..8c2ab00438 100644 --- a/tests/flow/incremental_mixed_naming_cycle/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_mixed_naming_cycle/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`a.js 1`] = ` +exports[`a.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -30,7 +30,7 @@ module.exports = "A"; ================================================================================ `; -exports[`b.js 1`] = ` +exports[`b.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -60,7 +60,7 @@ module.exports = "B"; ================================================================================ `; -exports[`c.js 1`] = ` +exports[`c.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -90,7 +90,7 @@ module.exports = "C"; ================================================================================ `; -exports[`d.js 1`] = ` +exports[`d.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -118,7 +118,7 @@ module.exports = "D"; ================================================================================ `; -exports[`root.js 1`] = ` +exports[`root.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_mixed_naming_cycle/tmp1/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_mixed_naming_cycle/tmp1/__snapshots__/jsfmt.spec.js.snap index 4922fc2a51..790c0ea3ae 100644 --- a/tests/flow/incremental_mixed_naming_cycle/tmp1/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_mixed_naming_cycle/tmp1/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`root.js 1`] = ` +exports[`root.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_non_flow_move/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_non_flow_move/__snapshots__/jsfmt.spec.js.snap index a194a55a83..7809f160dc 100644 --- a/tests/flow/incremental_non_flow_move/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_non_flow_move/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ printWidth: 80 ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/incremental_path/dir/__snapshots__/jsfmt.spec.js.snap b/tests/flow/incremental_path/dir/__snapshots__/jsfmt.spec.js.snap index ad7acb5c03..f65a96fd5d 100644 --- a/tests/flow/incremental_path/dir/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/incremental_path/dir/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`a.js 1`] = ` +exports[`a.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/indexer/__snapshots__/jsfmt.spec.js.snap b/tests/flow/indexer/__snapshots__/jsfmt.spec.js.snap index 10d5947d71..3521ca6869 100644 --- a/tests/flow/indexer/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/indexer/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -90,7 +90,7 @@ function foo7(): { [key: string]: number, foo: number } { ================================================================================ `; -exports[`multiple.js 1`] = ` +exports[`multiple.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/init/__snapshots__/jsfmt.spec.js.snap b/tests/flow/init/__snapshots__/jsfmt.spec.js.snap index 403ed7f64f..1f0c994c88 100644 --- a/tests/flow/init/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/init/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`hoisted.js 1`] = ` +exports[`hoisted.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -104,7 +104,7 @@ function _for_of(arr: Array) { ================================================================================ `; -exports[`hoisted2.js 1`] = ` +exports[`hoisted2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -652,7 +652,7 @@ function for_in_post_init() { ================================================================================ `; -exports[`let.js 1`] = ` +exports[`let.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -982,7 +982,7 @@ function sub_closure_init_reference() { ================================================================================ `; -exports[`nullable-init.js 1`] = ` +exports[`nullable-init.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/instanceof/__snapshots__/jsfmt.spec.js.snap b/tests/flow/instanceof/__snapshots__/jsfmt.spec.js.snap index 4ced1f965f..caf8b2a8b1 100644 --- a/tests/flow/instanceof/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/instanceof/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`instanceof.js 1`] = ` +exports[`instanceof.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/integration/__snapshots__/jsfmt.spec.js.snap b/tests/flow/integration/__snapshots__/jsfmt.spec.js.snap index 629b1cfa30..044c6aa0ee 100644 --- a/tests/flow/integration/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/integration/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`bar.js 1`] = ` +exports[`bar.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ printWidth: 80 ================================================================================ `; -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/interface/__snapshots__/jsfmt.spec.js.snap b/tests/flow/interface/__snapshots__/jsfmt.spec.js.snap index 0a504554a9..876d28d55e 100644 --- a/tests/flow/interface/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/interface/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`import.js 1`] = ` +exports[`import.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ export type J = I; // workaround for export interface ================================================================================ `; -exports[`indexer.js 1`] = ` +exports[`indexer.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -50,7 +50,7 @@ interface Bad { ================================================================================ `; -exports[`interface.js 1`] = ` +exports[`interface.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -90,7 +90,7 @@ function testInterfaceName(o: I) { ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -154,7 +154,7 @@ var e: E = { x: "", y: "", z: "" }; // error: x and z should be numbers ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -196,7 +196,7 @@ function bar(m: M) { ================================================================================ `; -exports[`test3.js 1`] = ` +exports[`test3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -229,7 +229,7 @@ function foo(k: K) { ================================================================================ `; -exports[`test4.js 1`] = ` +exports[`test4.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/intersection/__snapshots__/jsfmt.spec.js.snap b/tests/flow/intersection/__snapshots__/jsfmt.spec.js.snap index 01c0d886a7..9739ece9c5 100644 --- a/tests/flow/intersection/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/intersection/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`intersection.js 1`] = ` +exports[`intersection.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -26,7 +26,7 @@ function bar(x: Error & { type: number }): number { ================================================================================ `; -exports[`objassign.js 1`] = ` +exports[`objassign.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -60,7 +60,7 @@ let y: ObjAssignT = { ...x }; // should be fine ================================================================================ `; -exports[`pred.js 1`] = ` +exports[`pred.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -125,7 +125,7 @@ function hasObjectMode_ok(options: DuplexStreamOptions): boolean { ================================================================================ `; -exports[`test_fun.js 1`] = ` +exports[`test_fun.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -199,7 +199,7 @@ var g: (_: number | string) => void = f; ================================================================================ `; -exports[`test_obj.js 1`] = ` +exports[`test_obj.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/intersection/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/intersection/lib/__snapshots__/jsfmt.spec.js.snap index fe67ca38e5..e8abfcf337 100644 --- a/tests/flow/intersection/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/intersection/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`lib.js 1`] = ` +exports[`lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/issues-11/__snapshots__/jsfmt.spec.js.snap b/tests/flow/issues-11/__snapshots__/jsfmt.spec.js.snap index c8125e5dd1..36613a09f0 100644 --- a/tests/flow/issues-11/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/issues-11/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`export.js 1`] = ` +exports[`export.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ exports.y = ""; ================================================================================ `; -exports[`import.js 1`] = ` +exports[`import.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/iter/__snapshots__/jsfmt.spec.js.snap b/tests/flow/iter/__snapshots__/jsfmt.spec.js.snap index 546b2488d3..cb8a25c1bb 100644 --- a/tests/flow/iter/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/iter/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`iter.js 1`] = ` +exports[`iter.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/iterable/__snapshots__/jsfmt.spec.js.snap b/tests/flow/iterable/__snapshots__/jsfmt.spec.js.snap index 286e45fef1..2861768738 100644 --- a/tests/flow/iterable/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/iterable/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`array.js 1`] = ` +exports[`array.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -28,7 +28,7 @@ printWidth: 80 ================================================================================ `; -exports[`caching_bug.js 1`] = ` +exports[`caching_bug.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -86,7 +86,7 @@ function miss_the_cache(x: Array): Iterable { ================================================================================ `; -exports[`iter.js 1`] = ` +exports[`iter.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -120,7 +120,7 @@ foo(m.keys()); ================================================================================ `; -exports[`iterator_result.js 1`] = ` +exports[`iterator_result.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -195,7 +195,7 @@ function makeIterator(coin_flip: () => boolean): Iterator { ================================================================================ `; -exports[`map.js 1`] = ` +exports[`map.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -237,7 +237,7 @@ function mapTest4(map: Map): Iterable { ================================================================================ `; -exports[`set.js 1`] = ` +exports[`set.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -279,7 +279,7 @@ function setTest4(set: Set): Iterable { ================================================================================ `; -exports[`string.js 1`] = ` +exports[`string.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -301,7 +301,7 @@ printWidth: 80 ================================================================================ `; -exports[`variance.js 1`] = ` +exports[`variance.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/jsx_intrinsics.builtin/__snapshots__/jsfmt.spec.js.snap b/tests/flow/jsx_intrinsics.builtin/__snapshots__/jsfmt.spec.js.snap index 3e7696b361..00f6781a33 100644 --- a/tests/flow/jsx_intrinsics.builtin/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/jsx_intrinsics.builtin/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`main.js 1`] = ` +exports[`main.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -56,7 +56,7 @@ var e: React.Element<{ not_a_real_attr: string }> = ( ================================================================================ `; -exports[`strings.js 1`] = ` +exports[`strings.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/jsx_intrinsics.custom/__snapshots__/jsfmt.spec.js.snap b/tests/flow/jsx_intrinsics.custom/__snapshots__/jsfmt.spec.js.snap index 64474b137d..dfbce28ab1 100644 --- a/tests/flow/jsx_intrinsics.custom/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/jsx_intrinsics.custom/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`main.js 1`] = ` +exports[`main.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -46,7 +46,7 @@ var d: React.Element<{ id: number }> = ================================================================================ `; -exports[`dobule-quotes.html 1`] = ` +exports[`dobule-quotes.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -353,7 +353,7 @@ printWidth: 80 ================================================================================ `; -exports[`duplicate.html 1`] = ` +exports[`duplicate.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -367,7 +367,7 @@ printWidth: 80 ================================================================================ `; -exports[`single-quotes.html 1`] = ` +exports[`single-quotes.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -381,7 +381,7 @@ printWidth: 80 ================================================================================ `; -exports[`smart-quotes.html 1`] = ` +exports[`smart-quotes.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -403,7 +403,7 @@ printWidth: 80 ================================================================================ `; -exports[`srcset.html 1`] = ` +exports[`srcset.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -458,7 +458,7 @@ srcset=" ================================================================================ `; -exports[`style.html 1`] = ` +exports[`style.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -599,7 +599,7 @@ style="css-prop-1: css-value;css-prop-2: css-value;css-prop-3: css-value;css-pro ================================================================================ `; -exports[`without-quotes.html 1`] = ` +exports[`without-quotes.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_aurelia/__snapshots__/jsfmt.spec.js.snap b/tests/html_aurelia/__snapshots__/jsfmt.spec.js.snap index d08d4efdaa..e39fc355b6 100644 --- a/tests/html_aurelia/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_aurelia/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`basic.html 1`] = ` +exports[`basic.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_basics/__snapshots__/jsfmt.spec.js.snap b/tests/html_basics/__snapshots__/jsfmt.spec.js.snap index ca82725823..d303b59a16 100644 --- a/tests/html_basics/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_basics/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`broken-html.html 1`] = ` +exports[`broken-html.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -34,7 +34,7 @@ extra space(s) ================================================================================ `; -exports[`comment.html 1`] = ` +exports[`comment.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -48,7 +48,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty.html 1`] = ` +exports[`empty.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -60,7 +60,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty-doc.html 1`] = ` +exports[`empty-doc.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -82,7 +82,7 @@ printWidth: 80 ================================================================================ `; -exports[`form.html 1`] = ` +exports[`form.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -272,7 +272,7 @@ printWidth: 80 ================================================================================ `; -exports[`hello-world.html 1`] = ` +exports[`hello-world.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -311,7 +311,7 @@ printWidth: 80 ================================================================================ `; -exports[`html-comments.html 1`] = ` +exports[`html-comments.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -337,7 +337,7 @@ printWidth: 80 ================================================================================ `; -exports[`html5-boilerplate.html 1`] = ` +exports[`html5-boilerplate.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -452,7 +452,7 @@ printWidth: 80 ================================================================================ `; -exports[`more-html.html 1`] = ` +exports[`more-html.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -478,7 +478,7 @@ printWidth: 80 ================================================================================ `; -exports[`void-elements.html 1`] = ` +exports[`void-elements.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -504,7 +504,7 @@ printWidth: 80 ================================================================================ `; -exports[`with-colon.html 1`] = ` +exports[`with-colon.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_case/__snapshots__/jsfmt.spec.js.snap b/tests/html_case/__snapshots__/jsfmt.spec.js.snap index 1a6a36d189..6b4e7adf2c 100644 --- a/tests/html_case/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_case/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`case.html 1`] = ` +exports[`case.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_cdata/__snapshots__/jsfmt.spec.js.snap b/tests/html_cdata/__snapshots__/jsfmt.spec.js.snap index 54a570080e..53980c95ff 100644 --- a/tests/html_cdata/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_cdata/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`example.html 1`] = ` +exports[`example.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_comments/__snapshots__/jsfmt.spec.js.snap b/tests/html_comments/__snapshots__/jsfmt.spec.js.snap index 8d8abe2e9a..43f0534392 100644 --- a/tests/html_comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_comments/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`before-text.html 1`] = ` +exports[`before-text.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -18,7 +18,7 @@ printWidth: 80 ================================================================================ `; -exports[`before-text.html 2`] = ` +exports[`before-text.html format 2`] = ` ====================================options===================================== parsers: ["html"] printWidth: 1 @@ -36,7 +36,7 @@ printWidth: 1 ================================================================================ `; -exports[`before-text.html 3`] = ` +exports[`before-text.html format 3`] = ` ====================================options===================================== parsers: ["html"] printWidth: Infinity @@ -53,7 +53,7 @@ printWidth: Infinity ================================================================================ `; -exports[`before-text.html 4`] = ` +exports[`before-text.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "strict" parsers: ["html"] @@ -72,7 +72,7 @@ printWidth: 80 ================================================================================ `; -exports[`before-text.html 5`] = ` +exports[`before-text.html format 5`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["html"] @@ -91,7 +91,7 @@ printWidth: 80 ================================================================================ `; -exports[`bogus.html 1`] = ` +exports[`bogus.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -107,7 +107,7 @@ printWidth: 80 ================================================================================ `; -exports[`bogus.html 2`] = ` +exports[`bogus.html format 2`] = ` ====================================options===================================== parsers: ["html"] printWidth: 1 @@ -123,7 +123,7 @@ printWidth: 1 ================================================================================ `; -exports[`bogus.html 3`] = ` +exports[`bogus.html format 3`] = ` ====================================options===================================== parsers: ["html"] printWidth: Infinity @@ -138,7 +138,7 @@ printWidth: Infinity ================================================================================ `; -exports[`bogus.html 4`] = ` +exports[`bogus.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "strict" parsers: ["html"] @@ -155,7 +155,7 @@ printWidth: 80 ================================================================================ `; -exports[`bogus.html 5`] = ` +exports[`bogus.html format 5`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["html"] @@ -172,7 +172,7 @@ printWidth: 80 ================================================================================ `; -exports[`conditional.html 1`] = ` +exports[`conditional.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -324,7 +324,7 @@ printWidth: 80 ================================================================================ `; -exports[`conditional.html 2`] = ` +exports[`conditional.html format 2`] = ` ====================================options===================================== parsers: ["html"] printWidth: 1 @@ -512,7 +512,7 @@ printWidth: 1 ================================================================================ `; -exports[`conditional.html 3`] = ` +exports[`conditional.html format 3`] = ` ====================================options===================================== parsers: ["html"] printWidth: Infinity @@ -663,7 +663,7 @@ printWidth: Infinity ================================================================================ `; -exports[`conditional.html 4`] = ` +exports[`conditional.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "strict" parsers: ["html"] @@ -816,7 +816,7 @@ printWidth: 80 ================================================================================ `; -exports[`conditional.html 5`] = ` +exports[`conditional.html format 5`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["html"] @@ -984,7 +984,7 @@ printWidth: 80 ================================================================================ `; -exports[`for_debugging.html 1`] = ` +exports[`for_debugging.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -1030,7 +1030,7 @@ printWidth: 80 ================================================================================ `; -exports[`for_debugging.html 2`] = ` +exports[`for_debugging.html format 2`] = ` ====================================options===================================== parsers: ["html"] printWidth: 1 @@ -1076,7 +1076,7 @@ printWidth: 1 ================================================================================ `; -exports[`for_debugging.html 3`] = ` +exports[`for_debugging.html format 3`] = ` ====================================options===================================== parsers: ["html"] printWidth: Infinity @@ -1121,7 +1121,7 @@ printWidth: Infinity ================================================================================ `; -exports[`for_debugging.html 4`] = ` +exports[`for_debugging.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "strict" parsers: ["html"] @@ -1168,7 +1168,7 @@ printWidth: 80 ================================================================================ `; -exports[`for_debugging.html 5`] = ` +exports[`for_debugging.html format 5`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["html"] @@ -1215,7 +1215,7 @@ printWidth: 80 ================================================================================ `; -exports[`hidden.html 1`] = ` +exports[`hidden.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -1251,7 +1251,7 @@ printWidth: 80 ================================================================================ `; -exports[`hidden.html 2`] = ` +exports[`hidden.html format 2`] = ` ====================================options===================================== parsers: ["html"] printWidth: 1 @@ -1292,7 +1292,7 @@ printWidth: 1 ================================================================================ `; -exports[`hidden.html 3`] = ` +exports[`hidden.html format 3`] = ` ====================================options===================================== parsers: ["html"] printWidth: Infinity @@ -1327,7 +1327,7 @@ printWidth: Infinity ================================================================================ `; -exports[`hidden.html 4`] = ` +exports[`hidden.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "strict" parsers: ["html"] @@ -1364,7 +1364,7 @@ printWidth: 80 ================================================================================ `; -exports[`hidden.html 5`] = ` +exports[`hidden.html format 5`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["html"] @@ -1401,7 +1401,7 @@ printWidth: 80 ================================================================================ `; -exports[`surrounding-empty-line.html 1`] = ` +exports[`surrounding-empty-line.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -1540,7 +1540,7 @@ See console log: ================================================================================ `; -exports[`surrounding-empty-line.html 2`] = ` +exports[`surrounding-empty-line.html format 2`] = ` ====================================options===================================== parsers: ["html"] printWidth: 1 @@ -1692,7 +1692,7 @@ See console log: ================================================================================ `; -exports[`surrounding-empty-line.html 3`] = ` +exports[`surrounding-empty-line.html format 3`] = ` ====================================options===================================== parsers: ["html"] printWidth: Infinity @@ -1830,7 +1830,7 @@ See console log: ================================================================================ `; -exports[`surrounding-empty-line.html 4`] = ` +exports[`surrounding-empty-line.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "strict" parsers: ["html"] @@ -1967,7 +1967,7 @@ See console log: ================================================================================ `; -exports[`surrounding-empty-line.html 5`] = ` +exports[`surrounding-empty-line.html format 5`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["html"] diff --git a/tests/html_css/__snapshots__/jsfmt.spec.js.snap b/tests/html_css/__snapshots__/jsfmt.spec.js.snap index 1effb3f87a..5786444806 100644 --- a/tests/html_css/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_css/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`empty.html 1`] = ` +exports[`empty.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -14,7 +14,7 @@ printWidth: 80 ================================================================================ `; -exports[`less.html 1`] = ` +exports[`less.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -60,7 +60,7 @@ printWidth: 80 ================================================================================ `; -exports[`postcss.html 1`] = ` +exports[`postcss.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -92,7 +92,7 @@ printWidth: 80 ================================================================================ `; -exports[`scss.html 1`] = ` +exports[`scss.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -168,7 +168,7 @@ printWidth: 80 ================================================================================ `; -exports[`simple.html 1`] = ` +exports[`simple.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -215,7 +215,7 @@ printWidth: 80 ================================================================================ `; -exports[`single-style.html 1`] = ` +exports[`single-style.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_doctype_declarations/__snapshots__/jsfmt.spec.js.snap b/tests/html_doctype_declarations/__snapshots__/jsfmt.spec.js.snap index 4907b0c444..b221f2dfcf 100644 --- a/tests/html_doctype_declarations/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_doctype_declarations/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`html4.01_frameset.html 1`] = ` +exports[`html4.01_frameset.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -33,7 +33,7 @@ printWidth: 80 ================================================================================ `; -exports[`html4.01_strict.html 1`] = ` +exports[`html4.01_strict.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -66,7 +66,7 @@ printWidth: 80 ================================================================================ `; -exports[`html4.01_transitional.html 1`] = ` +exports[`html4.01_transitional.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -99,7 +99,7 @@ printWidth: 80 ================================================================================ `; -exports[`html5.html 1`] = ` +exports[`html5.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -131,7 +131,7 @@ printWidth: 80 ================================================================================ `; -exports[`xhtml1.1.html 1`] = ` +exports[`xhtml1.1.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_interpolation/__snapshots__/jsfmt.spec.js.snap b/tests/html_interpolation/__snapshots__/jsfmt.spec.js.snap index 68ac37ebaa..7127245edf 100644 --- a/tests/html_interpolation/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_interpolation/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`example.html 1`] = ` +exports[`example.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_js/__snapshots__/jsfmt.spec.js.snap b/tests/html_js/__snapshots__/jsfmt.spec.js.snap index f7200e9cb6..590076f2e0 100644 --- a/tests/html_js/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_js/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`empty.html 1`] = ` +exports[`empty.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -14,7 +14,7 @@ printWidth: 80 ================================================================================ `; -exports[`js.html 1`] = ` +exports[`js.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -74,7 +74,7 @@ printWidth: 80 ================================================================================ `; -exports[`simple.html 1`] = ` +exports[`simple.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -120,7 +120,7 @@ printWidth: 80 ================================================================================ `; -exports[`single-script.html 1`] = ` +exports[`single-script.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -142,7 +142,7 @@ printWidth: 80 ================================================================================ `; -exports[`something-else.html 1`] = ` +exports[`something-else.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -162,7 +162,7 @@ printWidth: 80 ================================================================================ `; -exports[`template-literal.html 1`] = ` +exports[`template-literal.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -205,7 +205,7 @@ printWidth: 80 ================================================================================ `; -exports[`typescript.html 1`] = ` +exports[`typescript.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_lwc/__snapshots__/jsfmt.spec.js.snap b/tests/html_lwc/__snapshots__/jsfmt.spec.js.snap index 61cbb372bf..2c127c9660 100644 --- a/tests/html_lwc/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_lwc/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`attributes.html 1`] = ` +exports[`attributes.html format 1`] = ` ====================================options===================================== parser: "lwc" parsers: ["lwc"] @@ -39,7 +39,7 @@ trailingComma: "none" ================================================================================ `; -exports[`attributes.html 2`] = ` +exports[`attributes.html format 2`] = ` ====================================options===================================== parser: "lwc" parsers: ["lwc"] @@ -77,7 +77,7 @@ printWidth: 80 ================================================================================ `; -exports[`attributes.html 3`] = ` +exports[`attributes.html format 3`] = ` ====================================options===================================== parser: "lwc" parsers: ["lwc"] diff --git a/tests/html_magic_comments/__snapshots__/jsfmt.spec.js.snap b/tests/html_magic_comments/__snapshots__/jsfmt.spec.js.snap index a6c6879e9b..e6904c77f7 100644 --- a/tests/html_magic_comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_magic_comments/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`display.html 1`] = ` +exports[`display.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_mjml/__snapshots__/jsfmt.spec.js.snap b/tests/html_mjml/__snapshots__/jsfmt.spec.js.snap index 7fc1b5e18d..aabb76351f 100644 --- a/tests/html_mjml/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_mjml/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`empty.mjml 1`] = ` +exports[`empty.mjml format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -13,7 +13,7 @@ printWidth: 80 ================================================================================ `; -exports[`head.mjml 1`] = ` +exports[`head.mjml format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_next_empty_line/__snapshots__/jsfmt.spec.js.snap b/tests/html_next_empty_line/__snapshots__/jsfmt.spec.js.snap index 6c4a591bff..03a5dcf7c3 100644 --- a/tests/html_next_empty_line/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_next_empty_line/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`standalone-end-marker.html 1`] = ` +exports[`standalone-end-marker.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_prettier_ignore/__snapshots__/jsfmt.spec.js.snap b/tests/html_prettier_ignore/__snapshots__/jsfmt.spec.js.snap index a2a76a996b..c7291c2c35 100644 --- a/tests/html_prettier_ignore/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_prettier_ignore/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`cases.html 1`] = ` +exports[`cases.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -19,7 +19,7 @@ printWidth: 80 ================================================================================ `; -exports[`document.html 1`] = ` +exports[`document.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -117,7 +117,7 @@ printWidth: 80 ================================================================================ `; -exports[`long_lines.html 1`] = ` +exports[`long_lines.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_script/__snapshots__/jsfmt.spec.js.snap b/tests/html_script/__snapshots__/jsfmt.spec.js.snap index cb08b08ca5..77c1e0cce7 100644 --- a/tests/html_script/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_script/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`script.html 1`] = ` +exports[`script.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_svg/__snapshots__/jsfmt.spec.js.snap b/tests/html_svg/__snapshots__/jsfmt.spec.js.snap index 48ba45e0c8..ff13018964 100644 --- a/tests/html_svg/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_svg/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`svg.html 1`] = ` +exports[`svg.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_symbol_entities/__snapshots__/jsfmt.spec.js.snap b/tests/html_symbol_entities/__snapshots__/jsfmt.spec.js.snap index 226b06501c..aa84021e27 100644 --- a/tests/html_symbol_entities/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_symbol_entities/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`symbol_entitites.html 1`] = ` +exports[`symbol_entitites.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_tags/__snapshots__/jsfmt.spec.js.snap b/tests/html_tags/__snapshots__/jsfmt.spec.js.snap index ac9a2f0faf..d2fb1801a3 100644 --- a/tests/html_tags/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_tags/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`case-sensitive.html 1`] = ` +exports[`case-sensitive.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -14,7 +14,7 @@ printWidth: 80 ================================================================================ `; -exports[`case-sensitive.html 2`] = ` +exports[`case-sensitive.html format 2`] = ` ====================================options===================================== parsers: ["html"] printWidth: 1 @@ -32,7 +32,7 @@ printWidth: 1 ================================================================================ `; -exports[`case-sensitive.html 3`] = ` +exports[`case-sensitive.html format 3`] = ` ====================================options===================================== parsers: ["html"] printWidth: Infinity @@ -45,7 +45,7 @@ printWidth: Infinity ================================================================================ `; -exports[`case-sensitive.html 4`] = ` +exports[`case-sensitive.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "strict" parsers: ["html"] @@ -60,7 +60,7 @@ printWidth: 80 ================================================================================ `; -exports[`case-sensitive.html 5`] = ` +exports[`case-sensitive.html format 5`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["html"] @@ -75,7 +75,7 @@ printWidth: 80 ================================================================================ `; -exports[`closing-at-start.html 1`] = ` +exports[`closing-at-start.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -117,7 +117,7 @@ printWidth: 80 ================================================================================ `; -exports[`closing-at-start.html 2`] = ` +exports[`closing-at-start.html format 2`] = ` ====================================options===================================== parsers: ["html"] printWidth: 1 @@ -159,7 +159,7 @@ printWidth: 1 ================================================================================ `; -exports[`closing-at-start.html 3`] = ` +exports[`closing-at-start.html format 3`] = ` ====================================options===================================== parsers: ["html"] printWidth: Infinity @@ -194,7 +194,7 @@ printWidth: Infinity ================================================================================ `; -exports[`closing-at-start.html 4`] = ` +exports[`closing-at-start.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "strict" parsers: ["html"] @@ -237,7 +237,7 @@ printWidth: 80 ================================================================================ `; -exports[`closing-at-start.html 5`] = ` +exports[`closing-at-start.html format 5`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["html"] @@ -283,7 +283,7 @@ printWidth: 80 ================================================================================ `; -exports[`custom-element.html 1`] = ` +exports[`custom-element.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -299,7 +299,7 @@ printWidth: 80 ================================================================================ `; -exports[`custom-element.html 2`] = ` +exports[`custom-element.html format 2`] = ` ====================================options===================================== parsers: ["html"] printWidth: 1 @@ -315,7 +315,7 @@ printWidth: 1 ================================================================================ `; -exports[`custom-element.html 3`] = ` +exports[`custom-element.html format 3`] = ` ====================================options===================================== parsers: ["html"] printWidth: Infinity @@ -330,7 +330,7 @@ printWidth: Infinity ================================================================================ `; -exports[`custom-element.html 4`] = ` +exports[`custom-element.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "strict" parsers: ["html"] @@ -347,7 +347,7 @@ printWidth: 80 ================================================================================ `; -exports[`custom-element.html 5`] = ` +exports[`custom-element.html format 5`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["html"] @@ -364,7 +364,7 @@ printWidth: 80 ================================================================================ `; -exports[`openging-at-end.html 1`] = ` +exports[`openging-at-end.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -427,7 +427,7 @@ printWidth: 80 ================================================================================ `; -exports[`openging-at-end.html 2`] = ` +exports[`openging-at-end.html format 2`] = ` ====================================options===================================== parsers: ["html"] printWidth: 1 @@ -527,7 +527,7 @@ printWidth: 1 ================================================================================ `; -exports[`openging-at-end.html 3`] = ` +exports[`openging-at-end.html format 3`] = ` ====================================options===================================== parsers: ["html"] printWidth: Infinity @@ -584,7 +584,7 @@ printWidth: Infinity ================================================================================ `; -exports[`openging-at-end.html 4`] = ` +exports[`openging-at-end.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "strict" parsers: ["html"] @@ -648,7 +648,7 @@ printWidth: 80 ================================================================================ `; -exports[`openging-at-end.html 5`] = ` +exports[`openging-at-end.html format 5`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["html"] @@ -719,7 +719,7 @@ printWidth: 80 ================================================================================ `; -exports[`pre.html 1`] = ` +exports[`pre.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -927,7 +927,7 @@ ___________________________ ================================================================================ `; -exports[`pre.html 2`] = ` +exports[`pre.html format 2`] = ` ====================================options===================================== parsers: ["html"] printWidth: 1 @@ -1163,7 +1163,7 @@ ___________________________ ================================================================================ `; -exports[`pre.html 3`] = ` +exports[`pre.html format 3`] = ` ====================================options===================================== parsers: ["html"] printWidth: Infinity @@ -1362,7 +1362,7 @@ ___________________________ ================================================================================ `; -exports[`pre.html 4`] = ` +exports[`pre.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "strict" parsers: ["html"] @@ -1571,7 +1571,7 @@ ___________________________ ================================================================================ `; -exports[`pre.html 5`] = ` +exports[`pre.html format 5`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["html"] @@ -1780,7 +1780,7 @@ ___________________________ ================================================================================ `; -exports[`tags.html 1`] = ` +exports[`tags.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -2114,7 +2114,7 @@ printWidth: 80 ================================================================================ `; -exports[`tags.html 2`] = ` +exports[`tags.html format 2`] = ` ====================================options===================================== parsers: ["html"] printWidth: 1 @@ -2666,7 +2666,7 @@ printWidth: 1 ================================================================================ `; -exports[`tags.html 3`] = ` +exports[`tags.html format 3`] = ` ====================================options===================================== parsers: ["html"] printWidth: Infinity @@ -2933,7 +2933,7 @@ printWidth: Infinity ================================================================================ `; -exports[`tags.html 4`] = ` +exports[`tags.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "strict" parsers: ["html"] @@ -3252,7 +3252,7 @@ printWidth: 80 ================================================================================ `; -exports[`tags.html 5`] = ` +exports[`tags.html format 5`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["html"] @@ -3614,7 +3614,7 @@ printWidth: 80 ================================================================================ `; -exports[`textarea.html 1`] = ` +exports[`textarea.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -3686,7 +3686,7 @@ printWidth: 80 ================================================================================ `; -exports[`textarea.html 2`] = ` +exports[`textarea.html format 2`] = ` ====================================options===================================== parsers: ["html"] printWidth: 1 @@ -3766,7 +3766,7 @@ lorem ipsum { ================================================================================ `; -exports[`interpolations.vue 2`] = ` +exports[`interpolations.vue format 2`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -1623,7 +1623,7 @@ x => { ================================================================================ `; -exports[`interpolations.vue 3`] = ` +exports[`interpolations.vue format 3`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -1754,7 +1754,7 @@ x => { ================================================================================ `; -exports[`pre-child.vue 1`] = ` +exports[`pre-child.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -1860,7 +1860,7 @@ trailingComma: "none" ================================================================================ `; -exports[`pre-child.vue 2`] = ` +exports[`pre-child.vue format 2`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -1965,7 +1965,7 @@ printWidth: 80 ================================================================================ `; -exports[`pre-child.vue 3`] = ` +exports[`pre-child.vue format 3`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2071,7 +2071,7 @@ semi: false ================================================================================ `; -exports[`script_src.vue 1`] = ` +exports[`script_src.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2088,7 +2088,7 @@ trailingComma: "none" ================================================================================ `; -exports[`script_src.vue 2`] = ` +exports[`script_src.vue format 2`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2104,7 +2104,7 @@ printWidth: 80 ================================================================================ `; -exports[`script_src.vue 3`] = ` +exports[`script_src.vue format 3`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2121,7 +2121,7 @@ semi: false ================================================================================ `; -exports[`self_closing.vue 1`] = ` +exports[`self_closing.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2176,7 +2176,7 @@ foo(); ================================================================================ `; -exports[`self_closing.vue 2`] = ` +exports[`self_closing.vue format 2`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2230,7 +2230,7 @@ foo(); ================================================================================ `; -exports[`self_closing.vue 3`] = ` +exports[`self_closing.vue format 3`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2285,7 +2285,7 @@ foo() ================================================================================ `; -exports[`self_closing_style.vue 1`] = ` +exports[`self_closing_style.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2308,7 +2308,7 @@ trailingComma: "none" ================================================================================ `; -exports[`self_closing_style.vue 2`] = ` +exports[`self_closing_style.vue format 2`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2330,7 +2330,7 @@ printWidth: 80 ================================================================================ `; -exports[`self_closing_style.vue 3`] = ` +exports[`self_closing_style.vue format 3`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2353,7 +2353,7 @@ semi: false ================================================================================ `; -exports[`style.vue 1`] = ` +exports[`style.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2460,7 +2460,7 @@ trailingComma: "none" ================================================================================ `; -exports[`style.vue 2`] = ` +exports[`style.vue format 2`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2566,7 +2566,7 @@ printWidth: 80 ================================================================================ `; -exports[`style.vue 3`] = ` +exports[`style.vue format 3`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2673,7 +2673,7 @@ semi: false ================================================================================ `; -exports[`tag-name.vue 1`] = ` +exports[`tag-name.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2692,7 +2692,7 @@ trailingComma: "none" ================================================================================ `; -exports[`tag-name.vue 2`] = ` +exports[`tag-name.vue format 2`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2710,7 +2710,7 @@ printWidth: 80 ================================================================================ `; -exports[`tag-name.vue 3`] = ` +exports[`tag-name.vue format 3`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2729,7 +2729,7 @@ semi: false ================================================================================ `; -exports[`template.vue 1`] = ` +exports[`template.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2795,7 +2795,7 @@ trailingComma: "none" ================================================================================ `; -exports[`template.vue 2`] = ` +exports[`template.vue format 2`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2860,7 +2860,7 @@ printWidth: 80 ================================================================================ `; -exports[`template.vue 3`] = ` +exports[`template.vue format 3`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2926,7 +2926,7 @@ semi: false ================================================================================ `; -exports[`template-lang.vue 1`] = ` +exports[`template-lang.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -2965,7 +2965,7 @@ trailingComma: "none" ================================================================================ `; -exports[`template-lang.vue 2`] = ` +exports[`template-lang.vue format 2`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -3003,7 +3003,7 @@ printWidth: 80 ================================================================================ `; -exports[`template-lang.vue 3`] = ` +exports[`template-lang.vue format 3`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -3042,7 +3042,7 @@ semi: false ================================================================================ `; -exports[`test.vue 1`] = ` +exports[`test.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -3074,7 +3074,7 @@ trailingComma: "none" ================================================================================ `; -exports[`test.vue 2`] = ` +exports[`test.vue format 2`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -3105,7 +3105,7 @@ printWidth: 80 ================================================================================ `; -exports[`test.vue 3`] = ` +exports[`test.vue format 3`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -3137,7 +3137,7 @@ semi: false ================================================================================ `; -exports[`v-if.vue 1`] = ` +exports[`v-if.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -3248,7 +3248,7 @@ long_long_long_long_long_long_long_condition_4 ================================================================================ `; -exports[`v-if.vue 2`] = ` +exports[`v-if.vue format 2`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -3358,7 +3358,7 @@ long_long_long_long_long_long_long_condition_4 ================================================================================ `; -exports[`v-if.vue 3`] = ` +exports[`v-if.vue format 3`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 diff --git a/tests/html_vue_indent/__snapshots__/jsfmt.spec.js.snap b/tests/html_vue_indent/__snapshots__/jsfmt.spec.js.snap index f9bcc9196e..95b134e36b 100644 --- a/tests/html_vue_indent/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_vue_indent/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`inside-template.vue 1`] = ` +exports[`inside-template.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -57,7 +57,7 @@ vueIndentScriptAndStyle: true ================================================================================ `; -exports[`inside-template.vue 2`] = ` +exports[`inside-template.vue format 2`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -114,7 +114,7 @@ vueIndentScriptAndStyle: false ================================================================================ `; -exports[`vue-tag-indent.vue 1`] = ` +exports[`vue-tag-indent.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -171,7 +171,7 @@ footer { ================================================================================ `; -exports[`vue-tag-indent.vue 2`] = ` +exports[`vue-tag-indent.vue format 2`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 diff --git a/tests/html_whitespace/__snapshots__/jsfmt.spec.js.snap b/tests/html_whitespace/__snapshots__/jsfmt.spec.js.snap index 8d0eeb6c8f..484650fad7 100644 --- a/tests/html_whitespace/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_whitespace/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`break-tags.html 1`] = ` +exports[`break-tags.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -20,7 +20,7 @@ printWidth: 80 ================================================================================ `; -exports[`display-inline-block.html 1`] = ` +exports[`display-inline-block.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -69,7 +69,7 @@ Click here! Click here! Click here! Click here! Click here! Click here! ================================================================================ `; -exports[`display-none.html 1`] = ` +exports[`display-none.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -90,7 +90,7 @@ printWidth: 80 ================================================================================ `; -exports[`fill.html 1`] = ` +exports[`fill.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -125,7 +125,7 @@ printWidth: 80 ================================================================================ `; -exports[`inline-leading-trailing-spaces.html 1`] = ` +exports[`inline-leading-trailing-spaces.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -143,7 +143,7 @@ printWidth: 80 ================================================================================ `; -exports[`inline-nodes.html 1`] = ` +exports[`inline-nodes.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -193,7 +193,7 @@ conubia nostra, per inceptos himenaeos. Donec in ornare velit.

================================================================================ `; -exports[`non-breaking-whitespace.html 1`] = ` +exports[`non-breaking-whitespace.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -222,7 +222,7 @@ printWidth: 80 ================================================================================ `; -exports[`surrounding-linebreak.html 1`] = ` +exports[`surrounding-linebreak.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -266,7 +266,7 @@ printWidth: 80 ================================================================================ `; -exports[`table.html 1`] = ` +exports[`table.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -333,7 +333,7 @@ printWidth: 80 ================================================================================ `; -exports[`template.html 1`] = ` +exports[`template.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/html_yaml/__snapshots__/jsfmt.spec.js.snap b/tests/html_yaml/__snapshots__/jsfmt.spec.js.snap index 571611fd4a..8e3f4329b8 100644 --- a/tests/html_yaml/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_yaml/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`invalid.html 1`] = ` +exports[`invalid.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -29,7 +29,7 @@ invalid: ================================================================================ `; -exports[`yaml.html 1`] = ` +exports[`yaml.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/if/__snapshots__/jsfmt.spec.js.snap b/tests/if/__snapshots__/jsfmt.spec.js.snap index 859bd5b94b..dd142bd2d6 100644 --- a/tests/if/__snapshots__/jsfmt.spec.js.snap +++ b/tests/if/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comment_before_else.js 1`] = ` +exports[`comment_before_else.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -38,7 +38,7 @@ else stuff; ================================================================================ `; -exports[`else.js 1`] = ` +exports[`else.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -87,7 +87,7 @@ function f() { ================================================================================ `; -exports[`if_comments.js 1`] = ` +exports[`if_comments.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -204,7 +204,7 @@ async function f5() { ================================================================================ `; -exports[`trailing_comment.js 1`] = ` +exports[`trailing_comment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/ignore/__snapshots__/jsfmt.spec.js.snap b/tests/ignore/__snapshots__/jsfmt.spec.js.snap index 97e9b61e7f..f19419d4b8 100644 --- a/tests/ignore/__snapshots__/jsfmt.spec.js.snap +++ b/tests/ignore/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ignore.js 1`] = ` +exports[`ignore.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/import/__snapshots__/jsfmt.spec.js.snap b/tests/import/__snapshots__/jsfmt.spec.js.snap index 7bc87f259a..1993d08c50 100644 --- a/tests/import/__snapshots__/jsfmt.spec.js.snap +++ b/tests/import/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`brackets.js 1`] = ` +exports[`brackets.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -34,7 +34,7 @@ import { fitsIn, oneLine } from "."; ================================================================================ `; -exports[`brackets.js 2`] = ` +exports[`brackets.js format 2`] = ` ====================================options===================================== bracketSpacing: false parsers: ["flow", "typescript"] @@ -69,7 +69,7 @@ import {fitsIn, oneLine} from "."; ================================================================================ `; -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -173,7 +173,7 @@ import x, { ================================================================================ `; -exports[`comments.js 2`] = ` +exports[`comments.js format 2`] = ` ====================================options===================================== bracketSpacing: false parsers: ["flow", "typescript"] @@ -278,7 +278,7 @@ import x, { ================================================================================ `; -exports[`empty-import.js 1`] = ` +exports[`empty-import.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -292,7 +292,7 @@ import {} from "@types/googlemaps"; ================================================================================ `; -exports[`empty-import.js 2`] = ` +exports[`empty-import.js format 2`] = ` ====================================options===================================== bracketSpacing: false parsers: ["flow", "typescript"] @@ -307,7 +307,7 @@ import {} from "@types/googlemaps"; ================================================================================ `; -exports[`inline.js 1`] = ` +exports[`inline.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -332,7 +332,7 @@ import { ================================================================================ `; -exports[`inline.js 2`] = ` +exports[`inline.js format 2`] = ` ====================================options===================================== bracketSpacing: false parsers: ["flow", "typescript"] @@ -358,7 +358,7 @@ import { ================================================================================ `; -exports[`long-line.js 1`] = ` +exports[`long-line.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -372,7 +372,7 @@ import someCoolUtilWithARatherLongName from "../../../../utils/someCoolUtilWithA ================================================================================ `; -exports[`long-line.js 2`] = ` +exports[`long-line.js format 2`] = ` ====================================options===================================== bracketSpacing: false parsers: ["flow", "typescript"] @@ -387,7 +387,7 @@ import someCoolUtilWithARatherLongName from "../../../../utils/someCoolUtilWithA ================================================================================ `; -exports[`multiple_standalones.js 1`] = ` +exports[`multiple_standalones.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -401,7 +401,7 @@ import a, * as b from "a"; ================================================================================ `; -exports[`multiple_standalones.js 2`] = ` +exports[`multiple_standalones.js format 2`] = ` ====================================options===================================== bracketSpacing: false parsers: ["flow", "typescript"] diff --git a/tests/import_meta/__snapshots__/jsfmt.spec.js.snap b/tests/import_meta/__snapshots__/jsfmt.spec.js.snap index b84fa1a95f..57b104498a 100644 --- a/tests/import_meta/__snapshots__/jsfmt.spec.js.snap +++ b/tests/import_meta/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`import_meta.js 1`] = ` +exports[`import_meta.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript"] printWidth: 80 diff --git a/tests/insert-pragma/css/__snapshots__/jsfmt.spec.js.snap b/tests/insert-pragma/css/__snapshots__/jsfmt.spec.js.snap index 658934f54c..8ab184f0ce 100644 --- a/tests/insert-pragma/css/__snapshots__/jsfmt.spec.js.snap +++ b/tests/insert-pragma/css/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`front-matter.css 1`] = ` +exports[`front-matter.css format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["css"] @@ -27,7 +27,7 @@ something ================================================================================ `; -exports[`simple.css 1`] = ` +exports[`simple.css format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["css"] @@ -46,7 +46,7 @@ printWidth: 80 ================================================================================ `; -exports[`start-with-comment.css 1`] = ` +exports[`start-with-comment.css format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["css"] diff --git a/tests/insert-pragma/graphql/__snapshots__/jsfmt.spec.js.snap b/tests/insert-pragma/graphql/__snapshots__/jsfmt.spec.js.snap index 9eb32d6f67..21af82a31a 100644 --- a/tests/insert-pragma/graphql/__snapshots__/jsfmt.spec.js.snap +++ b/tests/insert-pragma/graphql/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`with-pragma.graphql 1`] = ` +exports[`with-pragma.graphql format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["graphql"] @@ -21,7 +21,7 @@ query Browse($offset: Int) { ================================================================================ `; -exports[`without-pragma.graphql 1`] = ` +exports[`without-pragma.graphql format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["graphql"] diff --git a/tests/insert-pragma/html/__snapshots__/jsfmt.spec.js.snap b/tests/insert-pragma/html/__snapshots__/jsfmt.spec.js.snap index fa307114d7..a252a25608 100644 --- a/tests/insert-pragma/html/__snapshots__/jsfmt.spec.js.snap +++ b/tests/insert-pragma/html/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`with-pragma.html 1`] = ` +exports[`with-pragma.html format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["html"] @@ -19,7 +19,7 @@ Hello World ================================================================================ `; -exports[`without-pragma.html 1`] = ` +exports[`without-pragma.html format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["html"] diff --git a/tests/insert-pragma/js/__snapshots__/jsfmt.spec.js.snap b/tests/insert-pragma/js/__snapshots__/jsfmt.spec.js.snap index 0a17746e8c..142aecbc85 100644 --- a/tests/insert-pragma/js/__snapshots__/jsfmt.spec.js.snap +++ b/tests/insert-pragma/js/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`module-with-late-docblock.js 1`] = ` +exports[`module-with-late-docblock.js format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["flow", "babel", "typescript"] @@ -32,7 +32,7 @@ const fruit = "tomatoes"; ================================================================================ `; -exports[`module-with-multiple-same-pragma.js 1`] = ` +exports[`module-with-multiple-same-pragma.js format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["flow", "babel", "typescript"] @@ -54,7 +54,7 @@ printWidth: 80 ================================================================================ `; -exports[`module-with-pragma.js 1`] = ` +exports[`module-with-pragma.js format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["flow", "babel", "typescript"] @@ -87,7 +87,7 @@ function foo(bar) { ================================================================================ `; -exports[`module-without-docblock.js 1`] = ` +exports[`module-without-docblock.js format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["flow", "babel", "typescript"] @@ -108,7 +108,7 @@ function foo(bar) { ================================================================================ `; -exports[`module-without-pragma.js 1`] = ` +exports[`module-without-pragma.js format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["flow", "babel", "typescript"] @@ -140,7 +140,7 @@ function foo(bar) { ================================================================================ `; -exports[`trailing-spaces-first-line.js 1`] = ` +exports[`trailing-spaces-first-line.js format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["flow", "babel", "typescript"] diff --git a/tests/insert-pragma/json/__snapshots__/jsfmt.spec.js.snap b/tests/insert-pragma/json/__snapshots__/jsfmt.spec.js.snap index 18eebe9277..20f58a33b5 100644 --- a/tests/insert-pragma/json/__snapshots__/jsfmt.spec.js.snap +++ b/tests/insert-pragma/json/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`does-nothing.json 1`] = ` +exports[`does-nothing.json format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["json"] diff --git a/tests/insert-pragma/json5/__snapshots__/jsfmt.spec.js.snap b/tests/insert-pragma/json5/__snapshots__/jsfmt.spec.js.snap index b2c3bc444c..3d51d6cb71 100644 --- a/tests/insert-pragma/json5/__snapshots__/jsfmt.spec.js.snap +++ b/tests/insert-pragma/json5/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`with-pragma.json5 1`] = ` +exports[`with-pragma.json5 format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["json5"] @@ -19,7 +19,7 @@ printWidth: 80 ================================================================================ `; -exports[`without-pragma.json5 1`] = ` +exports[`without-pragma.json5 format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["json5"] diff --git a/tests/insert-pragma/markdown/__snapshots__/jsfmt.spec.js.snap b/tests/insert-pragma/markdown/__snapshots__/jsfmt.spec.js.snap index c98ce02c89..fe7f328c57 100644 --- a/tests/insert-pragma/markdown/__snapshots__/jsfmt.spec.js.snap +++ b/tests/insert-pragma/markdown/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`front-matter.md 1`] = ` +exports[`front-matter.md format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["markdown"] @@ -29,7 +29,7 @@ some content some content some content some content ================================================================================ `; -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["markdown"] @@ -50,7 +50,7 @@ some content some content some content some content ================================================================================ `; -exports[`start-with-comment.md 1`] = ` +exports[`start-with-comment.md format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["markdown"] diff --git a/tests/insert-pragma/vue/__snapshots__/jsfmt.spec.js.snap b/tests/insert-pragma/vue/__snapshots__/jsfmt.spec.js.snap index 938608b256..d9f9240ff1 100644 --- a/tests/insert-pragma/vue/__snapshots__/jsfmt.spec.js.snap +++ b/tests/insert-pragma/vue/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`with-pragma.vue 1`] = ` +exports[`with-pragma.vue format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["vue"] @@ -32,7 +32,7 @@ const x = 1; ================================================================================ `; -exports[`without-pragma.vue 1`] = ` +exports[`without-pragma.vue format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["vue"] diff --git a/tests/interface/__snapshots__/jsfmt.spec.js.snap b/tests/interface/__snapshots__/jsfmt.spec.js.snap index 8cf9139ab4..d25e5ca871 100644 --- a/tests/interface/__snapshots__/jsfmt.spec.js.snap +++ b/tests/interface/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`break.js 1`] = ` +exports[`break.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -180,7 +180,7 @@ export interface ExtendsLongOneWithGenerics ================================================================================ `; -exports[`module.js 1`] = ` +exports[`module.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/intersection/__snapshots__/jsfmt.spec.js.snap b/tests/intersection/__snapshots__/jsfmt.spec.js.snap index 6f0a4de9d0..7d63ab47c0 100644 --- a/tests/intersection/__snapshots__/jsfmt.spec.js.snap +++ b/tests/intersection/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`intersection.js 1`] = ` +exports[`intersection.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/js_empty/__snapshots__/jsfmt.spec.js.snap b/tests/js_empty/__snapshots__/jsfmt.spec.js.snap index 4c04af20d3..1a6d39560a 100644 --- a/tests/js_empty/__snapshots__/jsfmt.spec.js.snap +++ b/tests/js_empty/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`empty.js 1`] = ` +exports[`empty.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -13,7 +13,7 @@ printWidth: 80 ================================================================================ `; -exports[`many-semicolons.js 1`] = ` +exports[`many-semicolons.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -27,7 +27,7 @@ printWidth: 80 ================================================================================ `; -exports[`semicolon.js 1`] = ` +exports[`semicolon.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 diff --git a/tests/js_invalid_code/__snapshots__/jsfmt.spec.js.snap b/tests/js_invalid_code/__snapshots__/jsfmt.spec.js.snap index f0e61b66a9..d4af296354 100644 --- a/tests/js_invalid_code/__snapshots__/jsfmt.spec.js.snap +++ b/tests/js_invalid_code/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`duplicate_bindings.js 1`] = ` +exports[`duplicate_bindings.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/json/__snapshots__/jsfmt.spec.js.snap b/tests/json/__snapshots__/jsfmt.spec.js.snap index 80f8894ce2..de460ae208 100644 --- a/tests/json/__snapshots__/jsfmt.spec.js.snap +++ b/tests/json/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`boolean.json 1`] = ` +exports[`boolean.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -14,7 +14,7 @@ true ================================================================================ `; -exports[`boolean.json 2`] = ` +exports[`boolean.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -29,7 +29,7 @@ true ================================================================================ `; -exports[`boolean.json 3`] = ` +exports[`boolean.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -43,7 +43,7 @@ true ================================================================================ `; -exports[`boolean.json 4`] = ` +exports[`boolean.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -58,7 +58,7 @@ true ================================================================================ `; -exports[`boolean.json 5`] = ` +exports[`boolean.json format 5`] = ` ====================================options===================================== parsers: ["json-stringify"] printWidth: 80 @@ -72,7 +72,7 @@ true ================================================================================ `; -exports[`key-value.json 1`] = ` +exports[`key-value.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -94,7 +94,7 @@ printWidth: 80 ================================================================================ `; -exports[`key-value.json 2`] = ` +exports[`key-value.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -117,7 +117,7 @@ trailingComma: "all" ================================================================================ `; -exports[`key-value.json 3`] = ` +exports[`key-value.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -139,7 +139,7 @@ printWidth: 80 ================================================================================ `; -exports[`key-value.json 4`] = ` +exports[`key-value.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -162,7 +162,7 @@ trailingComma: "all" ================================================================================ `; -exports[`key-value.json 5`] = ` +exports[`key-value.json format 5`] = ` ====================================options===================================== parsers: ["json-stringify"] printWidth: 80 @@ -184,7 +184,7 @@ printWidth: 80 ================================================================================ `; -exports[`multi-line.json 1`] = ` +exports[`multi-line.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -199,7 +199,7 @@ printWidth: 80 ================================================================================ `; -exports[`multi-line.json 2`] = ` +exports[`multi-line.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -215,7 +215,7 @@ trailingComma: "all" ================================================================================ `; -exports[`multi-line.json 3`] = ` +exports[`multi-line.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -230,7 +230,7 @@ printWidth: 80 ================================================================================ `; -exports[`multi-line.json 4`] = ` +exports[`multi-line.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -246,7 +246,7 @@ trailingComma: "all" ================================================================================ `; -exports[`multi-line.json 5`] = ` +exports[`multi-line.json format 5`] = ` ====================================options===================================== parsers: ["json-stringify"] printWidth: 80 @@ -276,7 +276,7 @@ printWidth: 80 ================================================================================ `; -exports[`null.json 1`] = ` +exports[`null.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -290,7 +290,7 @@ null ================================================================================ `; -exports[`null.json 2`] = ` +exports[`null.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -305,7 +305,7 @@ null ================================================================================ `; -exports[`null.json 3`] = ` +exports[`null.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -319,7 +319,7 @@ null ================================================================================ `; -exports[`null.json 4`] = ` +exports[`null.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -334,7 +334,7 @@ null ================================================================================ `; -exports[`null.json 5`] = ` +exports[`null.json format 5`] = ` ====================================options===================================== parsers: ["json-stringify"] printWidth: 80 @@ -348,7 +348,7 @@ null ================================================================================ `; -exports[`number.json 1`] = ` +exports[`number.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -362,7 +362,7 @@ printWidth: 80 ================================================================================ `; -exports[`number.json 2`] = ` +exports[`number.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -377,7 +377,7 @@ trailingComma: "all" ================================================================================ `; -exports[`number.json 3`] = ` +exports[`number.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -391,7 +391,7 @@ printWidth: 80 ================================================================================ `; -exports[`number.json 4`] = ` +exports[`number.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -406,7 +406,7 @@ trailingComma: "all" ================================================================================ `; -exports[`number.json 5`] = ` +exports[`number.json format 5`] = ` ====================================options===================================== parsers: ["json-stringify"] printWidth: 80 @@ -420,7 +420,7 @@ printWidth: 80 ================================================================================ `; -exports[`pass1.json 1`] = ` +exports[`pass1.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -545,7 +545,7 @@ printWidth: 80 ================================================================================ `; -exports[`pass1.json 2`] = ` +exports[`pass1.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -671,7 +671,7 @@ trailingComma: "all" ================================================================================ `; -exports[`pass1.json 3`] = ` +exports[`pass1.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -796,7 +796,7 @@ printWidth: 80 ================================================================================ `; -exports[`pass1.json 4`] = ` +exports[`pass1.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -922,7 +922,7 @@ trailingComma: "all" ================================================================================ `; -exports[`pass1.json 5`] = ` +exports[`pass1.json format 5`] = ` ====================================options===================================== parsers: ["json-stringify"] printWidth: 80 @@ -1067,7 +1067,7 @@ printWidth: 80 ================================================================================ `; -exports[`positive-number.json 1`] = ` +exports[`positive-number.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -1081,7 +1081,7 @@ printWidth: 80 ================================================================================ `; -exports[`positive-number.json 2`] = ` +exports[`positive-number.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -1096,7 +1096,7 @@ trailingComma: "all" ================================================================================ `; -exports[`positive-number.json 3`] = ` +exports[`positive-number.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -1110,7 +1110,7 @@ printWidth: 80 ================================================================================ `; -exports[`positive-number.json 4`] = ` +exports[`positive-number.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -1125,7 +1125,7 @@ trailingComma: "all" ================================================================================ `; -exports[`positive-number.json 5`] = ` +exports[`positive-number.json format 5`] = ` ====================================options===================================== parsers: ["json-stringify"] printWidth: 80 @@ -1139,7 +1139,7 @@ printWidth: 80 ================================================================================ `; -exports[`propertyKey.json 1`] = ` +exports[`propertyKey.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -1157,7 +1157,7 @@ printWidth: 80 ================================================================================ `; -exports[`propertyKey.json 2`] = ` +exports[`propertyKey.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -1176,7 +1176,7 @@ trailingComma: "all" ================================================================================ `; -exports[`propertyKey.json 3`] = ` +exports[`propertyKey.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -1194,7 +1194,7 @@ printWidth: 80 ================================================================================ `; -exports[`propertyKey.json 4`] = ` +exports[`propertyKey.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -1213,7 +1213,7 @@ trailingComma: "all" ================================================================================ `; -exports[`propertyKey.json 5`] = ` +exports[`propertyKey.json format 5`] = ` ====================================options===================================== parsers: ["json-stringify"] printWidth: 80 @@ -1231,7 +1231,7 @@ printWidth: 80 ================================================================================ `; -exports[`single-line.json 1`] = ` +exports[`single-line.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -1245,7 +1245,7 @@ printWidth: 80 ================================================================================ `; -exports[`single-line.json 2`] = ` +exports[`single-line.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -1260,7 +1260,7 @@ trailingComma: "all" ================================================================================ `; -exports[`single-line.json 3`] = ` +exports[`single-line.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -1274,7 +1274,7 @@ printWidth: 80 ================================================================================ `; -exports[`single-line.json 4`] = ` +exports[`single-line.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -1289,7 +1289,7 @@ trailingComma: "all" ================================================================================ `; -exports[`single-line.json 5`] = ` +exports[`single-line.json format 5`] = ` ====================================options===================================== parsers: ["json-stringify"] printWidth: 80 @@ -1318,7 +1318,7 @@ printWidth: 80 ================================================================================ `; -exports[`single-quote.json 1`] = ` +exports[`single-quote.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -1332,7 +1332,7 @@ printWidth: 80 ================================================================================ `; -exports[`single-quote.json 2`] = ` +exports[`single-quote.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -1347,7 +1347,7 @@ trailingComma: "all" ================================================================================ `; -exports[`single-quote.json 3`] = ` +exports[`single-quote.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -1361,7 +1361,7 @@ printWidth: 80 ================================================================================ `; -exports[`single-quote.json 4`] = ` +exports[`single-quote.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -1376,7 +1376,7 @@ trailingComma: "all" ================================================================================ `; -exports[`single-quote.json 5`] = ` +exports[`single-quote.json format 5`] = ` ====================================options===================================== parsers: ["json-stringify"] printWidth: 80 @@ -1390,7 +1390,7 @@ printWidth: 80 ================================================================================ `; -exports[`string.json 1`] = ` +exports[`string.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -1404,7 +1404,7 @@ printWidth: 80 ================================================================================ `; -exports[`string.json 2`] = ` +exports[`string.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -1419,7 +1419,7 @@ trailingComma: "all" ================================================================================ `; -exports[`string.json 3`] = ` +exports[`string.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -1433,7 +1433,7 @@ printWidth: 80 ================================================================================ `; -exports[`string.json 4`] = ` +exports[`string.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -1448,7 +1448,7 @@ trailingComma: "all" ================================================================================ `; -exports[`string.json 5`] = ` +exports[`string.json format 5`] = ` ====================================options===================================== parsers: ["json-stringify"] printWidth: 80 @@ -1462,7 +1462,7 @@ printWidth: 80 ================================================================================ `; -exports[`trailingComma.notjson 1`] = ` +exports[`trailingComma.notjson format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -1484,7 +1484,7 @@ printWidth: 80 ================================================================================ `; -exports[`trailingComma.notjson 2`] = ` +exports[`trailingComma.notjson format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -1507,7 +1507,7 @@ trailingComma: "all" ================================================================================ `; -exports[`trailingComma.notjson 3`] = ` +exports[`trailingComma.notjson format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -1529,7 +1529,7 @@ printWidth: 80 ================================================================================ `; -exports[`trailingComma.notjson 4`] = ` +exports[`trailingComma.notjson format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -1552,7 +1552,7 @@ trailingComma: "all" ================================================================================ `; -exports[`trailingComma.notjson 5`] = ` +exports[`trailingComma.notjson format 5`] = ` ====================================options===================================== parsers: ["json-stringify"] printWidth: 80 diff --git a/tests/json/with-comment/__snapshots__/jsfmt.spec.js.snap b/tests/json/with-comment/__snapshots__/jsfmt.spec.js.snap index 750bf764d0..7a868bd946 100644 --- a/tests/json/with-comment/__snapshots__/jsfmt.spec.js.snap +++ b/tests/json/with-comment/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`block-comment.json 1`] = ` +exports[`block-comment.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -14,7 +14,7 @@ printWidth: 80 ================================================================================ `; -exports[`block-comment.json 2`] = ` +exports[`block-comment.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -29,7 +29,7 @@ trailingComma: "all" ================================================================================ `; -exports[`block-comment.json 3`] = ` +exports[`block-comment.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -43,7 +43,7 @@ printWidth: 80 ================================================================================ `; -exports[`block-comment.json 4`] = ` +exports[`block-comment.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -58,7 +58,7 @@ trailingComma: "all" ================================================================================ `; -exports[`bottom-block-comment.json 1`] = ` +exports[`bottom-block-comment.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -72,7 +72,7 @@ printWidth: 80 ================================================================================ `; -exports[`bottom-block-comment.json 2`] = ` +exports[`bottom-block-comment.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -87,7 +87,7 @@ trailingComma: "all" ================================================================================ `; -exports[`bottom-block-comment.json 3`] = ` +exports[`bottom-block-comment.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -101,7 +101,7 @@ printWidth: 80 ================================================================================ `; -exports[`bottom-block-comment.json 4`] = ` +exports[`bottom-block-comment.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -116,7 +116,7 @@ trailingComma: "all" ================================================================================ `; -exports[`bottom-line-comment.json 1`] = ` +exports[`bottom-line-comment.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -130,7 +130,7 @@ printWidth: 80 ================================================================================ `; -exports[`bottom-line-comment.json 2`] = ` +exports[`bottom-line-comment.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -145,7 +145,7 @@ trailingComma: "all" ================================================================================ `; -exports[`bottom-line-comment.json 3`] = ` +exports[`bottom-line-comment.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -159,7 +159,7 @@ printWidth: 80 ================================================================================ `; -exports[`bottom-line-comment.json 4`] = ` +exports[`bottom-line-comment.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -174,7 +174,7 @@ trailingComma: "all" ================================================================================ `; -exports[`line-comment.json 1`] = ` +exports[`line-comment.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -194,7 +194,7 @@ printWidth: 80 ================================================================================ `; -exports[`line-comment.json 2`] = ` +exports[`line-comment.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -215,7 +215,7 @@ trailingComma: "all" ================================================================================ `; -exports[`line-comment.json 3`] = ` +exports[`line-comment.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -235,7 +235,7 @@ printWidth: 80 ================================================================================ `; -exports[`line-comment.json 4`] = ` +exports[`line-comment.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -256,7 +256,7 @@ trailingComma: "all" ================================================================================ `; -exports[`top-block-comment.json 1`] = ` +exports[`top-block-comment.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -274,7 +274,7 @@ printWidth: 80 ================================================================================ `; -exports[`top-block-comment.json 2`] = ` +exports[`top-block-comment.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -293,7 +293,7 @@ trailingComma: "all" ================================================================================ `; -exports[`top-block-comment.json 3`] = ` +exports[`top-block-comment.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -311,7 +311,7 @@ printWidth: 80 ================================================================================ `; -exports[`top-block-comment.json 4`] = ` +exports[`top-block-comment.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -330,7 +330,7 @@ trailingComma: "all" ================================================================================ `; -exports[`top-line-comment.json 1`] = ` +exports[`top-line-comment.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -352,7 +352,7 @@ printWidth: 80 ================================================================================ `; -exports[`top-line-comment.json 2`] = ` +exports[`top-line-comment.json format 2`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -375,7 +375,7 @@ trailingComma: "all" ================================================================================ `; -exports[`top-line-comment.json 3`] = ` +exports[`top-line-comment.json format 3`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -397,7 +397,7 @@ printWidth: 80 ================================================================================ `; -exports[`top-line-comment.json 4`] = ` +exports[`top-line-comment.json format 4`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 diff --git a/tests/jsx-attr-element/__snapshots__/jsfmt.spec.js.snap b/tests/jsx-attr-element/__snapshots__/jsfmt.spec.js.snap index 15d5cb9e0d..a0a9bd937c 100644 --- a/tests/jsx-attr-element/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx-attr-element/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`attr-element.js 1`] = ` +exports[`attr-element.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/jsx-do/__snapshots__/jsfmt.spec.js.snap b/tests/jsx-do/__snapshots__/jsfmt.spec.js.snap index af16933bf8..4e00195c94 100644 --- a/tests/jsx-do/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx-do/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`do.js 1`] = ` +exports[`do.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/jsx-fbt/__snapshots__/jsfmt.spec.js.snap b/tests/jsx-fbt/__snapshots__/jsfmt.spec.js.snap index c5420f022e..90f6c029d5 100644 --- a/tests/jsx-fbt/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx-fbt/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/jsx-multiline-assign/__snapshots__/jsfmt.spec.js.snap b/tests/jsx-multiline-assign/__snapshots__/jsfmt.spec.js.snap index d3bed28a36..e339f975f0 100644 --- a/tests/jsx-multiline-assign/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx-multiline-assign/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/jsx-newlines/__snapshots__/jsfmt.spec.js.snap b/tests/jsx-newlines/__snapshots__/jsfmt.spec.js.snap index 84552a2cd7..2f6ecded6b 100644 --- a/tests/jsx-newlines/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx-newlines/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -163,7 +163,7 @@ regression_extra_newline_2 = ( ================================================================================ `; -exports[`windows.js 1`] = ` +exports[`windows.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/jsx-significant-space/__snapshots__/jsfmt.spec.js.snap b/tests/jsx-significant-space/__snapshots__/jsfmt.spec.js.snap index 010c74d7e8..96b443c080 100644 --- a/tests/jsx-significant-space/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx-significant-space/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -26,7 +26,7 @@ printWidth: 80 ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/jsx-split-attrs/__snapshots__/jsfmt.spec.js.snap b/tests/jsx-split-attrs/__snapshots__/jsfmt.spec.js.snap index 07b8f0ca0f..01c6ad6b2c 100644 --- a/tests/jsx-split-attrs/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx-split-attrs/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/jsx-stateless-arrow-fn/__snapshots__/jsfmt.spec.js.snap b/tests/jsx-stateless-arrow-fn/__snapshots__/jsfmt.spec.js.snap index 1bb3be1b87..89c32bc94c 100644 --- a/tests/jsx-stateless-arrow-fn/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx-stateless-arrow-fn/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/jsx-text-wrap/__snapshots__/jsfmt.spec.js.snap b/tests/jsx-text-wrap/__snapshots__/jsfmt.spec.js.snap index 6dbe975b31..731bd0e379 100644 --- a/tests/jsx-text-wrap/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx-text-wrap/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/jsx-whitespace/__snapshots__/jsfmt.spec.js.snap b/tests/jsx-whitespace/__snapshots__/jsfmt.spec.js.snap index 01dede051e..05b57c47f9 100644 --- a/tests/jsx-whitespace/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx-whitespace/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/jsx/__snapshots__/jsfmt.spec.js.snap b/tests/jsx/__snapshots__/jsfmt.spec.js.snap index 5455f1b8fc..bcf66d52cd 100644 --- a/tests/jsx/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`array-iter.js 1`] = ` +exports[`array-iter.js format 1`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -78,7 +78,7 @@ const TodoList = ({ todos }) => ( ================================================================================ `; -exports[`array-iter.js 2`] = ` +exports[`array-iter.js format 2`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -156,7 +156,7 @@ const TodoList = ({ todos }) => ( ================================================================================ `; -exports[`array-iter.js 3`] = ` +exports[`array-iter.js format 3`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -234,7 +234,7 @@ const TodoList = ({ todos }) => ( ================================================================================ `; -exports[`array-iter.js 4`] = ` +exports[`array-iter.js format 4`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -312,7 +312,7 @@ const TodoList = ({ todos }) => ( ================================================================================ `; -exports[`attr-comments.js 1`] = ` +exports[`attr-comments.js format 1`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -388,7 +388,7 @@ singleQuote: false ================================================================================ `; -exports[`attr-comments.js 2`] = ` +exports[`attr-comments.js format 2`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -464,7 +464,7 @@ singleQuote: false ================================================================================ `; -exports[`attr-comments.js 3`] = ` +exports[`attr-comments.js format 3`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -540,7 +540,7 @@ singleQuote: true ================================================================================ `; -exports[`attr-comments.js 4`] = ` +exports[`attr-comments.js format 4`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -616,7 +616,7 @@ singleQuote: true ================================================================================ `; -exports[`conditional-expression.js 1`] = ` +exports[`conditional-expression.js format 1`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -915,7 +915,7 @@ foo ? ( ================================================================================ `; -exports[`conditional-expression.js 2`] = ` +exports[`conditional-expression.js format 2`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -1214,7 +1214,7 @@ foo ? ( ================================================================================ `; -exports[`conditional-expression.js 3`] = ` +exports[`conditional-expression.js format 3`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -1513,7 +1513,7 @@ foo ? ( ================================================================================ `; -exports[`conditional-expression.js 4`] = ` +exports[`conditional-expression.js format 4`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -1812,7 +1812,7 @@ foo ? ( ================================================================================ `; -exports[`expression.js 1`] = ` +exports[`expression.js format 1`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -2100,7 +2100,7 @@ singleQuote: false ================================================================================ `; -exports[`expression.js 2`] = ` +exports[`expression.js format 2`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -2388,7 +2388,7 @@ singleQuote: false ================================================================================ `; -exports[`expression.js 3`] = ` +exports[`expression.js format 3`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -2676,7 +2676,7 @@ singleQuote: true ================================================================================ `; -exports[`expression.js 4`] = ` +exports[`expression.js format 4`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -2964,7 +2964,7 @@ singleQuote: true ================================================================================ `; -exports[`flow_fix_me.js 1`] = ` +exports[`flow_fix_me.js format 1`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -2988,7 +2988,7 @@ const aDiv = ( ================================================================================ `; -exports[`flow_fix_me.js 2`] = ` +exports[`flow_fix_me.js format 2`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -3012,7 +3012,7 @@ const aDiv = ( ================================================================================ `; -exports[`flow_fix_me.js 3`] = ` +exports[`flow_fix_me.js format 3`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -3036,7 +3036,7 @@ const aDiv = ( ================================================================================ `; -exports[`flow_fix_me.js 4`] = ` +exports[`flow_fix_me.js format 4`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -3060,7 +3060,7 @@ const aDiv = ( ================================================================================ `; -exports[`html_escape.js 1`] = ` +exports[`html_escape.js format 1`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -3080,7 +3080,7 @@ export default () => ; ================================================================================ `; -exports[`html_escape.js 2`] = ` +exports[`html_escape.js format 2`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -3100,7 +3100,7 @@ export default () => ; ================================================================================ `; -exports[`html_escape.js 3`] = ` +exports[`html_escape.js format 3`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -3120,7 +3120,7 @@ export default () => ; ================================================================================ `; -exports[`html_escape.js 4`] = ` +exports[`html_escape.js format 4`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -3140,7 +3140,7 @@ export default () => ; ================================================================================ `; -exports[`hug.js 1`] = ` +exports[`hug.js format 1`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -3222,7 +3222,7 @@ singleQuote: false ================================================================================ `; -exports[`hug.js 2`] = ` +exports[`hug.js format 2`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -3304,7 +3304,7 @@ singleQuote: false ================================================================================ `; -exports[`hug.js 3`] = ` +exports[`hug.js format 3`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -3386,7 +3386,7 @@ singleQuote: true ================================================================================ `; -exports[`hug.js 4`] = ` +exports[`hug.js format 4`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -3468,7 +3468,7 @@ singleQuote: true ================================================================================ `; -exports[`logical-expression.js 1`] = ` +exports[`logical-expression.js format 1`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -3546,7 +3546,7 @@ singleQuote: false ================================================================================ `; -exports[`logical-expression.js 2`] = ` +exports[`logical-expression.js format 2`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -3624,7 +3624,7 @@ singleQuote: false ================================================================================ `; -exports[`logical-expression.js 3`] = ` +exports[`logical-expression.js format 3`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -3702,7 +3702,7 @@ singleQuote: true ================================================================================ `; -exports[`logical-expression.js 4`] = ` +exports[`logical-expression.js format 4`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -3780,7 +3780,7 @@ singleQuote: true ================================================================================ `; -exports[`object-property.js 1`] = ` +exports[`object-property.js format 1`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -3820,7 +3820,7 @@ const tabs = [ ================================================================================ `; -exports[`object-property.js 2`] = ` +exports[`object-property.js format 2`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -3860,7 +3860,7 @@ const tabs = [ ================================================================================ `; -exports[`object-property.js 3`] = ` +exports[`object-property.js format 3`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -3900,7 +3900,7 @@ const tabs = [ ================================================================================ `; -exports[`object-property.js 4`] = ` +exports[`object-property.js format 4`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -3940,7 +3940,7 @@ const tabs = [ ================================================================================ `; -exports[`open-break.js 1`] = ` +exports[`open-break.js format 1`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -3984,7 +3984,7 @@ onClick={() => { ================================================================================ `; -exports[`open-break.js 2`] = ` +exports[`open-break.js format 2`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -4028,7 +4028,7 @@ onClick={() => { ================================================================================ `; -exports[`open-break.js 3`] = ` +exports[`open-break.js format 3`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -4072,7 +4072,7 @@ onClick={() => { ================================================================================ `; -exports[`open-break.js 4`] = ` +exports[`open-break.js format 4`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -4116,7 +4116,7 @@ onClick={() => { ================================================================================ `; -exports[`parens.js 1`] = ` +exports[`parens.js format 1`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -4168,7 +4168,7 @@ new Foo(); ================================================================================ `; -exports[`parens.js 2`] = ` +exports[`parens.js format 2`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -4220,7 +4220,7 @@ new Foo(); ================================================================================ `; -exports[`parens.js 3`] = ` +exports[`parens.js format 3`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -4272,7 +4272,7 @@ new Foo(); ================================================================================ `; -exports[`parens.js 4`] = ` +exports[`parens.js format 4`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -4324,7 +4324,7 @@ new Foo(); ================================================================================ `; -exports[`quotes.js 1`] = ` +exports[`quotes.js format 1`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -4414,7 +4414,7 @@ singleQuote: false ================================================================================ `; -exports[`quotes.js 2`] = ` +exports[`quotes.js format 2`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -4504,7 +4504,7 @@ singleQuote: false ================================================================================ `; -exports[`quotes.js 3`] = ` +exports[`quotes.js format 3`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -4594,7 +4594,7 @@ singleQuote: true ================================================================================ `; -exports[`quotes.js 4`] = ` +exports[`quotes.js format 4`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -4684,7 +4684,7 @@ singleQuote: true ================================================================================ `; -exports[`return-statement.js 1`] = ` +exports[`return-statement.js format 1`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -4798,7 +4798,7 @@ class BreakingClass extends React.component { ================================================================================ `; -exports[`return-statement.js 2`] = ` +exports[`return-statement.js format 2`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -4912,7 +4912,7 @@ class BreakingClass extends React.component { ================================================================================ `; -exports[`return-statement.js 3`] = ` +exports[`return-statement.js format 3`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -5026,7 +5026,7 @@ class BreakingClass extends React.component { ================================================================================ `; -exports[`return-statement.js 4`] = ` +exports[`return-statement.js format 4`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -5140,7 +5140,7 @@ class BreakingClass extends React.component { ================================================================================ `; -exports[`self-closing.js 1`] = ` +exports[`self-closing.js format 1`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -5158,7 +5158,7 @@ singleQuote: false ================================================================================ `; -exports[`self-closing.js 2`] = ` +exports[`self-closing.js format 2`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -5176,7 +5176,7 @@ singleQuote: false ================================================================================ `; -exports[`self-closing.js 3`] = ` +exports[`self-closing.js format 3`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -5194,7 +5194,7 @@ singleQuote: true ================================================================================ `; -exports[`self-closing.js 4`] = ` +exports[`self-closing.js format 4`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -5212,7 +5212,7 @@ singleQuote: true ================================================================================ `; -exports[`spacing.js 1`] = ` +exports[`spacing.js format 1`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -5252,7 +5252,7 @@ const Labels = { ================================================================================ `; -exports[`spacing.js 2`] = ` +exports[`spacing.js format 2`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] @@ -5292,7 +5292,7 @@ const Labels = { ================================================================================ `; -exports[`spacing.js 3`] = ` +exports[`spacing.js format 3`] = ` ====================================options===================================== jsxSingleQuote: false parsers: ["flow", "babel", "typescript"] @@ -5332,7 +5332,7 @@ const Labels = { ================================================================================ `; -exports[`spacing.js 4`] = ` +exports[`spacing.js format 4`] = ` ====================================options===================================== jsxSingleQuote: true parsers: ["flow", "babel", "typescript"] diff --git a/tests/jsx_escape/__snapshots__/jsfmt.spec.js.snap b/tests/jsx_escape/__snapshots__/jsfmt.spec.js.snap index 881ea7cd9b..6e6c7c7082 100644 --- a/tests/jsx_escape/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx_escape/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`escape.js 1`] = ` +exports[`escape.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -14,7 +14,7 @@ printWidth: 80 ================================================================================ `; -exports[`nbsp.js 1`] = ` +exports[`nbsp.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 diff --git a/tests/jsx_fragment/__snapshots__/jsfmt.spec.js.snap b/tests/jsx_fragment/__snapshots__/jsfmt.spec.js.snap index 3a197bf55e..91f2a0cf28 100644 --- a/tests/jsx_fragment/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx_fragment/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`fragment.js 1`] = ` +exports[`fragment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/jsx_ignore/__snapshots__/jsfmt.spec.js.snap b/tests/jsx_ignore/__snapshots__/jsfmt.spec.js.snap index 25ee2059d5..c21095fab2 100644 --- a/tests/jsx_ignore/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx_ignore/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`jsx_ignore.js 1`] = ` +exports[`jsx_ignore.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/jsx_last_line/__snapshots__/jsfmt.spec.js.snap b/tests/jsx_last_line/__snapshots__/jsfmt.spec.js.snap index 76a4d343a4..8bc43ba9d2 100644 --- a/tests/jsx_last_line/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx_last_line/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`last_line.js 1`] = ` +exports[`last_line.js format 1`] = ` ====================================options===================================== jsxBracketSameLine: true parsers: ["flow", "typescript"] @@ -32,7 +32,7 @@ printWidth: 80 ================================================================================ `; -exports[`last_line.js 2`] = ` +exports[`last_line.js format 2`] = ` ====================================options===================================== jsxBracketSameLine: false parsers: ["flow", "typescript"] @@ -65,7 +65,7 @@ printWidth: 80 ================================================================================ `; -exports[`single_prop_multiline_string.js 1`] = ` +exports[`single_prop_multiline_string.js format 1`] = ` ====================================options===================================== jsxBracketSameLine: true parsers: ["flow", "typescript"] @@ -95,7 +95,7 @@ printWidth: 80 ================================================================================ `; -exports[`single_prop_multiline_string.js 2`] = ` +exports[`single_prop_multiline_string.js format 2`] = ` ====================================options===================================== jsxBracketSameLine: false parsers: ["flow", "typescript"] diff --git a/tests/jsx_namespace/__snapshots__/jsfmt.spec.js.snap b/tests/jsx_namespace/__snapshots__/jsfmt.spec.js.snap index 11d7ffcf96..d3bb64bdf5 100644 --- a/tests/jsx_namespace/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx_namespace/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`jsx_namespaced_name.js 1`] = ` +exports[`jsx_namespaced_name.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/jsx_spread/__snapshots__/jsfmt.spec.js.snap b/tests/jsx_spread/__snapshots__/jsfmt.spec.js.snap index 95b8fe943b..081bcf92c4 100644 --- a/tests/jsx_spread/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx_spread/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`attribute.js 1`] = ` +exports[`attribute.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -73,7 +73,7 @@ printWidth: 80 ================================================================================ `; -exports[`child.js 1`] = ` +exports[`child.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 diff --git a/tests/jsx_template/__snapshots__/jsfmt.spec.js.snap b/tests/jsx_template/__snapshots__/jsfmt.spec.js.snap index eb86856ce1..58a421dc0a 100644 --- a/tests/jsx_template/__snapshots__/jsfmt.spec.js.snap +++ b/tests/jsx_template/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`styled-components.js 1`] = ` +exports[`styled-components.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/label/__snapshots__/jsfmt.spec.js.snap b/tests/label/__snapshots__/jsfmt.spec.js.snap index e83d3fee33..3f1e8e9d43 100644 --- a/tests/label/__snapshots__/jsfmt.spec.js.snap +++ b/tests/label/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comment.js 1`] = ` +exports[`comment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -29,7 +29,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty_label.js 1`] = ` +exports[`empty_label.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/last_argument_expansion/__snapshots__/jsfmt.spec.js.snap b/tests/last_argument_expansion/__snapshots__/jsfmt.spec.js.snap index f986a4e42a..06ccf12249 100644 --- a/tests/last_argument_expansion/__snapshots__/jsfmt.spec.js.snap +++ b/tests/last_argument_expansion/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`arrow.js 1`] = ` +exports[`arrow.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -46,7 +46,7 @@ export default function searchUsers(action$) { ================================================================================ `; -exports[`break.js 1`] = ` +exports[`break.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -84,7 +84,7 @@ export default class AddAssetHtmlPlugin { ================================================================================ `; -exports[`break-parent.js 1`] = ` +exports[`break-parent.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -148,7 +148,7 @@ true ? ( ================================================================================ `; -exports[`edge_case.js 1`] = ` +exports[`edge_case.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -305,7 +305,7 @@ someReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReal ================================================================================ `; -exports[`empty-object.js 1`] = ` +exports[`empty-object.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -367,7 +367,7 @@ func( ================================================================================ `; -exports[`jsx.js 1`] = ` +exports[`jsx.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -389,7 +389,7 @@ const els = items.map((item) => ( ================================================================================ `; -exports[`object.js 1`] = ` +exports[`object.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -439,7 +439,7 @@ export const log = (y) => { ================================================================================ `; -exports[`overflow.js 1`] = ` +exports[`overflow.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/line/__snapshots__/jsfmt.spec.js.snap b/tests/line/__snapshots__/jsfmt.spec.js.snap index 96976ed8de..1edfee8068 100644 --- a/tests/line/__snapshots__/jsfmt.spec.js.snap +++ b/tests/line/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`windows.js 1`] = ` +exports[`windows.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/line_suffix_boundary/__snapshots__/jsfmt.spec.js.snap b/tests/line_suffix_boundary/__snapshots__/jsfmt.spec.js.snap index 61cab00263..7343a4661d 100644 --- a/tests/line_suffix_boundary/__snapshots__/jsfmt.spec.js.snap +++ b/tests/line_suffix_boundary/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`boundary.js 1`] = ` +exports[`boundary.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/literal-numeric-separator/__snapshots__/jsfmt.spec.js.snap b/tests/literal-numeric-separator/__snapshots__/jsfmt.spec.js.snap index d00ba80294..131ad01fc9 100644 --- a/tests/literal-numeric-separator/__snapshots__/jsfmt.spec.js.snap +++ b/tests/literal-numeric-separator/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 diff --git a/tests/literal/__snapshots__/jsfmt.spec.js.snap b/tests/literal/__snapshots__/jsfmt.spec.js.snap index 23a824b648..272a89dc91 100644 --- a/tests/literal/__snapshots__/jsfmt.spec.js.snap +++ b/tests/literal/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`number.js 1`] = ` +exports[`number.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript"] printWidth: 80 diff --git a/tests/logical_expressions/__snapshots__/jsfmt.spec.js.snap b/tests/logical_expressions/__snapshots__/jsfmt.spec.js.snap index 714f2f726a..590cc5f2fd 100644 --- a/tests/logical_expressions/__snapshots__/jsfmt.spec.js.snap +++ b/tests/logical_expressions/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`issue-7024.js 1`] = ` +exports[`issue-7024.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -21,7 +21,7 @@ const radioSelectedAttr = ================================================================================ `; -exports[`logical_expression_operators.js 1`] = ` +exports[`logical_expression_operators.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 diff --git a/tests/markdown/__snapshots__/jsfmt.spec.js.snap b/tests/markdown/__snapshots__/jsfmt.spec.js.snap index 1563af6db4..493b4155c0 100644 --- a/tests/markdown/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`real-world-case.md 1`] = ` +exports[`real-world-case.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1979,7 +1979,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). ================================================================================ `; -exports[`real-world-case.md 2`] = ` +exports[`real-world-case.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3959,7 +3959,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). ================================================================================ `; -exports[`test-case.md 1`] = ` +exports[`test-case.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4355,7 +4355,7 @@ This paragraph has some \`code\` in it. ================================================================================ `; -exports[`test-case.md 2`] = ` +exports[`test-case.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_blockquote/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_blockquote/__snapshots__/jsfmt.spec.js.snap index 11182ca530..03ecbced9a 100644 --- a/tests/markdown_blockquote/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_blockquote/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`code.md 1`] = ` +exports[`code.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -43,7 +43,7 @@ proseWrap: "always" ================================================================================ `; -exports[`ignore-code.md 1`] = ` +exports[`ignore-code.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -158,7 +158,7 @@ proseWrap: "always" ================================================================================ `; -exports[`nested.md 1`] = ` +exports[`nested.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -173,7 +173,7 @@ proseWrap: "always" ================================================================================ `; -exports[`paragraph.md 1`] = ` +exports[`paragraph.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -191,7 +191,7 @@ proseWrap: "always" ================================================================================ `; -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_break/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_break/__snapshots__/jsfmt.spec.js.snap index f4f51470a8..16a9f1f1b9 100644 --- a/tests/markdown_break/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_break/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_code/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_code/__snapshots__/jsfmt.spec.js.snap index 7fef855d50..c0d30226b0 100644 --- a/tests/markdown_code/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_code/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`0-indent-js.md 1`] = ` +exports[`0-indent-js.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -56,7 +56,7 @@ proseWrap: "always" ================================================================================ `; -exports[`additional-space.md 1`] = ` +exports[`additional-space.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -115,7 +115,7 @@ proseWrap: "always" ================================================================================ `; -exports[`backtick.md 1`] = ` +exports[`backtick.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -142,7 +142,7 @@ console.log("hello world!"); ================================================================================ `; -exports[`format.md 1`] = ` +exports[`format.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -167,7 +167,7 @@ console.log(213); ================================================================================ `; -exports[`indent.md 1`] = ` +exports[`indent.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -226,7 +226,7 @@ proseWrap: "always" ================================================================================ `; -exports[`lang.md 1`] = ` +exports[`lang.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -245,7 +245,7 @@ console.log("hello world"); ================================================================================ `; -exports[`leading-trailing-newlines.md 1`] = ` +exports[`leading-trailing-newlines.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -272,7 +272,7 @@ proseWrap: "always" ================================================================================ `; -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_definition/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_definition/__snapshots__/jsfmt.spec.js.snap index bd56114b2b..5b4fb96f0f 100644 --- a/tests/markdown_definition/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_definition/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -15,7 +15,7 @@ proseWrap: "always" ================================================================================ `; -exports[`space.md 1`] = ` +exports[`space.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -30,7 +30,7 @@ proseWrap: "always" ================================================================================ `; -exports[`title.md 1`] = ` +exports[`title.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_delete/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_delete/__snapshots__/jsfmt.spec.js.snap index 6d781a8869..71e57512d5 100644 --- a/tests/markdown_delete/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_delete/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_emphasis/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_emphasis/__snapshots__/jsfmt.spec.js.snap index aa3f6abc7f..60c57e66a8 100644 --- a/tests/markdown_emphasis/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_emphasis/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`asterisk.md 1`] = ` +exports[`asterisk.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -15,7 +15,7 @@ _123_ ================================================================================ `; -exports[`complex.md 1`] = ` +exports[`complex.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -34,7 +34,7 @@ _bug_? ================================================================================ `; -exports[`special.md 1`] = ` +exports[`special.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -109,7 +109,7 @@ proseWrap: "always" ================================================================================ `; -exports[`underscore.md 1`] = ` +exports[`underscore.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_footnote/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_footnote/__snapshots__/jsfmt.spec.js.snap index d6ecd00be5..f506f9d18a 100644 --- a/tests/markdown_footnote/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_footnote/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_footnoteDefinition/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_footnoteDefinition/__snapshots__/jsfmt.spec.js.snap index c3fb96fb3a..621f8bb0b2 100644 --- a/tests/markdown_footnoteDefinition/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_footnoteDefinition/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`long.md 1`] = ` +exports[`long.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -24,7 +24,7 @@ proseWrap: "always" ================================================================================ `; -exports[`long.md 2`] = ` +exports[`long.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -42,7 +42,7 @@ proseWrap: "never" ================================================================================ `; -exports[`long.md 3`] = ` +exports[`long.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -62,7 +62,7 @@ proseWrap: "preserve" ================================================================================ `; -exports[`multiline.md 1`] = ` +exports[`multiline.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -122,7 +122,7 @@ proseWrap: "always" ================================================================================ `; -exports[`multiline.md 2`] = ` +exports[`multiline.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -181,7 +181,7 @@ proseWrap: "never" ================================================================================ `; -exports[`multiline.md 3`] = ` +exports[`multiline.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -240,7 +240,7 @@ proseWrap: "preserve" ================================================================================ `; -exports[`sibling.md 1`] = ` +exports[`sibling.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -303,7 +303,7 @@ proseWrap: "always" ================================================================================ `; -exports[`sibling.md 2`] = ` +exports[`sibling.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -366,7 +366,7 @@ proseWrap: "never" ================================================================================ `; -exports[`sibling.md 3`] = ` +exports[`sibling.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -429,7 +429,7 @@ proseWrap: "preserve" ================================================================================ `; -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -444,7 +444,7 @@ proseWrap: "always" ================================================================================ `; -exports[`simple.md 2`] = ` +exports[`simple.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -459,7 +459,7 @@ proseWrap: "never" ================================================================================ `; -exports[`simple.md 3`] = ` +exports[`simple.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_footnoteReference/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_footnoteReference/__snapshots__/jsfmt.spec.js.snap index 333ee74b9e..6bb962d4e9 100644 --- a/tests/markdown_footnoteReference/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_footnoteReference/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_heading/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_heading/__snapshots__/jsfmt.spec.js.snap index 3b10aa9d59..f1de7d4507 100644 --- a/tests/markdown_heading/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_heading/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`atx.md 1`] = ` +exports[`atx.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -19,7 +19,7 @@ proseWrap: "always" ================================================================================ `; -exports[`long-heading.md 1`] = ` +exports[`long-heading.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -34,7 +34,7 @@ proseWrap: "always" ================================================================================ `; -exports[`mixed.md 1`] = ` +exports[`mixed.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -49,7 +49,7 @@ proseWrap: "always" ================================================================================ `; -exports[`setext.md 1`] = ` +exports[`setext.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -70,7 +70,7 @@ h2 ================================================================================ `; -exports[`unbreakable.md 1`] = ` +exports[`unbreakable.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_html/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_html/__snapshots__/jsfmt.spec.js.snap index 675a87d05d..29e5fd70b1 100644 --- a/tests/markdown_html/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_html/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`beginning-tag-after-a-list-item.md 1`] = ` +exports[`beginning-tag-after-a-list-item.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -49,7 +49,7 @@ quoted sentence2

================================================================================ `; -exports[`blank-line-between-htmls.md 1`] = ` +exports[`blank-line-between-htmls.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -68,7 +68,7 @@ proseWrap: "always" ================================================================================ `; -exports[`multiline.md 1`] = ` +exports[`multiline.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -127,7 +127,7 @@ proseWrap: "always" ================================================================================ `; -exports[`multiline-with-trailing-space.md 1`] = ` +exports[`multiline-with-trailing-space.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -186,7 +186,7 @@ proseWrap: "always" ================================================================================ `; -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_ignore/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_ignore/__snapshots__/jsfmt.spec.js.snap index 3aedd3adf5..6b299cb920 100644 --- a/tests/markdown_ignore/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_ignore/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`indented.md 1`] = ` +exports[`indented.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -27,7 +27,7 @@ proseWrap: "always" ================================================================================ `; -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -44,7 +44,7 @@ This is a long long long long long long long long long long long long long long ================================================================================ `; -exports[`top-level-range.md 1`] = ` +exports[`top-level-range.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_image/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_image/__snapshots__/jsfmt.spec.js.snap index 4d04b5bac1..3d7ab976c9 100644 --- a/tests/markdown_image/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_image/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -15,7 +15,7 @@ proseWrap: "always" ================================================================================ `; -exports[`title.md 1`] = ` +exports[`title.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_imageReference/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_imageReference/__snapshots__/jsfmt.spec.js.snap index 7d5d338741..1ba250693d 100644 --- a/tests/markdown_imageReference/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_imageReference/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`collapsed.md 1`] = ` +exports[`collapsed.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -15,7 +15,7 @@ proseWrap: "always" ================================================================================ `; -exports[`full.md 1`] = ` +exports[`full.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -30,7 +30,7 @@ proseWrap: "always" ================================================================================ `; -exports[`full-no-alt.md 1`] = ` +exports[`full-no-alt.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -45,7 +45,7 @@ proseWrap: "always" ================================================================================ `; -exports[`shortcut.md 1`] = ` +exports[`shortcut.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_indentation/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_indentation/__snapshots__/jsfmt.spec.js.snap index e7c4a3e859..3eeb8877a4 100644 --- a/tests/markdown_indentation/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_indentation/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`example.md 1`] = ` +exports[`example.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_inlineCode/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_inlineCode/__snapshots__/jsfmt.spec.js.snap index 3d82ebceee..ab76f4da8a 100644 --- a/tests/markdown_inlineCode/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_inlineCode/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`backtick.md 1`] = ` +exports[`backtick.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -39,7 +39,7 @@ proseWrap: "always" ================================================================================ `; -exports[`cjk.md 1`] = ` +exports[`cjk.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -54,7 +54,7 @@ proseWrap: "always" ================================================================================ `; -exports[`escape.md 1`] = ` +exports[`escape.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -69,7 +69,7 @@ proseWrap: "always" ================================================================================ `; -exports[`long.md 1`] = ` +exports[`long.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -84,7 +84,7 @@ proseWrap: "always" ================================================================================ `; -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_jsx_semi/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_jsx_semi/__snapshots__/jsfmt.spec.js.snap index 60bc411b8e..6bd2620251 100644 --- a/tests/markdown_jsx_semi/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_jsx_semi/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`semi.md 1`] = ` +exports[`semi.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -30,7 +30,7 @@ const a = 1; ================================================================================ `; -exports[`semi.md 2`] = ` +exports[`semi.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_link/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_link/__snapshots__/jsfmt.spec.js.snap index 1d45efe4c8..43f889a60e 100644 --- a/tests/markdown_link/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_link/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`autolink.md 1`] = ` +exports[`autolink.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -23,7 +23,7 @@ proseWrap: "always" ================================================================================ `; -exports[`autolink.md 2`] = ` +exports[`autolink.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -47,7 +47,7 @@ singleQuote: true ================================================================================ `; -exports[`entity.md 1`] = ` +exports[`entity.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -62,7 +62,7 @@ proseWrap: "always" ================================================================================ `; -exports[`entity.md 2`] = ` +exports[`entity.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -78,7 +78,7 @@ singleQuote: true ================================================================================ `; -exports[`long.md 1`] = ` +exports[`long.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -93,7 +93,7 @@ proseWrap: "always" ================================================================================ `; -exports[`long.md 2`] = ` +exports[`long.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -109,7 +109,7 @@ singleQuote: true ================================================================================ `; -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -124,7 +124,7 @@ proseWrap: "always" ================================================================================ `; -exports[`simple.md 2`] = ` +exports[`simple.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -140,7 +140,7 @@ singleQuote: true ================================================================================ `; -exports[`title.md 1`] = ` +exports[`title.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -207,7 +207,7 @@ proseWrap: "always" ================================================================================ `; -exports[`title.md 2`] = ` +exports[`title.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -275,7 +275,7 @@ singleQuote: true ================================================================================ `; -exports[`url.md 1`] = ` +exports[`url.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -290,7 +290,7 @@ https://www.example.com/ ================================================================================ `; -exports[`url.md 2`] = ` +exports[`url.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_linkReference/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_linkReference/__snapshots__/jsfmt.spec.js.snap index 5e3a0fbbaf..7faf600f03 100644 --- a/tests/markdown_linkReference/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_linkReference/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`cjk.md 1`] = ` +exports[`cjk.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -15,7 +15,7 @@ proseWrap: "always" ================================================================================ `; -exports[`cjk.md 2`] = ` +exports[`cjk.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -30,7 +30,7 @@ proseWrap: "never" ================================================================================ `; -exports[`collapsed.md 1`] = ` +exports[`collapsed.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -45,7 +45,7 @@ proseWrap: "always" ================================================================================ `; -exports[`collapsed.md 2`] = ` +exports[`collapsed.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -60,7 +60,7 @@ proseWrap: "never" ================================================================================ `; -exports[`definition.md 1`] = ` +exports[`definition.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -94,7 +94,7 @@ proseWrap: "always" ================================================================================ `; -exports[`definition.md 2`] = ` +exports[`definition.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -122,7 +122,7 @@ proseWrap: "never" ================================================================================ `; -exports[`full.md 1`] = ` +exports[`full.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -137,7 +137,7 @@ proseWrap: "always" ================================================================================ `; -exports[`full.md 2`] = ` +exports[`full.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -152,7 +152,7 @@ proseWrap: "never" ================================================================================ `; -exports[`shortcut.md 1`] = ` +exports[`shortcut.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -167,7 +167,7 @@ proseWrap: "always" ================================================================================ `; -exports[`shortcut.md 2`] = ` +exports[`shortcut.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -182,7 +182,7 @@ proseWrap: "never" ================================================================================ `; -exports[`title.md 1`] = ` +exports[`title.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -245,7 +245,7 @@ https://example.com (\\\\\\)) ================================================================================ `; -exports[`title.md 2`] = ` +exports[`title.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_liquid/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_liquid/__snapshots__/jsfmt.spec.js.snap index c01039fc66..3141925ab6 100644 --- a/tests/markdown_liquid/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_liquid/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`example-1.md 1`] = ` +exports[`example-1.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -36,7 +36,7 @@ where does it end }} ================================================================================ `; -exports[`example-1.md 2`] = ` +exports[`example-1.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_list/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_list/__snapshots__/jsfmt.spec.js.snap index d9eeb0c0ee..165450b11a 100644 --- a/tests/markdown_list/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_list/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`align.md 1`] = ` +exports[`align.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -127,7 +127,7 @@ proseWrap: "always" ================================================================================ `; -exports[`align.md 2`] = ` +exports[`align.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -255,7 +255,7 @@ tabWidth: 4 ================================================================================ `; -exports[`align.md 3`] = ` +exports[`align.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -383,7 +383,7 @@ tabWidth: 999 ================================================================================ `; -exports[`align.md 4`] = ` +exports[`align.md format 4`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -511,7 +511,7 @@ tabWidth: 0 ================================================================================ `; -exports[`checkbox.md 1`] = ` +exports[`checkbox.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -530,7 +530,7 @@ proseWrap: "always" ================================================================================ `; -exports[`checkbox.md 2`] = ` +exports[`checkbox.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -550,7 +550,7 @@ tabWidth: 4 ================================================================================ `; -exports[`checkbox.md 3`] = ` +exports[`checkbox.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -570,7 +570,7 @@ tabWidth: 999 ================================================================================ `; -exports[`checkbox.md 4`] = ` +exports[`checkbox.md format 4`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -590,7 +590,7 @@ tabWidth: 0 ================================================================================ `; -exports[`git-diff-friendly.md 1`] = ` +exports[`git-diff-friendly.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -609,7 +609,7 @@ proseWrap: "always" ================================================================================ `; -exports[`git-diff-friendly.md 2`] = ` +exports[`git-diff-friendly.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -629,7 +629,7 @@ tabWidth: 4 ================================================================================ `; -exports[`git-diff-friendly.md 3`] = ` +exports[`git-diff-friendly.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -649,7 +649,7 @@ tabWidth: 999 ================================================================================ `; -exports[`git-diff-friendly.md 4`] = ` +exports[`git-diff-friendly.md format 4`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -669,7 +669,7 @@ tabWidth: 0 ================================================================================ `; -exports[`indent.md 1`] = ` +exports[`indent.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -895,7 +895,7 @@ proseWrap: "always" ================================================================================ `; -exports[`indent.md 2`] = ` +exports[`indent.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1122,7 +1122,7 @@ tabWidth: 4 ================================================================================ `; -exports[`indent.md 3`] = ` +exports[`indent.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1349,7 +1349,7 @@ tabWidth: 999 ================================================================================ `; -exports[`indent.md 4`] = ` +exports[`indent.md format 4`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1576,7 +1576,7 @@ tabWidth: 0 ================================================================================ `; -exports[`interrupt.md 1`] = ` +exports[`interrupt.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1594,7 +1594,7 @@ proseWrap: "always" ================================================================================ `; -exports[`interrupt.md 2`] = ` +exports[`interrupt.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1613,7 +1613,7 @@ tabWidth: 4 ================================================================================ `; -exports[`interrupt.md 3`] = ` +exports[`interrupt.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1632,7 +1632,7 @@ tabWidth: 999 ================================================================================ `; -exports[`interrupt.md 4`] = ` +exports[`interrupt.md format 4`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1651,7 +1651,7 @@ tabWidth: 0 ================================================================================ `; -exports[`issue-7846.md 1`] = ` +exports[`issue-7846.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1685,7 +1685,7 @@ proseWrap: "always" ================================================================================ `; -exports[`issue-7846.md 2`] = ` +exports[`issue-7846.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1720,7 +1720,7 @@ tabWidth: 4 ================================================================================ `; -exports[`issue-7846.md 3`] = ` +exports[`issue-7846.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1755,7 +1755,7 @@ tabWidth: 999 ================================================================================ `; -exports[`issue-7846.md 4`] = ` +exports[`issue-7846.md format 4`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1790,7 +1790,7 @@ tabWidth: 0 ================================================================================ `; -exports[`long-paragraph.md 1`] = ` +exports[`long-paragraph.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1806,7 +1806,7 @@ proseWrap: "always" ================================================================================ `; -exports[`long-paragraph.md 2`] = ` +exports[`long-paragraph.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1823,7 +1823,7 @@ tabWidth: 4 ================================================================================ `; -exports[`long-paragraph.md 3`] = ` +exports[`long-paragraph.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1840,7 +1840,7 @@ tabWidth: 999 ================================================================================ `; -exports[`long-paragraph.md 4`] = ` +exports[`long-paragraph.md format 4`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1857,7 +1857,7 @@ tabWidth: 0 ================================================================================ `; -exports[`loose.md 1`] = ` +exports[`loose.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1892,7 +1892,7 @@ proseWrap: "always" ================================================================================ `; -exports[`loose.md 2`] = ` +exports[`loose.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1928,7 +1928,7 @@ tabWidth: 4 ================================================================================ `; -exports[`loose.md 3`] = ` +exports[`loose.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1964,7 +1964,7 @@ tabWidth: 999 ================================================================================ `; -exports[`loose.md 4`] = ` +exports[`loose.md format 4`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2000,7 +2000,7 @@ tabWidth: 0 ================================================================================ `; -exports[`multiline.md 1`] = ` +exports[`multiline.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2017,7 +2017,7 @@ proseWrap: "always" ================================================================================ `; -exports[`multiline.md 2`] = ` +exports[`multiline.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2035,7 +2035,7 @@ tabWidth: 4 ================================================================================ `; -exports[`multiline.md 3`] = ` +exports[`multiline.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2053,7 +2053,7 @@ tabWidth: 999 ================================================================================ `; -exports[`multiline.md 4`] = ` +exports[`multiline.md format 4`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2071,7 +2071,7 @@ tabWidth: 0 ================================================================================ `; -exports[`nested.md 1`] = ` +exports[`nested.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2090,7 +2090,7 @@ proseWrap: "always" ================================================================================ `; -exports[`nested.md 2`] = ` +exports[`nested.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2110,7 +2110,7 @@ tabWidth: 4 ================================================================================ `; -exports[`nested.md 3`] = ` +exports[`nested.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2130,7 +2130,7 @@ tabWidth: 999 ================================================================================ `; -exports[`nested.md 4`] = ` +exports[`nested.md format 4`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2150,7 +2150,7 @@ tabWidth: 0 ================================================================================ `; -exports[`nested-checkbox.md 1`] = ` +exports[`nested-checkbox.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2191,7 +2191,7 @@ proseWrap: "always" ================================================================================ `; -exports[`nested-checkbox.md 2`] = ` +exports[`nested-checkbox.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2233,7 +2233,7 @@ tabWidth: 4 ================================================================================ `; -exports[`nested-checkbox.md 3`] = ` +exports[`nested-checkbox.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2275,7 +2275,7 @@ tabWidth: 999 ================================================================================ `; -exports[`nested-checkbox.md 4`] = ` +exports[`nested-checkbox.md format 4`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2317,7 +2317,7 @@ tabWidth: 0 ================================================================================ `; -exports[`ordered.md 1`] = ` +exports[`ordered.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2336,7 +2336,7 @@ proseWrap: "always" ================================================================================ `; -exports[`ordered.md 2`] = ` +exports[`ordered.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2356,7 +2356,7 @@ tabWidth: 4 ================================================================================ `; -exports[`ordered.md 3`] = ` +exports[`ordered.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2376,7 +2376,7 @@ tabWidth: 999 ================================================================================ `; -exports[`ordered.md 4`] = ` +exports[`ordered.md format 4`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2396,7 +2396,7 @@ tabWidth: 0 ================================================================================ `; -exports[`separate.md 1`] = ` +exports[`separate.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2423,7 +2423,7 @@ proseWrap: "always" ================================================================================ `; -exports[`separate.md 2`] = ` +exports[`separate.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2451,7 +2451,7 @@ tabWidth: 4 ================================================================================ `; -exports[`separate.md 3`] = ` +exports[`separate.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2479,7 +2479,7 @@ tabWidth: 999 ================================================================================ `; -exports[`separate.md 4`] = ` +exports[`separate.md format 4`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2507,7 +2507,7 @@ tabWidth: 0 ================================================================================ `; -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2526,7 +2526,7 @@ proseWrap: "always" ================================================================================ `; -exports[`simple.md 2`] = ` +exports[`simple.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2546,7 +2546,7 @@ tabWidth: 4 ================================================================================ `; -exports[`simple.md 3`] = ` +exports[`simple.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2566,7 +2566,7 @@ tabWidth: 999 ================================================================================ `; -exports[`simple.md 4`] = ` +exports[`simple.md format 4`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2586,7 +2586,7 @@ tabWidth: 0 ================================================================================ `; -exports[`start.md 1`] = ` +exports[`start.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2794,7 +2794,7 @@ proseWrap: "always" ================================================================================ `; -exports[`start.md 2`] = ` +exports[`start.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3003,7 +3003,7 @@ tabWidth: 4 ================================================================================ `; -exports[`start.md 3`] = ` +exports[`start.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3212,7 +3212,7 @@ tabWidth: 999 ================================================================================ `; -exports[`start.md 4`] = ` +exports[`start.md format 4`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_long_table/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_long_table/__snapshots__/jsfmt.spec.js.snap index 1b3fe4c5e9..ee80c5fb16 100644 --- a/tests/markdown_long_table/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_long_table/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`long-table.md 1`] = ` +exports[`long-table.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -37,7 +37,7 @@ printWidth: 80 ================================================================================ `; -exports[`long-table.md 2`] = ` +exports[`long-table.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_math/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_math/__snapshots__/jsfmt.spec.js.snap index 2bc84da40e..04f8107b46 100644 --- a/tests/markdown_math/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_math/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`dollar-sign.md 1`] = ` +exports[`dollar-sign.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -26,7 +26,7 @@ $ ================================================================================ `; -exports[`empty-block.md 1`] = ` +exports[`empty-block.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -42,7 +42,7 @@ $$ ================================================================================ `; -exports[`math-like.md 1`] = ` +exports[`math-like.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -56,7 +56,7 @@ $10 - $20 ================================================================================ `; -exports[`remark-math.md 1`] = ` +exports[`remark-math.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_paragraph/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_paragraph/__snapshots__/jsfmt.spec.js.snap index 2a72f2f0db..7845b4604e 100644 --- a/tests/markdown_paragraph/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_paragraph/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`cjk.md 1`] = ` +exports[`cjk.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -52,7 +52,7 @@ This ia an english paragraph with a CJK quote “中文“. ================================================================================ `; -exports[`cjk.md 2`] = ` +exports[`cjk.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -93,7 +93,7 @@ This ia an english paragraph with a CJK quote “中文“. ================================================================================ `; -exports[`cjk.md 3`] = ` +exports[`cjk.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -136,7 +136,7 @@ This ia an english paragraph with a CJK quote “中文“. ================================================================================ `; -exports[`inline-nodes.md 1`] = ` +exports[`inline-nodes.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -153,7 +153,7 @@ outputted code conforms to a consistent style. (See this ================================================================================ `; -exports[`inline-nodes.md 2`] = ` +exports[`inline-nodes.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -168,7 +168,7 @@ It removes all original styling[\\*](#styling-footnote) and ensures that all out ================================================================================ `; -exports[`inline-nodes.md 3`] = ` +exports[`inline-nodes.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -183,7 +183,7 @@ It removes all original styling[\\*](#styling-footnote) and ensures that all out ================================================================================ `; -exports[`lorem.md 1`] = ` +exports[`lorem.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -217,7 +217,7 @@ Eos eos consequatur. ================================================================================ `; -exports[`lorem.md 2`] = ` +exports[`lorem.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -245,7 +245,7 @@ Et quam mollitia velit iste enim exercitationem nemo. Hic dignissimos eos et. Eo ================================================================================ `; -exports[`lorem.md 3`] = ` +exports[`lorem.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -278,7 +278,7 @@ Hic dignissimos eos et. Eos eos consequatur. ================================================================================ `; -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -294,7 +294,7 @@ long paragraph. ================================================================================ `; -exports[`simple.md 2`] = ` +exports[`simple.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -309,7 +309,7 @@ This is a long long long long long long long long long long long long long long ================================================================================ `; -exports[`simple.md 3`] = ` +exports[`simple.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -324,7 +324,7 @@ This is a long long long long long long long long long long long long long long ================================================================================ `; -exports[`special-prefix.md 1`] = ` +exports[`special-prefix.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -385,7 +385,7 @@ aged 29. Oh no, why are we in a numbered list now? ================================================================================ `; -exports[`special-prefix.md 2`] = ` +exports[`special-prefix.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -439,7 +439,7 @@ She grew up in an isolated village in the 19th century and met her father aged 2 ================================================================================ `; -exports[`special-prefix.md 3`] = ` +exports[`special-prefix.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -494,7 +494,7 @@ She grew up in an isolated village in the 19th century and met her father aged 2 ================================================================================ `; -exports[`whitespace.md 1`] = ` +exports[`whitespace.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -522,7 +522,7 @@ keep these words together ================================================================================ `; -exports[`whitespace.md 2`] = ` +exports[`whitespace.md format 2`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -549,7 +549,7 @@ keep these words together keep these words together keep these words together ke ================================================================================ `; -exports[`whitespace.md 3`] = ` +exports[`whitespace.md format 3`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_spec/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_spec/__snapshots__/jsfmt.spec.js.snap index 6f35107323..371826bc63 100644 --- a/tests/markdown_spec/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_spec/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`example-1.md 1`] = ` +exports[`example-1.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -15,7 +15,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-2.md 1`] = ` +exports[`example-2.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -30,7 +30,7 @@ foo baz bim ================================================================================ `; -exports[`example-3.md 1`] = ` +exports[`example-3.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -47,7 +47,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-4.md 1`] = ` +exports[`example-4.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -66,7 +66,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-5.md 1`] = ` +exports[`example-5.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -85,7 +85,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-6.md 1`] = ` +exports[`example-6.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -100,7 +100,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-7.md 1`] = ` +exports[`example-7.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -115,7 +115,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-8.md 1`] = ` +exports[`example-8.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -132,7 +132,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-9.md 1`] = ` +exports[`example-9.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -150,7 +150,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-10.md 1`] = ` +exports[`example-10.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -167,7 +167,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-11.md 1`] = ` +exports[`example-11.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -192,7 +192,7 @@ ___ ================================================================================ `; -exports[`example-12.md 1`] = ` +exports[`example-12.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -207,7 +207,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-13.md 1`] = ` +exports[`example-13.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -222,7 +222,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-14.md 1`] = ` +exports[`example-14.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -239,7 +239,7 @@ __ ================================================================================ `; -exports[`example-15.md 1`] = ` +exports[`example-15.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -264,7 +264,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-16.md 1`] = ` +exports[`example-16.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -279,7 +279,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-17.md 1`] = ` +exports[`example-17.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -295,7 +295,7 @@ Foo \\*\\*\\* ================================================================================ `; -exports[`example-18.md 1`] = ` +exports[`example-18.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -310,7 +310,7 @@ _____________________________________ ================================================================================ `; -exports[`example-19.md 1`] = ` +exports[`example-19.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -325,7 +325,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-20.md 1`] = ` +exports[`example-20.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -340,7 +340,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-21.md 1`] = ` +exports[`example-21.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -355,7 +355,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-22.md 1`] = ` +exports[`example-22.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -370,7 +370,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-23.md 1`] = ` +exports[`example-23.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -393,7 +393,7 @@ a------ ================================================================================ `; -exports[`example-25.md 1`] = ` +exports[`example-25.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -414,7 +414,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-26.md 1`] = ` +exports[`example-26.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -435,7 +435,7 @@ bar ================================================================================ `; -exports[`example-27.md 1`] = ` +exports[`example-27.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -454,7 +454,7 @@ bar ================================================================================ `; -exports[`example-28.md 1`] = ` +exports[`example-28.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -475,7 +475,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-29.md 1`] = ` +exports[`example-29.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -492,7 +492,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-30.md 1`] = ` +exports[`example-30.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -522,7 +522,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-31.md 1`] = ` +exports[`example-31.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -537,7 +537,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-32.md 1`] = ` +exports[`example-32.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -556,7 +556,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-33.md 1`] = ` +exports[`example-33.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -571,7 +571,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-34.md 1`] = ` +exports[`example-34.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -586,7 +586,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-35.md 1`] = ` +exports[`example-35.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -601,7 +601,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-36.md 1`] = ` +exports[`example-36.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -616,7 +616,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-37.md 1`] = ` +exports[`example-37.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -637,7 +637,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-38.md 1`] = ` +exports[`example-38.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -652,7 +652,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-39.md 1`] = ` +exports[`example-39.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -668,7 +668,7 @@ foo # bar ================================================================================ `; -exports[`example-40.md 1`] = ` +exports[`example-40.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -686,7 +686,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-41.md 1`] = ` +exports[`example-41.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -704,7 +704,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-42.md 1`] = ` +exports[`example-42.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -719,7 +719,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-43.md 1`] = ` +exports[`example-43.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -734,7 +734,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-44.md 1`] = ` +exports[`example-44.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -749,7 +749,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-45.md 1`] = ` +exports[`example-45.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -770,7 +770,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-46.md 1`] = ` +exports[`example-46.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -795,7 +795,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-47.md 1`] = ` +exports[`example-47.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -816,7 +816,7 @@ Bar foo ================================================================================ `; -exports[`example-48.md 1`] = ` +exports[`example-48.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -837,7 +837,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-49.md 1`] = ` +exports[`example-49.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -858,7 +858,7 @@ Foo *bar* ================================================================================ `; -exports[`example-50.md 1`] = ` +exports[`example-50.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -875,7 +875,7 @@ Foo _bar baz_ ==== ================================================================================ `; -exports[`example-51.md 1`] = ` +exports[`example-51.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -896,7 +896,7 @@ Foo ================================================================================ `; -exports[`example-52.md 1`] = ` +exports[`example-52.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -922,7 +922,7 @@ Foo === ================================================================================ `; -exports[`example-53.md 1`] = ` +exports[`example-53.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -946,7 +946,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-54.md 1`] = ` +exports[`example-54.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -964,7 +964,7 @@ Foo ================================================================================ `; -exports[`example-55.md 1`] = ` +exports[`example-55.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -980,7 +980,7 @@ Foo --- ================================================================================ `; -exports[`example-56.md 1`] = ` +exports[`example-56.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1003,7 +1003,7 @@ Foo ================================================================================ `; -exports[`example-57.md 1`] = ` +exports[`example-57.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1019,7 +1019,7 @@ Foo ================================================================================ `; -exports[`example-58.md 1`] = ` +exports[`example-58.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1035,7 +1035,7 @@ Foo\\ ================================================================================ `; -exports[`example-59.md 1`] = ` +exports[`example-59.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1062,7 +1062,7 @@ of dashes"/> ================================================================================ `; -exports[`example-60.md 1`] = ` +exports[`example-60.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1080,7 +1080,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-61.md 1`] = ` +exports[`example-61.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1099,7 +1099,7 @@ bar ================================================================================ `; -exports[`example-62.md 1`] = ` +exports[`example-62.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1117,7 +1117,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-63.md 1`] = ` +exports[`example-63.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1136,7 +1136,7 @@ Foo Bar ================================================================================ `; -exports[`example-64.md 1`] = ` +exports[`example-64.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1162,7 +1162,7 @@ Baz ================================================================================ `; -exports[`example-65.md 1`] = ` +exports[`example-65.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1178,7 +1178,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-66.md 1`] = ` +exports[`example-66.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1195,7 +1195,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-67.md 1`] = ` +exports[`example-67.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1213,7 +1213,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-68.md 1`] = ` +exports[`example-68.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1231,7 +1231,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-69.md 1`] = ` +exports[`example-69.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1249,7 +1249,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-70.md 1`] = ` +exports[`example-70.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1265,7 +1265,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-71.md 1`] = ` +exports[`example-71.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1288,7 +1288,7 @@ baz ================================================================================ `; -exports[`example-72.md 1`] = ` +exports[`example-72.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1312,7 +1312,7 @@ baz ================================================================================ `; -exports[`example-73.md 1`] = ` +exports[`example-73.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1334,7 +1334,7 @@ baz ================================================================================ `; -exports[`example-74.md 1`] = ` +exports[`example-74.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1352,7 +1352,7 @@ Foo bar \\--- baz ================================================================================ `; -exports[`example-75.md 1`] = ` +exports[`example-75.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1369,7 +1369,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-76.md 1`] = ` +exports[`example-76.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1388,7 +1388,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-77.md 1`] = ` +exports[`example-77.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1407,7 +1407,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-78.md 1`] = ` +exports[`example-78.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1428,7 +1428,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-79.md 1`] = ` +exports[`example-79.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1455,7 +1455,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-80.md 1`] = ` +exports[`example-80.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1474,7 +1474,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-81.md 1`] = ` +exports[`example-81.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1490,7 +1490,7 @@ Foo bar ================================================================================ `; -exports[`example-82.md 1`] = ` +exports[`example-82.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1508,7 +1508,7 @@ bar ================================================================================ `; -exports[`example-83.md 1`] = ` +exports[`example-83.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1536,7 +1536,7 @@ Heading ================================================================================ `; -exports[`example-84.md 1`] = ` +exports[`example-84.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1553,7 +1553,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-85.md 1`] = ` +exports[`example-85.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1571,7 +1571,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-86.md 1`] = ` +exports[`example-86.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1586,7 +1586,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-87.md 1`] = ` +exports[`example-87.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1607,7 +1607,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-88.md 1`] = ` +exports[`example-88.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1628,7 +1628,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-89.md 1`] = ` +exports[`example-89.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1649,7 +1649,7 @@ aaa ================================================================================ `; -exports[`example-90.md 1`] = ` +exports[`example-90.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1670,7 +1670,7 @@ aaa ================================================================================ `; -exports[`example-91.md 1`] = ` +exports[`example-91.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1691,7 +1691,7 @@ aaa ================================================================================ `; -exports[`example-92.md 1`] = ` +exports[`example-92.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1712,7 +1712,7 @@ aaa ================================================================================ `; -exports[`example-93.md 1`] = ` +exports[`example-93.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1729,7 +1729,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-94.md 1`] = ` +exports[`example-94.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1751,7 +1751,7 @@ aaa ================================================================================ `; -exports[`example-95.md 1`] = ` +exports[`example-95.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1773,7 +1773,7 @@ bbb ================================================================================ `; -exports[`example-96.md 1`] = ` +exports[`example-96.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1794,7 +1794,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-97.md 1`] = ` +exports[`example-97.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1812,7 +1812,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-98.md 1`] = ` +exports[`example-98.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1833,7 +1833,7 @@ aaa ================================================================================ `; -exports[`example-99.md 1`] = ` +exports[`example-99.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1856,7 +1856,7 @@ aaa ================================================================================ `; -exports[`example-100.md 1`] = ` +exports[`example-100.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1879,7 +1879,7 @@ aaa ================================================================================ `; -exports[`example-101.md 1`] = ` +exports[`example-101.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1898,7 +1898,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-102.md 1`] = ` +exports[`example-102.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1917,7 +1917,7 @@ aaa ================================================================================ `; -exports[`example-103.md 1`] = ` +exports[`example-103.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1936,7 +1936,7 @@ aaa ================================================================================ `; -exports[`example-104.md 1`] = ` +exports[`example-104.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1956,7 +1956,7 @@ aaa ================================================================================ `; -exports[`example-105.md 1`] = ` +exports[`example-105.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1972,7 +1972,7 @@ aaa ================================================================================ `; -exports[`example-106.md 1`] = ` +exports[`example-106.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -1992,7 +1992,7 @@ aaa ================================================================================ `; -exports[`example-107.md 1`] = ` +exports[`example-107.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2017,7 +2017,7 @@ baz ================================================================================ `; -exports[`example-108.md 1`] = ` +exports[`example-108.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2043,7 +2043,7 @@ bar ================================================================================ `; -exports[`example-109.md 1`] = ` +exports[`example-109.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2066,7 +2066,7 @@ end ================================================================================ `; -exports[`example-110.md 1`] = ` +exports[`example-110.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2089,7 +2089,7 @@ end ================================================================================ `; -exports[`example-111.md 1`] = ` +exports[`example-111.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2107,7 +2107,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-112.md 1`] = ` +exports[`example-112.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2123,7 +2123,7 @@ foo ================================================================================ `; -exports[`example-113.md 1`] = ` +exports[`example-113.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2142,7 +2142,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-114.md 1`] = ` +exports[`example-114.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2173,7 +2173,7 @@ okay. ================================================================================ `; -exports[`example-115.md 1`] = ` +exports[`example-115.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2192,7 +2192,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-116.md 1`] = ` +exports[`example-116.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2209,7 +2209,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-117.md 1`] = ` +exports[`example-117.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2232,7 +2232,7 @@ _Markdown_ ================================================================================ `; -exports[`example-118.md 1`] = ` +exports[`example-118.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2251,7 +2251,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-119.md 1`] = ` +exports[`example-119.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2270,7 +2270,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-120.md 1`] = ` +exports[`example-120.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2291,7 +2291,7 @@ _bar_ ================================================================================ `; -exports[`example-121.md 1`] = ` +exports[`example-121.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2308,7 +2308,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-122.md 1`] = ` +exports[`example-122.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2325,7 +2325,7 @@ foo ================================================================================ `; -exports[`example-123.md 1`] = ` +exports[`example-123.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2342,7 +2342,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-124.md 1`] = ` +exports[`example-124.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2357,7 +2357,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-125.md 1`] = ` +exports[`example-125.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2376,7 +2376,7 @@ foo ================================================================================ `; -exports[`example-126.md 1`] = ` +exports[`example-126.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2397,7 +2397,7 @@ int x = 33; ================================================================================ `; -exports[`example-127.md 1`] = ` +exports[`example-127.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2416,7 +2416,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-128.md 1`] = ` +exports[`example-128.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2435,7 +2435,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-129.md 1`] = ` +exports[`example-129.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2454,7 +2454,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-130.md 1`] = ` +exports[`example-130.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2471,7 +2471,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-131.md 1`] = ` +exports[`example-131.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2490,7 +2490,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-132.md 1`] = ` +exports[`example-132.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2513,7 +2513,7 @@ _foo_ ================================================================================ `; -exports[`example-133.md 1`] = ` +exports[`example-133.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2528,7 +2528,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-134.md 1`] = ` +exports[`example-134.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2553,7 +2553,7 @@ main = print $ parseTags tags ================================================================================ `; -exports[`example-135.md 1`] = ` +exports[`example-135.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2576,7 +2576,7 @@ document.getElementById("demo").innerHTML = "Hello JavaScript!"; ================================================================================ `; -exports[`example-136.md 1`] = ` +exports[`example-136.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2601,7 +2601,7 @@ p {color:blue;} ================================================================================ `; -exports[`example-137.md 1`] = ` +exports[`example-137.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2622,7 +2622,7 @@ foo ================================================================================ `; -exports[`example-138.md 1`] = ` +exports[`example-138.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2643,7 +2643,7 @@ bar ================================================================================ `; -exports[`example-139.md 1`] = ` +exports[`example-139.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2660,7 +2660,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-140.md 1`] = ` +exports[`example-140.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2678,7 +2678,7 @@ _foo_ ================================================================================ `; -exports[`example-141.md 1`] = ` +exports[`example-141.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2696,7 +2696,7 @@ _baz_ ================================================================================ `; -exports[`example-142.md 1`] = ` +exports[`example-142.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2715,7 +2715,7 @@ foo ================================================================================ `; -exports[`example-143.md 1`] = ` +exports[`example-143.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2736,7 +2736,7 @@ bar ================================================================================ `; -exports[`example-144.md 1`] = ` +exports[`example-144.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2759,7 +2759,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-145.md 1`] = ` +exports[`example-145.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2774,7 +2774,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-146.md 1`] = ` +exports[`example-146.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2811,7 +2811,7 @@ function matchwo(a,b) ================================================================================ `; -exports[`example-147.md 1`] = ` +exports[`example-147.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2830,7 +2830,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-148.md 1`] = ` +exports[`example-148.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2849,7 +2849,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-149.md 1`] = ` +exports[`example-149.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2871,7 +2871,7 @@ bar ================================================================================ `; -exports[`example-150.md 1`] = ` +exports[`example-150.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2892,7 +2892,7 @@ bar ================================================================================ `; -exports[`example-151.md 1`] = ` +exports[`example-151.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2909,7 +2909,7 @@ Foo
baz ================================================================================ `; -exports[`example-152.md 1`] = ` +exports[`example-152.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2932,7 +2932,7 @@ _Emphasized_ text. ================================================================================ `; -exports[`example-153.md 1`] = ` +exports[`example-153.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2951,7 +2951,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-154.md 1`] = ` +exports[`example-154.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -2986,7 +2986,7 @@ Hi ================================================================================ `; -exports[`example-155.md 1`] = ` +exports[`example-155.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3021,7 +3021,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-156.md 1`] = ` +exports[`example-156.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3040,7 +3040,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-157.md 1`] = ` +exports[`example-157.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3061,7 +3061,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-158.md 1`] = ` +exports[`example-158.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3080,7 +3080,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-159.md 1`] = ` +exports[`example-159.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3101,7 +3101,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-161.md 1`] = ` +exports[`example-161.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3124,7 +3124,7 @@ with blank line' ================================================================================ `; -exports[`example-162.md 1`] = ` +exports[`example-162.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3144,7 +3144,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-163.md 1`] = ` +exports[`example-163.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3163,7 +3163,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-164.md 1`] = ` +exports[`example-164.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3182,7 +3182,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-165.md 1`] = ` +exports[`example-165.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3201,7 +3201,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-166.md 1`] = ` +exports[`example-166.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3222,7 +3222,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-167.md 1`] = ` +exports[`example-167.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3241,7 +3241,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-168.md 1`] = ` +exports[`example-168.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3260,7 +3260,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-169.md 1`] = ` +exports[`example-169.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3275,7 +3275,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-170.md 1`] = ` +exports[`example-170.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3295,7 +3295,7 @@ bar ================================================================================ `; -exports[`example-171.md 1`] = ` +exports[`example-171.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3310,7 +3310,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-172.md 1`] = ` +exports[`example-172.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3326,7 +3326,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-173.md 1`] = ` +exports[`example-173.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3345,7 +3345,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-174.md 1`] = ` +exports[`example-174.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3368,7 +3368,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-175.md 1`] = ` +exports[`example-175.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3388,7 +3388,7 @@ Foo [bar]: /baz ================================================================================ `; -exports[`example-176.md 1`] = ` +exports[`example-176.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3409,7 +3409,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-177.md 1`] = ` +exports[`example-177.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3435,7 +3435,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-178.md 1`] = ` +exports[`example-178.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3454,7 +3454,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-179.md 1`] = ` +exports[`example-179.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3473,7 +3473,7 @@ bbb ================================================================================ `; -exports[`example-180.md 1`] = ` +exports[`example-180.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3494,7 +3494,7 @@ ccc ddd ================================================================================ `; -exports[`example-181.md 1`] = ` +exports[`example-181.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3514,7 +3514,7 @@ bbb ================================================================================ `; -exports[`example-182.md 1`] = ` +exports[`example-182.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3530,7 +3530,7 @@ aaa bbb ================================================================================ `; -exports[`example-183.md 1`] = ` +exports[`example-183.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3547,7 +3547,7 @@ aaa bbb ccc ================================================================================ `; -exports[`example-184.md 1`] = ` +exports[`example-184.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3563,7 +3563,7 @@ aaa bbb ================================================================================ `; -exports[`example-185.md 1`] = ` +exports[`example-185.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3581,7 +3581,7 @@ bbb ================================================================================ `; -exports[`example-186.md 1`] = ` +exports[`example-186.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3598,7 +3598,7 @@ bbb ================================================================================ `; -exports[`example-187.md 1`] = ` +exports[`example-187.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3622,7 +3622,7 @@ aaa ================================================================================ `; -exports[`example-188.md 1`] = ` +exports[`example-188.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3641,7 +3641,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-189.md 1`] = ` +exports[`example-189.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3660,7 +3660,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-190.md 1`] = ` +exports[`example-190.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3679,7 +3679,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-191.md 1`] = ` +exports[`example-191.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3698,7 +3698,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-192.md 1`] = ` +exports[`example-192.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3717,7 +3717,7 @@ baz ================================================================================ `; -exports[`example-193.md 1`] = ` +exports[`example-193.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3734,7 +3734,7 @@ baz ================================================================================ `; -exports[`example-194.md 1`] = ` +exports[`example-194.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3752,7 +3752,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-195.md 1`] = ` +exports[`example-195.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3770,7 +3770,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-196.md 1`] = ` +exports[`example-196.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3788,7 +3788,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-197.md 1`] = ` +exports[`example-197.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3811,7 +3811,7 @@ foo ================================================================================ `; -exports[`example-198.md 1`] = ` +exports[`example-198.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3829,7 +3829,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-199.md 1`] = ` +exports[`example-199.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3844,7 +3844,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-200.md 1`] = ` +exports[`example-200.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3861,7 +3861,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-201.md 1`] = ` +exports[`example-201.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3878,7 +3878,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-202.md 1`] = ` +exports[`example-202.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3897,7 +3897,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-203.md 1`] = ` +exports[`example-203.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3913,7 +3913,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-204.md 1`] = ` +exports[`example-204.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3932,7 +3932,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-205.md 1`] = ` +exports[`example-205.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3950,7 +3950,7 @@ foo ================================================================================ `; -exports[`example-206.md 1`] = ` +exports[`example-206.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3971,7 +3971,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-207.md 1`] = ` +exports[`example-207.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -3987,7 +3987,7 @@ baz ================================================================================ `; -exports[`example-208.md 1`] = ` +exports[`example-208.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4006,7 +4006,7 @@ baz ================================================================================ `; -exports[`example-209.md 1`] = ` +exports[`example-209.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4025,7 +4025,7 @@ baz ================================================================================ `; -exports[`example-210.md 1`] = ` +exports[`example-210.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4041,7 +4041,7 @@ bar ================================================================================ `; -exports[`example-211.md 1`] = ` +exports[`example-211.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4058,7 +4058,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-212.md 1`] = ` +exports[`example-212.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4077,7 +4077,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-213.md 1`] = ` +exports[`example-213.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4101,7 +4101,7 @@ A paragraph with two lines. ================================================================================ `; -exports[`example-214.md 1`] = ` +exports[`example-214.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4125,7 +4125,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-215.md 1`] = ` +exports[`example-215.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4144,7 +4144,7 @@ two ================================================================================ `; -exports[`example-216.md 1`] = ` +exports[`example-216.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4163,7 +4163,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-217.md 1`] = ` +exports[`example-217.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4182,7 +4182,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-218.md 1`] = ` +exports[`example-218.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4201,7 +4201,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-219.md 1`] = ` +exports[`example-219.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4220,7 +4220,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-220.md 1`] = ` +exports[`example-220.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4239,7 +4239,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-221.md 1`] = ` +exports[`example-221.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4258,7 +4258,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-222.md 1`] = ` +exports[`example-222.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4320,7 +4320,7 @@ bar ================================================================================ `; -exports[`example-223.md 1`] = ` +exports[`example-223.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4351,7 +4351,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-224.md 1`] = ` +exports[`example-224.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4374,7 +4374,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-225.md 1`] = ` +exports[`example-225.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4399,7 +4399,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-226.md 1`] = ` +exports[`example-226.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4414,7 +4414,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-227.md 1`] = ` +exports[`example-227.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4429,7 +4429,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-228.md 1`] = ` +exports[`example-228.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4444,7 +4444,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-229.md 1`] = ` +exports[`example-229.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4459,7 +4459,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-230.md 1`] = ` +exports[`example-230.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4474,7 +4474,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-231.md 1`] = ` +exports[`example-231.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4493,7 +4493,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-232.md 1`] = ` +exports[`example-232.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4512,7 +4512,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-233.md 1`] = ` +exports[`example-233.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4535,7 +4535,7 @@ paragraph ================================================================================ `; -exports[`example-234.md 1`] = ` +exports[`example-234.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4558,7 +4558,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-235.md 1`] = ` +exports[`example-235.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4581,7 +4581,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-236.md 1`] = ` +exports[`example-236.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4600,7 +4600,7 @@ bar ================================================================================ `; -exports[`example-237.md 1`] = ` +exports[`example-237.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4619,7 +4619,7 @@ bar ================================================================================ `; -exports[`example-238.md 1`] = ` +exports[`example-238.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4638,7 +4638,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-240.md 1`] = ` +exports[`example-240.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4657,7 +4657,7 @@ foo ================================================================================ `; -exports[`example-241.md 1`] = ` +exports[`example-241.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4676,7 +4676,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-242.md 1`] = ` +exports[`example-242.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4695,7 +4695,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-243.md 1`] = ` +exports[`example-243.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4714,7 +4714,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-244.md 1`] = ` +exports[`example-244.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4729,7 +4729,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-245.md 1`] = ` +exports[`example-245.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4753,7 +4753,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-246.md 1`] = ` +exports[`example-246.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4777,7 +4777,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-247.md 1`] = ` +exports[`example-247.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4801,7 +4801,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-248.md 1`] = ` +exports[`example-248.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4826,7 +4826,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-249.md 1`] = ` +exports[`example-249.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4850,7 +4850,7 @@ with two lines. ================================================================================ `; -exports[`example-250.md 1`] = ` +exports[`example-250.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4866,7 +4866,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-251.md 1`] = ` +exports[`example-251.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4882,7 +4882,7 @@ continued here. ================================================================================ `; -exports[`example-252.md 1`] = ` +exports[`example-252.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4898,7 +4898,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-253.md 1`] = ` +exports[`example-253.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4917,7 +4917,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-254.md 1`] = ` +exports[`example-254.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4936,7 +4936,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-255.md 1`] = ` +exports[`example-255.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4953,7 +4953,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-256.md 1`] = ` +exports[`example-256.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4971,7 +4971,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-257.md 1`] = ` +exports[`example-257.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -4986,7 +4986,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-258.md 1`] = ` +exports[`example-258.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5001,7 +5001,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-259.md 1`] = ` +exports[`example-259.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5021,7 +5021,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-260.md 1`] = ` +exports[`example-260.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5041,7 +5041,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-261.md 1`] = ` +exports[`example-261.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5061,7 +5061,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-262.md 1`] = ` +exports[`example-262.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5081,7 +5081,7 @@ Foo ================================================================================ `; -exports[`example-263.md 1`] = ` +exports[`example-263.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5099,7 +5099,7 @@ The number of windows in my house is ================================================================================ `; -exports[`example-264.md 1`] = ` +exports[`example-264.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5123,7 +5123,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-265.md 1`] = ` +exports[`example-265.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5146,7 +5146,7 @@ bar ================================================================================ `; -exports[`example-266.md 1`] = ` +exports[`example-266.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5171,7 +5171,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-267.md 1`] = ` +exports[`example-267.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5195,7 +5195,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-268.md 1`] = ` +exports[`example-268.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5224,7 +5224,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-269.md 1`] = ` +exports[`example-269.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5255,7 +5255,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-271.md 1`] = ` +exports[`example-271.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5276,7 +5276,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-272.md 1`] = ` +exports[`example-272.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5297,7 +5297,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-273.md 1`] = ` +exports[`example-273.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5321,7 +5321,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-274.md 1`] = ` +exports[`example-274.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5345,7 +5345,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-276.md 1`] = ` +exports[`example-276.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5370,7 +5370,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-277.md 1`] = ` +exports[`example-277.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5390,7 +5390,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-278.md 1`] = ` +exports[`example-278.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5415,7 +5415,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-279.md 1`] = ` +exports[`example-279.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5430,7 +5430,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-280.md 1`] = ` +exports[`example-280.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5447,7 +5447,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-281.md 1`] = ` +exports[`example-281.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5470,7 +5470,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-282.md 1`] = ` +exports[`example-282.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5492,7 +5492,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-283.md 1`] = ` +exports[`example-283.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5520,7 +5520,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-284.md 1`] = ` +exports[`example-284.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5535,7 +5535,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-285.md 1`] = ` +exports[`example-285.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5550,7 +5550,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-286.md 1`] = ` +exports[`example-286.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5565,7 +5565,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-287.md 1`] = ` +exports[`example-287.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5588,7 +5588,7 @@ list \\* not a list \\# not a heading \\[foo]: /url "not a reference" ================================================================================ `; -exports[`example-288.md 1`] = ` +exports[`example-288.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5603,7 +5603,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-289.md 1`] = ` +exports[`example-289.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5620,7 +5620,7 @@ bar ================================================================================ `; -exports[`example-290.md 1`] = ` +exports[`example-290.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5635,7 +5635,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-291.md 1`] = ` +exports[`example-291.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5650,7 +5650,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-292.md 1`] = ` +exports[`example-292.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5669,7 +5669,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-293.md 1`] = ` +exports[`example-293.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5684,7 +5684,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-294.md 1`] = ` +exports[`example-294.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5699,7 +5699,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-295.md 1`] = ` +exports[`example-295.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5714,7 +5714,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-296.md 1`] = ` +exports[`example-296.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5733,7 +5733,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-297.md 1`] = ` +exports[`example-297.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5752,7 +5752,7 @@ foo ================================================================================ `; -exports[`example-298.md 1`] = ` +exports[`example-298.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5770,7 +5770,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-299.md 1`] = ` +exports[`example-299.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5785,7 +5785,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-300.md 1`] = ` +exports[`example-300.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5800,7 +5800,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-301.md 1`] = ` +exports[`example-301.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5816,7 +5816,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-302.md 1`] = ` +exports[`example-302.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5831,7 +5831,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-303.md 1`] = ` +exports[`example-303.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5846,7 +5846,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-304.md 1`] = ` +exports[`example-304.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5861,7 +5861,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-305.md 1`] = ` +exports[`example-305.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5876,7 +5876,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-306.md 1`] = ` +exports[`example-306.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5895,7 +5895,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-307.md 1`] = ` +exports[`example-307.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5914,7 +5914,7 @@ foo ================================================================================ `; -exports[`example-308.md 1`] = ` +exports[`example-308.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5929,7 +5929,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-309.md 1`] = ` +exports[`example-309.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5944,7 +5944,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-310.md 1`] = ` +exports[`example-310.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5959,7 +5959,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-311.md 1`] = ` +exports[`example-311.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5974,7 +5974,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-312.md 1`] = ` +exports[`example-312.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -5989,7 +5989,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-313.md 1`] = ` +exports[`example-313.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6006,7 +6006,7 @@ foo ================================================================================ `; -exports[`example-314.md 1`] = ` +exports[`example-314.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6022,7 +6022,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-315.md 1`] = ` +exports[`example-315.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6037,7 +6037,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-316.md 1`] = ` +exports[`example-316.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6052,7 +6052,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-317.md 1`] = ` +exports[`example-317.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6067,7 +6067,7 @@ _foo\`_\` ================================================================================ `; -exports[`example-318.md 1`] = ` +exports[`example-318.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6082,7 +6082,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-319.md 1`] = ` +exports[`example-319.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6097,7 +6097,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-320.md 1`] = ` +exports[`example-320.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6112,7 +6112,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-321.md 1`] = ` +exports[`example-321.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6127,7 +6127,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-322.md 1`] = ` +exports[`example-322.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6142,7 +6142,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-324.md 1`] = ` +exports[`example-324.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6157,7 +6157,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-325.md 1`] = ` +exports[`example-325.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6172,7 +6172,7 @@ _foo bar_ ================================================================================ `; -exports[`example-326.md 1`] = ` +exports[`example-326.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6187,7 +6187,7 @@ a _ foo bar_ ================================================================================ `; -exports[`example-327.md 1`] = ` +exports[`example-327.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6202,7 +6202,7 @@ a*"foo"* ================================================================================ `; -exports[`example-328.md 1`] = ` +exports[`example-328.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6217,7 +6217,7 @@ _ a _ ================================================================================ `; -exports[`example-329.md 1`] = ` +exports[`example-329.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6232,7 +6232,7 @@ foo*bar* ================================================================================ `; -exports[`example-330.md 1`] = ` +exports[`example-330.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6247,7 +6247,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-331.md 1`] = ` +exports[`example-331.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6262,7 +6262,7 @@ _foo bar_ ================================================================================ `; -exports[`example-332.md 1`] = ` +exports[`example-332.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6277,7 +6277,7 @@ _ foo bar_ ================================================================================ `; -exports[`example-333.md 1`] = ` +exports[`example-333.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6292,7 +6292,7 @@ a*"foo"* ================================================================================ `; -exports[`example-334.md 1`] = ` +exports[`example-334.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6307,7 +6307,7 @@ foo*bar* ================================================================================ `; -exports[`example-335.md 1`] = ` +exports[`example-335.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6322,7 +6322,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-336.md 1`] = ` +exports[`example-336.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6337,7 +6337,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-337.md 1`] = ` +exports[`example-337.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6352,7 +6352,7 @@ aa\\_"bb"\\_cc ================================================================================ `; -exports[`example-338.md 1`] = ` +exports[`example-338.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6367,7 +6367,7 @@ foo-_(bar)_ ================================================================================ `; -exports[`example-339.md 1`] = ` +exports[`example-339.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6382,7 +6382,7 @@ _foo* ================================================================================ `; -exports[`example-340.md 1`] = ` +exports[`example-340.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6397,7 +6397,7 @@ _foo bar _ ================================================================================ `; -exports[`example-341.md 1`] = ` +exports[`example-341.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6413,7 +6413,7 @@ _foo bar _ ================================================================================ `; -exports[`example-342.md 1`] = ` +exports[`example-342.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6428,7 +6428,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-343.md 1`] = ` +exports[`example-343.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6443,7 +6443,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-344.md 1`] = ` +exports[`example-344.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6458,7 +6458,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-345.md 1`] = ` +exports[`example-345.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6473,7 +6473,7 @@ _foo bar _ ================================================================================ `; -exports[`example-346.md 1`] = ` +exports[`example-346.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6488,7 +6488,7 @@ _(_foo) ================================================================================ `; -exports[`example-347.md 1`] = ` +exports[`example-347.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6503,7 +6503,7 @@ _(\\_foo_)\\_ ================================================================================ `; -exports[`example-348.md 1`] = ` +exports[`example-348.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6518,7 +6518,7 @@ _foo_bar ================================================================================ `; -exports[`example-349.md 1`] = ` +exports[`example-349.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6533,7 +6533,7 @@ _пристаням_стремятся ================================================================================ `; -exports[`example-350.md 1`] = ` +exports[`example-350.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6548,7 +6548,7 @@ _foo_bar_baz_ ================================================================================ `; -exports[`example-351.md 1`] = ` +exports[`example-351.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6563,7 +6563,7 @@ _(bar)_. ================================================================================ `; -exports[`example-352.md 1`] = ` +exports[`example-352.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6578,7 +6578,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-353.md 1`] = ` +exports[`example-353.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6593,7 +6593,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-354.md 1`] = ` +exports[`example-354.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6608,7 +6608,7 @@ a**"foo"** ================================================================================ `; -exports[`example-355.md 1`] = ` +exports[`example-355.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6623,7 +6623,7 @@ foo**bar** ================================================================================ `; -exports[`example-356.md 1`] = ` +exports[`example-356.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6638,7 +6638,7 @@ __foo bar__ ================================================================================ `; -exports[`example-357.md 1`] = ` +exports[`example-357.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6653,7 +6653,7 @@ __ foo bar__ ================================================================================ `; -exports[`example-358.md 1`] = ` +exports[`example-358.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6669,7 +6669,7 @@ foo bar__ ================================================================================ `; -exports[`example-359.md 1`] = ` +exports[`example-359.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6684,7 +6684,7 @@ a**"foo"** ================================================================================ `; -exports[`example-360.md 1`] = ` +exports[`example-360.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6699,7 +6699,7 @@ foo**bar** ================================================================================ `; -exports[`example-361.md 1`] = ` +exports[`example-361.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6714,7 +6714,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-362.md 1`] = ` +exports[`example-362.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6729,7 +6729,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-363.md 1`] = ` +exports[`example-363.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6744,7 +6744,7 @@ __foo, __bar__, baz__ ================================================================================ `; -exports[`example-364.md 1`] = ` +exports[`example-364.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6759,7 +6759,7 @@ foo-**(bar)** ================================================================================ `; -exports[`example-365.md 1`] = ` +exports[`example-365.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6774,7 +6774,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-366.md 1`] = ` +exports[`example-366.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6789,7 +6789,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-367.md 1`] = ` +exports[`example-367.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6804,7 +6804,7 @@ _(**foo**)_ ================================================================================ `; -exports[`example-368.md 1`] = ` +exports[`example-368.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6820,7 +6820,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-369.md 1`] = ` +exports[`example-369.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6835,7 +6835,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-370.md 1`] = ` +exports[`example-370.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6850,7 +6850,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-371.md 1`] = ` +exports[`example-371.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6865,7 +6865,7 @@ __foo bar __ ================================================================================ `; -exports[`example-372.md 1`] = ` +exports[`example-372.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6880,7 +6880,7 @@ __(__foo) ================================================================================ `; -exports[`example-373.md 1`] = ` +exports[`example-373.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6895,7 +6895,7 @@ _(**foo**)_ ================================================================================ `; -exports[`example-374.md 1`] = ` +exports[`example-374.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6910,7 +6910,7 @@ __foo__bar ================================================================================ `; -exports[`example-375.md 1`] = ` +exports[`example-375.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6925,7 +6925,7 @@ __пристаням__стремятся ================================================================================ `; -exports[`example-376.md 1`] = ` +exports[`example-376.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6940,7 +6940,7 @@ __foo__bar__baz__ ================================================================================ `; -exports[`example-377.md 1`] = ` +exports[`example-377.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6955,7 +6955,7 @@ __(bar)__. ================================================================================ `; -exports[`example-378.md 1`] = ` +exports[`example-378.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6970,7 +6970,7 @@ _foo [bar](/url)_ ================================================================================ `; -exports[`example-379.md 1`] = ` +exports[`example-379.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -6986,7 +6986,7 @@ _foo bar_ ================================================================================ `; -exports[`example-380.md 1`] = ` +exports[`example-380.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7001,7 +7001,7 @@ _foo **bar** baz_ ================================================================================ `; -exports[`example-381.md 1`] = ` +exports[`example-381.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7016,7 +7016,7 @@ _foo \\_bar_ baz\\_ ================================================================================ `; -exports[`example-382.md 1`] = ` +exports[`example-382.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7031,7 +7031,7 @@ __foo_ bar_ ================================================================================ `; -exports[`example-383.md 1`] = ` +exports[`example-383.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7046,7 +7046,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-384.md 1`] = ` +exports[`example-384.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7061,7 +7061,7 @@ _foo **bar** baz_ ================================================================================ `; -exports[`example-385.md 1`] = ` +exports[`example-385.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7076,7 +7076,7 @@ _foo**bar**baz_ ================================================================================ `; -exports[`example-386.md 1`] = ` +exports[`example-386.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7091,7 +7091,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-387.md 1`] = ` +exports[`example-387.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7106,7 +7106,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-388.md 1`] = ` +exports[`example-388.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7121,7 +7121,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-390.md 1`] = ` +exports[`example-390.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7136,7 +7136,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-391.md 1`] = ` +exports[`example-391.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7151,7 +7151,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-392.md 1`] = ` +exports[`example-392.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7166,7 +7166,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-393.md 1`] = ` +exports[`example-393.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7181,7 +7181,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-394.md 1`] = ` +exports[`example-394.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7197,7 +7197,7 @@ bar** ================================================================================ `; -exports[`example-395.md 1`] = ` +exports[`example-395.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7212,7 +7212,7 @@ __foo _bar_ baz__ ================================================================================ `; -exports[`example-396.md 1`] = ` +exports[`example-396.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7227,7 +7227,7 @@ __foo __bar__ baz__ ================================================================================ `; -exports[`example-397.md 1`] = ` +exports[`example-397.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7242,7 +7242,7 @@ ____foo__ bar__ ================================================================================ `; -exports[`example-398.md 1`] = ` +exports[`example-398.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7257,7 +7257,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-399.md 1`] = ` +exports[`example-399.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7272,7 +7272,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-400.md 1`] = ` +exports[`example-400.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7287,7 +7287,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-401.md 1`] = ` +exports[`example-401.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7302,7 +7302,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-402.md 1`] = ` +exports[`example-402.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7317,7 +7317,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-403.md 1`] = ` +exports[`example-403.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7333,7 +7333,7 @@ bim* bop** ================================================================================ `; -exports[`example-404.md 1`] = ` +exports[`example-404.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7348,7 +7348,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-405.md 1`] = ` +exports[`example-405.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7363,7 +7363,7 @@ __ is not an empty emphasis ================================================================================ `; -exports[`example-406.md 1`] = ` +exports[`example-406.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7378,7 +7378,7 @@ ____ is not an empty strong emphasis ================================================================================ `; -exports[`example-407.md 1`] = ` +exports[`example-407.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7393,7 +7393,7 @@ foo \\*\\*\\* ================================================================================ `; -exports[`example-408.md 1`] = ` +exports[`example-408.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7408,7 +7408,7 @@ foo \\*\\*\\* ================================================================================ `; -exports[`example-410.md 1`] = ` +exports[`example-410.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7423,7 +7423,7 @@ foo **\\*** ================================================================================ `; -exports[`example-411.md 1`] = ` +exports[`example-411.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7438,7 +7438,7 @@ foo **\\*** ================================================================================ `; -exports[`example-412.md 1`] = ` +exports[`example-412.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7453,7 +7453,7 @@ foo **\\_** ================================================================================ `; -exports[`example-413.md 1`] = ` +exports[`example-413.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7468,7 +7468,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-414.md 1`] = ` +exports[`example-414.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7483,7 +7483,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-415.md 1`] = ` +exports[`example-415.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7498,7 +7498,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-417.md 1`] = ` +exports[`example-417.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7513,7 +7513,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-418.md 1`] = ` +exports[`example-418.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7528,7 +7528,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-419.md 1`] = ` +exports[`example-419.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7543,7 +7543,7 @@ foo \\_\\_\\_ ================================================================================ `; -exports[`example-420.md 1`] = ` +exports[`example-420.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7558,7 +7558,7 @@ foo \\_\\_\\_ ================================================================================ `; -exports[`example-421.md 1`] = ` +exports[`example-421.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7573,7 +7573,7 @@ foo _\\*_ ================================================================================ `; -exports[`example-422.md 1`] = ` +exports[`example-422.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7588,7 +7588,7 @@ foo **\\_** ================================================================================ `; -exports[`example-423.md 1`] = ` +exports[`example-423.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7603,7 +7603,7 @@ foo **\\_** ================================================================================ `; -exports[`example-424.md 1`] = ` +exports[`example-424.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7618,7 +7618,7 @@ foo **\\*** ================================================================================ `; -exports[`example-425.md 1`] = ` +exports[`example-425.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7633,7 +7633,7 @@ __foo_ ================================================================================ `; -exports[`example-426.md 1`] = ` +exports[`example-426.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7648,7 +7648,7 @@ _foo__ ================================================================================ `; -exports[`example-427.md 1`] = ` +exports[`example-427.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7663,7 +7663,7 @@ ___foo__ ================================================================================ `; -exports[`example-428.md 1`] = ` +exports[`example-428.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7678,7 +7678,7 @@ ____foo_ ================================================================================ `; -exports[`example-429.md 1`] = ` +exports[`example-429.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7693,7 +7693,7 @@ __foo___ ================================================================================ `; -exports[`example-430.md 1`] = ` +exports[`example-430.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7708,7 +7708,7 @@ _foo____ ================================================================================ `; -exports[`example-431.md 1`] = ` +exports[`example-431.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7723,7 +7723,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-432.md 1`] = ` +exports[`example-432.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7738,7 +7738,7 @@ _*foo*_ ================================================================================ `; -exports[`example-433.md 1`] = ` +exports[`example-433.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7753,7 +7753,7 @@ __foo__ ================================================================================ `; -exports[`example-434.md 1`] = ` +exports[`example-434.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7768,7 +7768,7 @@ _*foo*_ ================================================================================ `; -exports[`example-435.md 1`] = ` +exports[`example-435.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7783,7 +7783,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-436.md 1`] = ` +exports[`example-436.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7798,7 +7798,7 @@ ____foo____ ================================================================================ `; -exports[`example-437.md 1`] = ` +exports[`example-437.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7813,7 +7813,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-438.md 1`] = ` +exports[`example-438.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7828,7 +7828,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-439.md 1`] = ` +exports[`example-439.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7843,7 +7843,7 @@ _____foo_____ ================================================================================ `; -exports[`example-440.md 1`] = ` +exports[`example-440.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7858,7 +7858,7 @@ _foo \\_bar_ baz\\_ ================================================================================ `; -exports[`example-441.md 1`] = ` +exports[`example-441.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7873,7 +7873,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-442.md 1`] = ` +exports[`example-442.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7888,7 +7888,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-443.md 1`] = ` +exports[`example-443.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7903,7 +7903,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-444.md 1`] = ` +exports[`example-444.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7918,7 +7918,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-445.md 1`] = ` +exports[`example-445.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7933,7 +7933,7 @@ _[bar_](/url) ================================================================================ `; -exports[`example-446.md 1`] = ` +exports[`example-446.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7948,7 +7948,7 @@ _foo [bar_](/url) ================================================================================ `; -exports[`example-447.md 1`] = ` +exports[`example-447.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7963,7 +7963,7 @@ _ ================================================================================ `; -exports[`example-448.md 1`] = ` +exports[`example-448.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7978,7 +7978,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-449.md 1`] = ` +exports[`example-449.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -7993,7 +7993,7 @@ __ ================================================================================ `; -exports[`example-450.md 1`] = ` +exports[`example-450.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8008,7 +8008,7 @@ _a \`_\`\\* ================================================================================ `; -exports[`example-451.md 1`] = ` +exports[`example-451.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8023,7 +8023,7 @@ _a \`_\`\\_ ================================================================================ `; -exports[`example-452.md 1`] = ` +exports[`example-452.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8038,7 +8038,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-453.md 1`] = ` +exports[`example-453.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8053,7 +8053,7 @@ __a ================================================================================ `; -exports[`example-454.md 1`] = ` +exports[`example-454.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8068,7 +8068,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-455.md 1`] = ` +exports[`example-455.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8083,7 +8083,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-456.md 1`] = ` +exports[`example-456.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8098,7 +8098,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-457.md 1`] = ` +exports[`example-457.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8113,7 +8113,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-458.md 1`] = ` +exports[`example-458.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8128,7 +8128,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-459.md 1`] = ` +exports[`example-459.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8143,7 +8143,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-460.md 1`] = ` +exports[`example-460.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8159,7 +8159,7 @@ bar) ================================================================================ `; -exports[`example-461.md 1`] = ` +exports[`example-461.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8176,7 +8176,7 @@ bar>) ================================================================================ `; -exports[`example-462.md 1`] = ` +exports[`example-462.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8191,7 +8191,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-463.md 1`] = ` +exports[`example-463.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8206,7 +8206,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-464.md 1`] = ` +exports[`example-464.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8221,7 +8221,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-465.md 1`] = ` +exports[`example-465.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8236,7 +8236,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-466.md 1`] = ` +exports[`example-466.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8251,7 +8251,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-467.md 1`] = ` +exports[`example-467.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8266,7 +8266,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-468.md 1`] = ` +exports[`example-468.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8289,7 +8289,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-469.md 1`] = ` +exports[`example-469.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8304,7 +8304,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-470.md 1`] = ` +exports[`example-470.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8319,7 +8319,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-471.md 1`] = ` +exports[`example-471.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8334,7 +8334,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-472.md 1`] = ` +exports[`example-472.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8351,7 +8351,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-473.md 1`] = ` +exports[`example-473.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8366,7 +8366,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-474.md 1`] = ` +exports[`example-474.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8381,7 +8381,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-475.md 1`] = ` +exports[`example-475.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8396,7 +8396,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-476.md 1`] = ` +exports[`example-476.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8412,7 +8412,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-477.md 1`] = ` +exports[`example-477.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8427,7 +8427,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-478.md 1`] = ` +exports[`example-478.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8442,7 +8442,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-479.md 1`] = ` +exports[`example-479.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8457,7 +8457,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-480.md 1`] = ` +exports[`example-480.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8472,7 +8472,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-481.md 1`] = ` +exports[`example-481.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8487,7 +8487,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-482.md 1`] = ` +exports[`example-482.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8502,7 +8502,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-483.md 1`] = ` +exports[`example-483.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8517,7 +8517,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-484.md 1`] = ` +exports[`example-484.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8532,7 +8532,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-485.md 1`] = ` +exports[`example-485.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8547,7 +8547,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-486.md 1`] = ` +exports[`example-486.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8562,7 +8562,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-487.md 1`] = ` +exports[`example-487.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8577,7 +8577,7 @@ _[foo_](/uri) ================================================================================ `; -exports[`example-488.md 1`] = ` +exports[`example-488.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8592,7 +8592,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-489.md 1`] = ` +exports[`example-489.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8607,7 +8607,7 @@ _foo [bar_ baz] ================================================================================ `; -exports[`example-490.md 1`] = ` +exports[`example-490.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8622,7 +8622,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-491.md 1`] = ` +exports[`example-491.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8637,7 +8637,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-492.md 1`] = ` +exports[`example-492.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8652,7 +8652,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-493.md 1`] = ` +exports[`example-493.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8671,7 +8671,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-494.md 1`] = ` +exports[`example-494.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8690,7 +8690,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-495.md 1`] = ` +exports[`example-495.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8709,7 +8709,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-496.md 1`] = ` +exports[`example-496.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8728,7 +8728,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-497.md 1`] = ` +exports[`example-497.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8747,7 +8747,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-498.md 1`] = ` +exports[`example-498.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8766,7 +8766,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-499.md 1`] = ` +exports[`example-499.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8785,7 +8785,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-500.md 1`] = ` +exports[`example-500.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8804,7 +8804,7 @@ _[foo_][ref] ================================================================================ `; -exports[`example-501.md 1`] = ` +exports[`example-501.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8823,7 +8823,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-502.md 1`] = ` +exports[`example-502.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8842,7 +8842,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-503.md 1`] = ` +exports[`example-503.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8861,7 +8861,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-504.md 1`] = ` +exports[`example-504.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8880,7 +8880,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-505.md 1`] = ` +exports[`example-505.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8899,7 +8899,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-506.md 1`] = ` +exports[`example-506.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8918,7 +8918,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-507.md 1`] = ` +exports[`example-507.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8938,7 +8938,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-508.md 1`] = ` +exports[`example-508.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8957,7 +8957,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-509.md 1`] = ` +exports[`example-509.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8977,7 +8977,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-510.md 1`] = ` +exports[`example-510.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -8999,7 +8999,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-511.md 1`] = ` +exports[`example-511.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9018,7 +9018,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-512.md 1`] = ` +exports[`example-512.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9037,7 +9037,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-513.md 1`] = ` +exports[`example-513.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9056,7 +9056,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-514.md 1`] = ` +exports[`example-514.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9075,7 +9075,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-515.md 1`] = ` +exports[`example-515.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9094,7 +9094,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-516.md 1`] = ` +exports[`example-516.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9113,7 +9113,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-517.md 1`] = ` +exports[`example-517.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9132,7 +9132,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-518.md 1`] = ` +exports[`example-518.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9153,7 +9153,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-519.md 1`] = ` +exports[`example-519.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9172,7 +9172,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-520.md 1`] = ` +exports[`example-520.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9191,7 +9191,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-521.md 1`] = ` +exports[`example-521.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9210,7 +9210,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-522.md 1`] = ` +exports[`example-522.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9230,7 +9230,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-523.md 1`] = ` +exports[`example-523.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9249,7 +9249,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-524.md 1`] = ` +exports[`example-524.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9268,7 +9268,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-525.md 1`] = ` +exports[`example-525.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9287,7 +9287,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-526.md 1`] = ` +exports[`example-526.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9306,7 +9306,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-527.md 1`] = ` +exports[`example-527.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9325,7 +9325,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-528.md 1`] = ` +exports[`example-528.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9344,7 +9344,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-529.md 1`] = ` +exports[`example-529.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9363,7 +9363,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-530.md 1`] = ` +exports[`example-530.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9382,7 +9382,7 @@ _[foo_] ================================================================================ `; -exports[`example-531.md 1`] = ` +exports[`example-531.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9403,7 +9403,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-532.md 1`] = ` +exports[`example-532.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9422,7 +9422,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-533.md 1`] = ` +exports[`example-533.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9443,7 +9443,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-534.md 1`] = ` +exports[`example-534.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9464,7 +9464,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-535.md 1`] = ` +exports[`example-535.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9479,7 +9479,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-536.md 1`] = ` +exports[`example-536.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9498,7 +9498,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-537.md 1`] = ` +exports[`example-537.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9513,7 +9513,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-538.md 1`] = ` +exports[`example-538.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9528,7 +9528,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-539.md 1`] = ` +exports[`example-539.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9547,7 +9547,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-540.md 1`] = ` +exports[`example-540.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9566,7 +9566,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-541.md 1`] = ` +exports[`example-541.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9581,7 +9581,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-542.md 1`] = ` +exports[`example-542.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9596,7 +9596,7 @@ My ![foo bar](/path/to/train.jpg "title") ================================================================================ `; -exports[`example-543.md 1`] = ` +exports[`example-543.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9611,7 +9611,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-544.md 1`] = ` +exports[`example-544.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9626,7 +9626,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-545.md 1`] = ` +exports[`example-545.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9645,7 +9645,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-546.md 1`] = ` +exports[`example-546.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9664,7 +9664,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-547.md 1`] = ` +exports[`example-547.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9683,7 +9683,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-548.md 1`] = ` +exports[`example-548.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9702,7 +9702,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-549.md 1`] = ` +exports[`example-549.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9721,7 +9721,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-550.md 1`] = ` +exports[`example-550.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9741,7 +9741,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-551.md 1`] = ` +exports[`example-551.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9760,7 +9760,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-552.md 1`] = ` +exports[`example-552.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9779,7 +9779,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-553.md 1`] = ` +exports[`example-553.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9798,7 +9798,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-554.md 1`] = ` +exports[`example-554.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9817,7 +9817,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-555.md 1`] = ` +exports[`example-555.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9836,7 +9836,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-556.md 1`] = ` +exports[`example-556.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9855,7 +9855,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-557.md 1`] = ` +exports[`example-557.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9870,7 +9870,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-558.md 1`] = ` +exports[`example-558.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9885,7 +9885,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-559.md 1`] = ` +exports[`example-559.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9900,7 +9900,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-560.md 1`] = ` +exports[`example-560.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9915,7 +9915,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-561.md 1`] = ` +exports[`example-561.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9930,7 +9930,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-562.md 1`] = ` +exports[`example-562.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9945,7 +9945,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-563.md 1`] = ` +exports[`example-563.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9960,7 +9960,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-564.md 1`] = ` +exports[`example-564.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9975,7 +9975,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-565.md 1`] = ` +exports[`example-565.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -9990,7 +9990,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-566.md 1`] = ` +exports[`example-566.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10005,7 +10005,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-567.md 1`] = ` +exports[`example-567.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10020,7 +10020,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-568.md 1`] = ` +exports[`example-568.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10035,7 +10035,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-569.md 1`] = ` +exports[`example-569.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10050,7 +10050,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-570.md 1`] = ` +exports[`example-570.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10065,7 +10065,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-571.md 1`] = ` +exports[`example-571.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10080,7 +10080,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-572.md 1`] = ` +exports[`example-572.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10095,7 +10095,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-573.md 1`] = ` +exports[`example-573.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10110,7 +10110,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-574.md 1`] = ` +exports[`example-574.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10125,7 +10125,7 @@ http://example.com ================================================================================ `; -exports[`example-575.md 1`] = ` +exports[`example-575.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10140,7 +10140,7 @@ foo@bar.example.com ================================================================================ `; -exports[`example-576.md 1`] = ` +exports[`example-576.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10155,7 +10155,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-577.md 1`] = ` +exports[`example-577.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10170,7 +10170,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-578.md 1`] = ` +exports[`example-578.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10187,7 +10187,7 @@ data="foo" > ================================================================================ `; -exports[`example-579.md 1`] = ` +exports[`example-579.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10204,7 +10204,7 @@ _boolean zoop:33=zoop:33 /> ================================================================================ `; -exports[`example-580.md 1`] = ` +exports[`example-580.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10219,7 +10219,7 @@ Foo ================================================================================ `; -exports[`example-581.md 1`] = ` +exports[`example-581.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10234,7 +10234,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-582.md 1`] = ` +exports[`example-582.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10249,7 +10249,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-583.md 1`] = ` +exports[`example-583.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10264,7 +10264,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-584.md 1`] = ` +exports[`example-584.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10280,7 +10280,7 @@ foo> ================================================================================ `; -exports[`example-585.md 1`] = ` +exports[`example-585.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10295,7 +10295,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-586.md 1`] = ` +exports[`example-586.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10310,7 +10310,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-587.md 1`] = ` +exports[`example-587.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10325,7 +10325,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-588.md 1`] = ` +exports[`example-588.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10342,7 +10342,7 @@ comment - with hyphen --> ================================================================================ `; -exports[`example-589.md 1`] = ` +exports[`example-589.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10357,7 +10357,7 @@ foo ================================================================================ `; -exports[`example-590.md 1`] = ` +exports[`example-590.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10376,7 +10376,7 @@ foo ================================================================================ `; -exports[`example-591.md 1`] = ` +exports[`example-591.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10391,7 +10391,7 @@ foo ================================================================================ `; -exports[`example-592.md 1`] = ` +exports[`example-592.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10406,7 +10406,7 @@ foo ================================================================================ `; -exports[`example-593.md 1`] = ` +exports[`example-593.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10421,7 +10421,7 @@ foo &<]]> ================================================================================ `; -exports[`example-594.md 1`] = ` +exports[`example-594.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10436,7 +10436,7 @@ foo ================================================================================ `; -exports[`example-595.md 1`] = ` +exports[`example-595.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10451,7 +10451,7 @@ foo ================================================================================ `; -exports[`example-596.md 1`] = ` +exports[`example-596.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10466,7 +10466,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-597.md 1`] = ` +exports[`example-597.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10483,7 +10483,7 @@ baz ================================================================================ `; -exports[`example-598.md 1`] = ` +exports[`example-598.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10500,7 +10500,7 @@ baz ================================================================================ `; -exports[`example-599.md 1`] = ` +exports[`example-599.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10517,7 +10517,7 @@ baz ================================================================================ `; -exports[`example-600.md 1`] = ` +exports[`example-600.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10534,7 +10534,7 @@ foo ================================================================================ `; -exports[`example-601.md 1`] = ` +exports[`example-601.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10551,7 +10551,7 @@ foo\\ ================================================================================ `; -exports[`example-602.md 1`] = ` +exports[`example-602.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10568,7 +10568,7 @@ bar_ ================================================================================ `; -exports[`example-603.md 1`] = ` +exports[`example-603.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10585,7 +10585,7 @@ bar_ ================================================================================ `; -exports[`example-604.md 1`] = ` +exports[`example-604.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10601,7 +10601,7 @@ span\` ================================================================================ `; -exports[`example-605.md 1`] = ` +exports[`example-605.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10617,7 +10617,7 @@ span\` ================================================================================ `; -exports[`example-606.md 1`] = ` +exports[`example-606.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10634,7 +10634,7 @@ bar"> ================================================================================ `; -exports[`example-607.md 1`] = ` +exports[`example-607.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10651,7 +10651,7 @@ bar"> ================================================================================ `; -exports[`example-608.md 1`] = ` +exports[`example-608.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10666,7 +10666,7 @@ foo\\ ================================================================================ `; -exports[`example-609.md 1`] = ` +exports[`example-609.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10681,7 +10681,7 @@ foo ================================================================================ `; -exports[`example-610.md 1`] = ` +exports[`example-610.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10696,7 +10696,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-611.md 1`] = ` +exports[`example-611.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10711,7 +10711,7 @@ proseWrap: "always" ================================================================================ `; -exports[`example-612.md 1`] = ` +exports[`example-612.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10727,7 +10727,7 @@ foo baz ================================================================================ `; -exports[`example-613.md 1`] = ` +exports[`example-613.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10743,7 +10743,7 @@ foo baz ================================================================================ `; -exports[`example-614.md 1`] = ` +exports[`example-614.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10758,7 +10758,7 @@ hello \\$.;'there ================================================================================ `; -exports[`example-615.md 1`] = ` +exports[`example-615.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -10773,7 +10773,7 @@ Foo χρῆν ================================================================================ `; -exports[`example-616.md 1`] = ` +exports[`example-616.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_splitCjkText/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_splitCjkText/__snapshots__/jsfmt.spec.js.snap index 7d3cdb5a6d..ef8fba8a4a 100644 --- a/tests/markdown_splitCjkText/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_splitCjkText/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`chinese-japanese.md 1`] = ` +exports[`chinese-japanese.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -38,7 +38,7 @@ proseWrap: "always" ================================================================================ `; -exports[`korean.md 1`] = ` +exports[`korean.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -53,7 +53,7 @@ proseWrap: "always" ================================================================================ `; -exports[`link.md 1`] = ` +exports[`link.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -68,7 +68,7 @@ proseWrap: "always" ================================================================================ `; -exports[`mixed.md 1`] = ` +exports[`mixed.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -92,7 +92,7 @@ English 混合著中文的一段 Paragraph! ================================================================================ `; -exports[`space.md 1`] = ` +exports[`space.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_strong/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_strong/__snapshots__/jsfmt.spec.js.snap index d5b8bc3f53..2b6c28f00d 100644 --- a/tests/markdown_strong/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_strong/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`asterisk.md 1`] = ` +exports[`asterisk.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -15,7 +15,7 @@ proseWrap: "always" ================================================================================ `; -exports[`underscore.md 1`] = ` +exports[`underscore.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_table/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_table/__snapshots__/jsfmt.spec.js.snap index aa3638a509..1daef61881 100644 --- a/tests/markdown_table/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_table/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`align.md 1`] = ` +exports[`align.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -19,7 +19,7 @@ proseWrap: "always" ================================================================================ `; -exports[`cjk.md 1`] = ` +exports[`cjk.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -38,7 +38,7 @@ proseWrap: "always" ================================================================================ `; -exports[`emoji.md 1`] = ` +exports[`emoji.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -57,7 +57,7 @@ proseWrap: "always" ================================================================================ `; -exports[`empty.md 1`] = ` +exports[`empty.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -78,7 +78,7 @@ Y | ================================================================================ `; -exports[`escape.md 1`] = ` +exports[`escape.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -97,7 +97,7 @@ proseWrap: "always" ================================================================================ `; -exports[`html.md 1`] = ` +exports[`html.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -116,7 +116,7 @@ Default | CLI Override | API Override ================================================================================ `; -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -135,7 +135,7 @@ proseWrap: "always" ================================================================================ `; -exports[`table.md 1`] = ` +exports[`table.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_thematicBreak/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_thematicBreak/__snapshots__/jsfmt.spec.js.snap index 2788373d0c..26b7ba3f42 100644 --- a/tests/markdown_thematicBreak/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_thematicBreak/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`list.md 1`] = ` +exports[`list.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -18,7 +18,7 @@ proseWrap: "always" ================================================================================ `; -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_toml/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_toml/__snapshots__/jsfmt.spec.js.snap index 3ea965f4c8..073569b0ad 100644 --- a/tests/markdown_toml/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_toml/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`empty.md 1`] = ` +exports[`empty.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -17,7 +17,7 @@ proseWrap: "always" ================================================================================ `; -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_word/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_word/__snapshots__/jsfmt.spec.js.snap index 69e8593ddd..22a775d433 100644 --- a/tests/markdown_word/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_word/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`escape.md 1`] = ` +exports[`escape.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/markdown_yaml/__snapshots__/jsfmt.spec.js.snap b/tests/markdown_yaml/__snapshots__/jsfmt.spec.js.snap index b53afe9a0e..7a4353087b 100644 --- a/tests/markdown_yaml/__snapshots__/jsfmt.spec.js.snap +++ b/tests/markdown_yaml/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`complex.md 1`] = ` +exports[`complex.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -25,7 +25,7 @@ proseWrap: "always" ================================================================================ `; -exports[`empty.md 1`] = ` +exports[`empty.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -42,7 +42,7 @@ proseWrap: "always" ================================================================================ `; -exports[`empty-2.md 1`] = ` +exports[`empty-2.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -63,7 +63,7 @@ Content ================================================================================ `; -exports[`simple.md 1`] = ` +exports[`simple.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -82,7 +82,7 @@ hello: world ================================================================================ `; -exports[`simple-2.md 1`] = ` +exports[`simple-2.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -105,7 +105,7 @@ Content ================================================================================ `; -exports[`trailing-spaces.md 1`] = ` +exports[`trailing-spaces.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/mdx/__snapshots__/jsfmt.spec.js.snap b/tests/mdx/__snapshots__/jsfmt.spec.js.snap index 22f9dae84e..6fb7430bce 100644 --- a/tests/mdx/__snapshots__/jsfmt.spec.js.snap +++ b/tests/mdx/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`import-export.mdx 1`] = ` +exports[`import-export.mdx format 1`] = ` ====================================options===================================== parsers: ["mdx"] printWidth: 80 @@ -86,7 +86,7 @@ export const b = 1; ================================================================================ `; -exports[`import-export.mdx 2`] = ` +exports[`import-export.mdx format 2`] = ` ====================================options===================================== parsers: ["mdx"] printWidth: 80 @@ -173,7 +173,7 @@ export const b = 1 ================================================================================ `; -exports[`inline-html.mdx 1`] = ` +exports[`inline-html.mdx format 1`] = ` ====================================options===================================== parsers: ["mdx"] printWidth: 80 @@ -201,7 +201,7 @@ and as you can see_ once you close the italics, it will break incorrectly when p ================================================================================ `; -exports[`inline-html.mdx 2`] = ` +exports[`inline-html.mdx format 2`] = ` ====================================options===================================== parsers: ["mdx"] printWidth: 80 @@ -230,7 +230,7 @@ and as you can see_ once you close the italics, it will break incorrectly when p ================================================================================ `; -exports[`jsx.mdx 1`] = ` +exports[`jsx.mdx format 1`] = ` ====================================options===================================== parsers: ["mdx"] printWidth: 80 @@ -318,7 +318,7 @@ printWidth: 80 ================================================================================ `; -exports[`jsx.mdx 2`] = ` +exports[`jsx.mdx format 2`] = ` ====================================options===================================== parsers: ["mdx"] printWidth: 80 @@ -407,7 +407,7 @@ semi: false ================================================================================ `; -exports[`jsx-codeblock.mdx 1`] = ` +exports[`jsx-codeblock.mdx format 1`] = ` ====================================options===================================== parsers: ["mdx"] printWidth: 80 @@ -435,7 +435,7 @@ const a = 1; ================================================================================ `; -exports[`jsx-codeblock.mdx 2`] = ` +exports[`jsx-codeblock.mdx format 2`] = ` ====================================options===================================== parsers: ["mdx"] printWidth: 80 @@ -464,7 +464,7 @@ const a = 1 ================================================================================ `; -exports[`levels.mdx 1`] = ` +exports[`levels.mdx format 1`] = ` ====================================options===================================== parsers: ["mdx"] printWidth: 80 @@ -519,7 +519,7 @@ test ================================================================================ `; -exports[`levels.mdx 2`] = ` +exports[`levels.mdx format 2`] = ` ====================================options===================================== parsers: ["mdx"] printWidth: 80 @@ -575,7 +575,7 @@ test ================================================================================ `; -exports[`mixed.mdx 1`] = ` +exports[`mixed.mdx format 1`] = ` ====================================options===================================== parsers: ["mdx"] printWidth: 80 @@ -665,7 +665,7 @@ export default ({ children }) =>
{children}
; ================================================================================ `; -exports[`mixed.mdx 2`] = ` +exports[`mixed.mdx format 2`] = ` ====================================options===================================== parsers: ["mdx"] printWidth: 80 diff --git a/tests/member/__snapshots__/jsfmt.spec.js.snap b/tests/member/__snapshots__/jsfmt.spec.js.snap index e68099adfa..91617a8a2a 100644 --- a/tests/member/__snapshots__/jsfmt.spec.js.snap +++ b/tests/member/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`conditional.js 1`] = ` +exports[`conditional.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -20,7 +20,7 @@ printWidth: 80 ================================================================================ `; -exports[`expand.js 1`] = ` +exports[`expand.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -113,7 +113,7 @@ window.FooClient.something ================================================================================ `; -exports[`logical.js 1`] = ` +exports[`logical.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/method-chain/__snapshots__/jsfmt.spec.js.snap b/tests/method-chain/__snapshots__/jsfmt.spec.js.snap index 3b38320524..078c2461c9 100644 --- a/tests/method-chain/__snapshots__/jsfmt.spec.js.snap +++ b/tests/method-chain/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`bracket_0.js 1`] = ` +exports[`bracket_0.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -31,7 +31,7 @@ function a() { ================================================================================ `; -exports[`break-last-call.js 1`] = ` +exports[`break-last-call.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -157,7 +157,7 @@ it("should group messages with same created time", () => { ================================================================================ `; -exports[`break-last-member.js 1`] = ` +exports[`break-last-member.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -226,7 +226,7 @@ const { ================================================================================ `; -exports[`break-multiple.js 1`] = ` +exports[`break-multiple.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -248,7 +248,7 @@ foo().bar.baz(); ================================================================================ `; -exports[`comment.js 1`] = ` +exports[`comment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -400,7 +400,7 @@ angular ================================================================================ `; -exports[`computed.js 1`] = ` +exports[`computed.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -424,7 +424,7 @@ nock(/test/) ================================================================================ `; -exports[`computed-merge.js 1`] = ` +exports[`computed-merge.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -468,7 +468,7 @@ window.Data[key]("foo") ================================================================================ `; -exports[`conditional.js 1`] = ` +exports[`conditional.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -533,7 +533,7 @@ object[ ================================================================================ `; -exports[`d3.js 1`] = ` +exports[`d3.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -576,7 +576,7 @@ not.d3.scaleLinear().domain([1950, 1980]).range([0, width]); ================================================================================ `; -exports[`first_long.js 1`] = ` +exports[`first_long.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -655,7 +655,7 @@ function f() { ================================================================================ `; -exports[`inline_merge.js 1`] = ` +exports[`inline_merge.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -700,7 +700,7 @@ var jqxhr = $.ajax("example.php").done(doneFn).fail(failFn); ================================================================================ `; -exports[`issue-4125.js 1`] = ` +exports[`issue-4125.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -1028,7 +1028,7 @@ var l = base ================================================================================ `; -exports[`logical.js 1`] = ` +exports[`logical.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -1082,7 +1082,7 @@ const someLongVariableName = ( ================================================================================ `; -exports[`multiple-members.js 1`] = ` +exports[`multiple-members.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -1176,7 +1176,7 @@ wrapper ================================================================================ `; -exports[`object-literal.js 1`] = ` +exports[`object-literal.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -1218,7 +1218,7 @@ of("test") ================================================================================ `; -exports[`short-names.js 1`] = ` +exports[`short-names.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -1238,7 +1238,7 @@ const svgJsFiles = fs ================================================================================ `; -exports[`square_0.js 1`] = ` +exports[`square_0.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -1268,7 +1268,7 @@ const component = find(".org-lclp-edit-copy-url-banner__link")[0] ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -1293,7 +1293,7 @@ method() ================================================================================ `; -exports[`this.js 1`] = ` +exports[`this.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/multiparser_comments/__snapshots__/jsfmt.spec.js.snap b/tests/multiparser_comments/__snapshots__/jsfmt.spec.js.snap index 5a8eb4e9a7..2caacea0c1 100644 --- a/tests/multiparser_comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/multiparser_comments/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/multiparser_html_css/__snapshots__/jsfmt.spec.js.snap b/tests/multiparser_html_css/__snapshots__/jsfmt.spec.js.snap index 7d3a1f821f..aa6c573800 100644 --- a/tests/multiparser_html_css/__snapshots__/jsfmt.spec.js.snap +++ b/tests/multiparser_html_css/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`html-with-css-style.html 1`] = ` +exports[`html-with-css-style.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/multiparser_html_js/__snapshots__/jsfmt.spec.js.snap b/tests/multiparser_html_js/__snapshots__/jsfmt.spec.js.snap index 2b29d9263e..6ed1a2dc89 100644 --- a/tests/multiparser_html_js/__snapshots__/jsfmt.spec.js.snap +++ b/tests/multiparser_html_js/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`html-with-js-script.html 1`] = ` +exports[`html-with-js-script.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -32,7 +32,7 @@ printWidth: 80 ================================================================================ `; -exports[`script-tag-escaping.html 1`] = ` +exports[`script-tag-escaping.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/multiparser_html_markdown/__snapshots__/jsfmt.spec.js.snap b/tests/multiparser_html_markdown/__snapshots__/jsfmt.spec.js.snap index 7d70b80247..41dddc5267 100644 --- a/tests/multiparser_html_markdown/__snapshots__/jsfmt.spec.js.snap +++ b/tests/multiparser_html_markdown/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`html-with-markdown-script.html 1`] = ` +exports[`html-with-markdown-script.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/multiparser_html_ts/__snapshots__/jsfmt.spec.js.snap b/tests/multiparser_html_ts/__snapshots__/jsfmt.spec.js.snap index 4b5b82d029..5f3579aa37 100644 --- a/tests/multiparser_html_ts/__snapshots__/jsfmt.spec.js.snap +++ b/tests/multiparser_html_ts/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`html-with-ts-script.html 1`] = ` +exports[`html-with-ts-script.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/multiparser_js_css/__snapshots__/jsfmt.spec.js.snap b/tests/multiparser_js_css/__snapshots__/jsfmt.spec.js.snap index 871cb17a88..6d5525440e 100644 --- a/tests/multiparser_js_css/__snapshots__/jsfmt.spec.js.snap +++ b/tests/multiparser_js_css/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`colons-after-substitutions.js 1`] = ` +exports[`colons-after-substitutions.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -45,7 +45,7 @@ const Icon = styled.div\` ================================================================================ `; -exports[`colons-after-substitutions2.js 1`] = ` +exports[`colons-after-substitutions2.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -103,7 +103,7 @@ const Icon3 = styled.div\` ================================================================================ `; -exports[`styled-components.js 1`] = ` +exports[`styled-components.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -614,7 +614,7 @@ const Foo = styled.p\` ================================================================================ `; -exports[`var.js 1`] = ` +exports[`var.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/multiparser_js_graphql/__snapshots__/jsfmt.spec.js.snap b/tests/multiparser_js_graphql/__snapshots__/jsfmt.spec.js.snap index 4446436af2..ebe2257399 100644 --- a/tests/multiparser_js_graphql/__snapshots__/jsfmt.spec.js.snap +++ b/tests/multiparser_js_graphql/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comment-tag.js 1`] = ` +exports[`comment-tag.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -30,7 +30,7 @@ const query = /* GraphQL */ \` ================================================================================ `; -exports[`definitions.js 1`] = ` +exports[`definitions.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -60,7 +60,7 @@ graphql\` ================================================================================ `; -exports[`escape.js 1`] = ` +exports[`escape.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -154,7 +154,7 @@ gql\` ================================================================================ `; -exports[`expressions.js 1`] = ` +exports[`expressions.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -204,7 +204,7 @@ const veryLongVariableNameToMakeTheLineBreak = graphql( ================================================================================ `; -exports[`graphql.js 1`] = ` +exports[`graphql.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -234,7 +234,7 @@ graphql( ================================================================================ `; -exports[`graphql-tag.js 1`] = ` +exports[`graphql-tag.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -567,7 +567,7 @@ gql\` ================================================================================ `; -exports[`invalid.js 1`] = ` +exports[`invalid.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -623,7 +623,7 @@ gql\` ================================================================================ `; -exports[`react-relay.js 1`] = ` +exports[`react-relay.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/multiparser_js_html/__snapshots__/jsfmt.spec.js.snap b/tests/multiparser_js_html/__snapshots__/jsfmt.spec.js.snap index 6c6f7fa4f7..7a4fffc699 100644 --- a/tests/multiparser_js_html/__snapshots__/jsfmt.spec.js.snap +++ b/tests/multiparser_js_html/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`html-template-literals.js 1`] = ` +exports[`html-template-literals.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -76,7 +76,7 @@ setFoo( ================================================================================ `; -exports[`html-template-literals.js 2`] = ` +exports[`html-template-literals.js format 2`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["babel", "flow", "typescript"] @@ -167,7 +167,7 @@ setFoo( ================================================================================ `; -exports[`lit-html.js 1`] = ` +exports[`lit-html.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -374,7 +374,7 @@ html\`
{ ================================================================================ `; -exports[`markdown-preview-enhanced.md 1`] = ` +exports[`markdown-preview-enhanced.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -84,7 +84,7 @@ console.log("hello world"); ================================================================================ `; -exports[`trailing-comma.md 1`] = ` +exports[`trailing-comma.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/multiparser_markdown_json/__snapshots__/jsfmt.spec.js.snap b/tests/multiparser_markdown_json/__snapshots__/jsfmt.spec.js.snap index 573bf28268..66eed011c0 100644 --- a/tests/multiparser_markdown_json/__snapshots__/jsfmt.spec.js.snap +++ b/tests/multiparser_markdown_json/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`jsonc.md 1`] = ` +exports[`jsonc.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -25,7 +25,7 @@ trailingComma: "all" ================================================================================ `; -exports[`trailing_comma.md 1`] = ` +exports[`trailing_comma.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/multiparser_text/__snapshots__/jsfmt.spec.js.snap b/tests/multiparser_text/__snapshots__/jsfmt.spec.js.snap index 7ac37d7d0e..3aab7dfa66 100644 --- a/tests/multiparser_text/__snapshots__/jsfmt.spec.js.snap +++ b/tests/multiparser_text/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`text.js 1`] = ` +exports[`text.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/multiparser_vue/__snapshots__/jsfmt.spec.js.snap b/tests/multiparser_vue/__snapshots__/jsfmt.spec.js.snap index c68c6e898c..4d1047328e 100644 --- a/tests/multiparser_vue/__snapshots__/jsfmt.spec.js.snap +++ b/tests/multiparser_vue/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`lang-jsx.vue 1`] = ` +exports[`lang-jsx.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -35,7 +35,7 @@ export default { ================================================================================ `; -exports[`lang-ts.vue 1`] = ` +exports[`lang-ts.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -70,7 +70,7 @@ export default { ================================================================================ `; -exports[`lang-tsx.vue 1`] = ` +exports[`lang-tsx.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -102,7 +102,7 @@ export default { ================================================================================ `; -exports[`template-bind.vue 1`] = ` +exports[`template-bind.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -133,7 +133,7 @@ printWidth: 80 ================================================================================ `; -exports[`template-class.vue 1`] = ` +exports[`template-class.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -164,7 +164,7 @@ printWidth: 80 ================================================================================ `; -exports[`vue-component.vue 1`] = ` +exports[`vue-component.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 diff --git a/tests/new_expression/__snapshots__/jsfmt.spec.js.snap b/tests/new_expression/__snapshots__/jsfmt.spec.js.snap index 187ddb955d..c5221654dc 100644 --- a/tests/new_expression/__snapshots__/jsfmt.spec.js.snap +++ b/tests/new_expression/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`call.js 1`] = ` +exports[`call.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -20,7 +20,7 @@ new (factory())(factory()); ================================================================================ `; -exports[`new_expression.js 1`] = ` +exports[`new_expression.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -50,7 +50,7 @@ new (a\`\`())(); ================================================================================ `; -exports[`with-member-expression.js 1`] = ` +exports[`with-member-expression.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/newline/__snapshots__/jsfmt.spec.js.snap b/tests/newline/__snapshots__/jsfmt.spec.js.snap index ea39721571..35df1bdebd 100644 --- a/tests/newline/__snapshots__/jsfmt.spec.js.snap +++ b/tests/newline/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`backslash_2028.js 1`] = ` +exports[`backslash_2028.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -15,7 +15,7 @@ printWidth: 80 ================================================================================ `; -exports[`backslash_2029.js 1`] = ` +exports[`backslash_2029.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/no-semi-babylon-extensions/__snapshots__/jsfmt.spec.js.snap b/tests/no-semi-babylon-extensions/__snapshots__/jsfmt.spec.js.snap index 0aab889f7a..86fc7197aa 100644 --- a/tests/no-semi-babylon-extensions/__snapshots__/jsfmt.spec.js.snap +++ b/tests/no-semi-babylon-extensions/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`no-semi.js 1`] = ` +exports[`no-semi.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -34,7 +34,7 @@ class A { ================================================================================ `; -exports[`no-semi.js 2`] = ` +exports[`no-semi.js format 2`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/no-semi-typescript/__snapshots__/jsfmt.spec.js.snap b/tests/no-semi-typescript/__snapshots__/jsfmt.spec.js.snap index e808bfc7ce..41ed1f1c80 100644 --- a/tests/no-semi-typescript/__snapshots__/jsfmt.spec.js.snap +++ b/tests/no-semi-typescript/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`no-semi.ts 1`] = ` +exports[`no-semi.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -32,7 +32,7 @@ class A { ================================================================================ `; -exports[`no-semi.ts 2`] = ` +exports[`no-semi.ts format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -65,7 +65,7 @@ class A { ================================================================================ `; -exports[`non-null.ts 1`] = ` +exports[`non-null.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -83,7 +83,7 @@ const el = ReactDOM.findDOMNode(ref); ================================================================================ `; -exports[`non-null.ts 2`] = ` +exports[`non-null.ts format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/no-semi/__snapshots__/jsfmt.spec.js.snap b/tests/no-semi/__snapshots__/jsfmt.spec.js.snap index 23efaf4422..9c1a376948 100644 --- a/tests/no-semi/__snapshots__/jsfmt.spec.js.snap +++ b/tests/no-semi/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -34,7 +34,7 @@ x; ================================================================================ `; -exports[`comments.js 2`] = ` +exports[`comments.js format 2`] = ` ====================================options===================================== parsers: ["babel", "flow"] printWidth: 80 @@ -69,7 +69,7 @@ x ================================================================================ `; -exports[`flow-interfaces.js 1`] = ` +exports[`flow-interfaces.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -154,7 +154,7 @@ interface E { ================================================================================ `; -exports[`flow-interfaces.js 2`] = ` +exports[`flow-interfaces.js format 2`] = ` ====================================options===================================== parsers: ["babel", "flow"] printWidth: 80 @@ -240,7 +240,7 @@ interface E { ================================================================================ `; -exports[`issue2006.js 1`] = ` +exports[`issue2006.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -268,7 +268,7 @@ var c = a.e; ================================================================================ `; -exports[`issue2006.js 2`] = ` +exports[`issue2006.js format 2`] = ` ====================================options===================================== parsers: ["babel", "flow"] printWidth: 80 @@ -297,7 +297,7 @@ var c = a.e ================================================================================ `; -exports[`no-semi.js 1`] = ` +exports[`no-semi.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -647,7 +647,7 @@ aReallyLongLine012345678901234567890123456789012345678901234567890123456789 * ================================================================================ `; -exports[`no-semi.js 2`] = ` +exports[`no-semi.js format 2`] = ` ====================================options===================================== parsers: ["babel", "flow"] printWidth: 80 diff --git a/tests/non-strict/__snapshots__/jsfmt.spec.js.snap b/tests/non-strict/__snapshots__/jsfmt.spec.js.snap index 08ef177f44..d0bacef711 100644 --- a/tests/non-strict/__snapshots__/jsfmt.spec.js.snap +++ b/tests/non-strict/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`argument-name-clash.js 1`] = ` +exports[`argument-name-clash.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript"] printWidth: 80 @@ -16,7 +16,7 @@ function f(a, a) { ================================================================================ `; -exports[`keywords.js 1`] = ` +exports[`keywords.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript"] printWidth: 80 @@ -44,7 +44,7 @@ function myFunction() { ================================================================================ `; -exports[`octal-number.js 1`] = ` +exports[`octal-number.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript"] printWidth: 80 diff --git a/tests/nullish_coalescing/__snapshots__/jsfmt.spec.js.snap b/tests/nullish_coalescing/__snapshots__/jsfmt.spec.js.snap index ca19159290..1e1bdff6a5 100644 --- a/tests/nullish_coalescing/__snapshots__/jsfmt.spec.js.snap +++ b/tests/nullish_coalescing/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`nullish_coalesing_operator.js 1`] = ` +exports[`nullish_coalesing_operator.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 diff --git a/tests/object-prop-break-in/__snapshots__/jsfmt.spec.js.snap b/tests/object-prop-break-in/__snapshots__/jsfmt.spec.js.snap index 565980034f..6882bfc130 100644 --- a/tests/object-prop-break-in/__snapshots__/jsfmt.spec.js.snap +++ b/tests/object-prop-break-in/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comment.js 1`] = ` +exports[`comment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -24,7 +24,7 @@ function foo() { ================================================================================ `; -exports[`long-value.js 1`] = ` +exports[`long-value.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -43,7 +43,7 @@ const x = { ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/object_colon_bug/__snapshots__/jsfmt.spec.js.snap b/tests/object_colon_bug/__snapshots__/jsfmt.spec.js.snap index ea0d48dd9c..a65f84de50 100644 --- a/tests/object_colon_bug/__snapshots__/jsfmt.spec.js.snap +++ b/tests/object_colon_bug/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`bug.js 1`] = ` +exports[`bug.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 35 diff --git a/tests/object_property_comment/__snapshots__/jsfmt.spec.js.snap b/tests/object_property_comment/__snapshots__/jsfmt.spec.js.snap index 06ae07769b..e8688ec02b 100644 --- a/tests/object_property_comment/__snapshots__/jsfmt.spec.js.snap +++ b/tests/object_property_comment/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`after-key.js 1`] = ` +exports[`after-key.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -26,7 +26,7 @@ let b = { ================================================================================ `; -exports[`comment.js 1`] = ` +exports[`comment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/objects/__snapshots__/jsfmt.spec.js.snap b/tests/objects/__snapshots__/jsfmt.spec.js.snap index 680f7eb6c5..0cf03d454d 100644 --- a/tests/objects/__snapshots__/jsfmt.spec.js.snap +++ b/tests/objects/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`expand.js 1`] = ` +exports[`expand.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -24,7 +24,7 @@ const Component2 = ({ props }) => Test; ================================================================================ `; -exports[`expression.js 1`] = ` +exports[`expression.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -85,7 +85,7 @@ const a3 = { ================================================================================ `; -exports[`method.js 1`] = ` +exports[`method.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -99,7 +99,7 @@ a = { f() {} }; ================================================================================ `; -exports[`range.js 1`] = ` +exports[`range.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -137,7 +137,7 @@ group( ================================================================================ `; -exports[`right_break.js 1`] = ` +exports[`right_break.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/optional-type-name/__snapshots__/jsfmt.spec.js.snap b/tests/optional-type-name/__snapshots__/jsfmt.spec.js.snap index af4877b655..1d08f3759b 100644 --- a/tests/optional-type-name/__snapshots__/jsfmt.spec.js.snap +++ b/tests/optional-type-name/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/optional_catch_binding/__snapshots__/jsfmt.spec.js.snap b/tests/optional_catch_binding/__snapshots__/jsfmt.spec.js.snap index 3bd79e2ebd..8daf15d641 100644 --- a/tests/optional_catch_binding/__snapshots__/jsfmt.spec.js.snap +++ b/tests/optional_catch_binding/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`optional_catch_binding.js 1`] = ` +exports[`optional_catch_binding.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/optional_chaining/__snapshots__/jsfmt.spec.js.snap b/tests/optional_chaining/__snapshots__/jsfmt.spec.js.snap index 3a1824c9b5..564c4e5d16 100644 --- a/tests/optional_chaining/__snapshots__/jsfmt.spec.js.snap +++ b/tests/optional_chaining/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`chaining.js 1`] = ` +exports[`chaining.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -182,7 +182,7 @@ new (foo?.())(); ================================================================================ `; -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 diff --git a/tests/parser-inference/__snapshots__/jsfmt.spec.js.snap b/tests/parser-inference/__snapshots__/jsfmt.spec.js.snap index bcd26c6712..8c53fb57e2 100644 --- a/tests/parser-inference/__snapshots__/jsfmt.spec.js.snap +++ b/tests/parser-inference/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.html 1`] = ` +exports[`test.html format 1`] = ` ====================================options===================================== parsers: [] printWidth: 80 @@ -18,7 +18,7 @@ printWidth: 80 ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: [] printWidth: 80 @@ -33,7 +33,7 @@ foo("bar"); ================================================================================ `; -exports[`test.json 1`] = ` +exports[`test.json format 1`] = ` ====================================options===================================== parsers: [] printWidth: 80 @@ -48,7 +48,7 @@ printWidth: 80 ================================================================================ `; -exports[`test.ts 1`] = ` +exports[`test.ts format 1`] = ` ====================================options===================================== parsers: [] printWidth: 80 @@ -63,7 +63,7 @@ type foo = "bar"; ================================================================================ `; -exports[`test.yml 1`] = ` +exports[`test.yml format 1`] = ` ====================================options===================================== parsers: [] printWidth: 80 diff --git a/tests/partial_application/__snapshots__/jsfmt.spec.js.snap b/tests/partial_application/__snapshots__/jsfmt.spec.js.snap index c59cf1d2f5..35628806db 100644 --- a/tests/partial_application/__snapshots__/jsfmt.spec.js.snap +++ b/tests/partial_application/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/performance/__snapshots__/jsfmt.spec.js.snap b/tests/performance/__snapshots__/jsfmt.spec.js.snap index 1edc6e2e54..d20af82054 100644 --- a/tests/performance/__snapshots__/jsfmt.spec.js.snap +++ b/tests/performance/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`nested.js 1`] = ` +exports[`nested.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -70,7 +70,7 @@ someObject.someFunction().then(function () { ================================================================================ `; -exports[`nested-real.js 1`] = ` +exports[`nested-real.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/pipeline_operator/__snapshots__/jsfmt.spec.js.snap b/tests/pipeline_operator/__snapshots__/jsfmt.spec.js.snap index 9bebf89563..1b62951fd0 100644 --- a/tests/pipeline_operator/__snapshots__/jsfmt.spec.js.snap +++ b/tests/pipeline_operator/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`fsharp_style_pipeline_operator.js 1`] = ` +exports[`fsharp_style_pipeline_operator.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -95,7 +95,7 @@ const f = x |> (f) => f |> f; ================================================================================ `; -exports[`minimal_pipeline_operator.js 1`] = ` +exports[`minimal_pipeline_operator.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -206,7 +206,7 @@ const result2 = [4, 9].map((x) => x |> inc |> double); ================================================================================ `; -exports[`smart_pipeline_operator.js 1`] = ` +exports[`smart_pipeline_operator.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/preserve_line/__snapshots__/jsfmt.spec.js.snap b/tests/preserve_line/__snapshots__/jsfmt.spec.js.snap index 12b8a4dedb..74f56042c7 100644 --- a/tests/preserve_line/__snapshots__/jsfmt.spec.js.snap +++ b/tests/preserve_line/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`argument-list.js 1`] = ` +exports[`argument-list.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -395,7 +395,7 @@ function foo( ================================================================================ `; -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -463,7 +463,7 @@ function a() { ================================================================================ `; -exports[`member-chain.js 1`] = ` +exports[`member-chain.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -593,7 +593,7 @@ const sel = this.connections ================================================================================ `; -exports[`parameter-list.js 1`] = ` +exports[`parameter-list.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/quote_props/__snapshots__/jsfmt.spec.js.snap b/tests/quote_props/__snapshots__/jsfmt.spec.js.snap index 6a193acbd0..c4ff87afef 100644 --- a/tests/quote_props/__snapshots__/jsfmt.spec.js.snap +++ b/tests/quote_props/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`classes.js 1`] = ` +exports[`classes.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -47,7 +47,7 @@ class D { ================================================================================ `; -exports[`classes.js 2`] = ` +exports[`classes.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -94,7 +94,7 @@ class D { ================================================================================ `; -exports[`classes.js 3`] = ` +exports[`classes.js format 3`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -141,7 +141,7 @@ class D { ================================================================================ `; -exports[`classes.js 4`] = ` +exports[`classes.js format 4`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -189,7 +189,7 @@ class D { ================================================================================ `; -exports[`objects.js 1`] = ` +exports[`objects.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -236,7 +236,7 @@ const d = { ================================================================================ `; -exports[`objects.js 2`] = ` +exports[`objects.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -283,7 +283,7 @@ const d = { ================================================================================ `; -exports[`objects.js 3`] = ` +exports[`objects.js format 3`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -330,7 +330,7 @@ const d = { ================================================================================ `; -exports[`objects.js 4`] = ` +exports[`objects.js format 4`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -378,7 +378,7 @@ const d = { ================================================================================ `; -exports[`with_member_expressions.js 1`] = ` +exports[`with_member_expressions.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -409,7 +409,7 @@ class Foo { ================================================================================ `; -exports[`with_member_expressions.js 2`] = ` +exports[`with_member_expressions.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -440,7 +440,7 @@ class Foo { ================================================================================ `; -exports[`with_member_expressions.js 3`] = ` +exports[`with_member_expressions.js format 3`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -471,7 +471,7 @@ class Foo { ================================================================================ `; -exports[`with_member_expressions.js 4`] = ` +exports[`with_member_expressions.js format 4`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -503,7 +503,7 @@ class Foo { ================================================================================ `; -exports[`with_numbers.js 1`] = ` +exports[`with_numbers.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -544,7 +544,7 @@ obj = { ================================================================================ `; -exports[`with_numbers.js 2`] = ` +exports[`with_numbers.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -585,7 +585,7 @@ obj = { ================================================================================ `; -exports[`with_numbers.js 3`] = ` +exports[`with_numbers.js format 3`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -626,7 +626,7 @@ obj = { ================================================================================ `; -exports[`with_numbers.js 4`] = ` +exports[`with_numbers.js format 4`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/quote_props_typescript/__snapshots__/jsfmt.spec.js.snap b/tests/quote_props_typescript/__snapshots__/jsfmt.spec.js.snap index 0e573f7094..0db629a5a0 100644 --- a/tests/quote_props_typescript/__snapshots__/jsfmt.spec.js.snap +++ b/tests/quote_props_typescript/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`types.ts 1`] = ` +exports[`types.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -31,7 +31,7 @@ type U = { ================================================================================ `; -exports[`types.ts 2`] = ` +exports[`types.ts format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -62,7 +62,7 @@ type U = { ================================================================================ `; -exports[`types.ts 3`] = ` +exports[`types.ts format 3`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/quotes/__snapshots__/jsfmt.spec.js.snap b/tests/quotes/__snapshots__/jsfmt.spec.js.snap index eb5273b473..438a5bef59 100644 --- a/tests/quotes/__snapshots__/jsfmt.spec.js.snap +++ b/tests/quotes/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`functions.js 1`] = ` +exports[`functions.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -22,7 +22,7 @@ function b(object, key) { ================================================================================ `; -exports[`functions.js 2`] = ` +exports[`functions.js format 2`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -45,7 +45,7 @@ function b(object, key) { ================================================================================ `; -exports[`objects.js 1`] = ` +exports[`objects.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -67,7 +67,7 @@ const obj = { ================================================================================ `; -exports[`objects.js 2`] = ` +exports[`objects.js format 2`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -90,7 +90,7 @@ const obj = { ================================================================================ `; -exports[`strings.js 1`] = ` +exports[`strings.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -302,7 +302,7 @@ printWidth: 80 ================================================================================ `; -exports[`strings.js 2`] = ` +exports[`strings.js format 2`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/range/__snapshots__/jsfmt.spec.js.snap b/tests/range/__snapshots__/jsfmt.spec.js.snap index 1e0db0ea99..b8a9c4fd8a 100644 --- a/tests/range/__snapshots__/jsfmt.spec.js.snap +++ b/tests/range/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`class-declaration.js 1`] = ` +exports[`class-declaration.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -24,7 +24,7 @@ let x ================================================================================ `; -exports[`different-levels.js 1`] = ` +exports[`different-levels.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -46,7 +46,7 @@ function f() { ================================================================================ `; -exports[`function-declaration.js 1`] = ` +exports[`function-declaration.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -60,7 +60,7 @@ function ugly({ a = 1, b = 2 }) {} ================================================================================ `; -exports[`ignore-indentation.js 1`] = ` +exports[`ignore-indentation.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -88,7 +88,7 @@ function ugly ( {a=1, b = 2 } ) { ================================================================================ `; -exports[`large-dict.js 1`] = ` +exports[`large-dict.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -116,7 +116,7 @@ function ugly() { ================================================================================ `; -exports[`module-export1.js 1`] = ` +exports[`module-export1.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -146,7 +146,7 @@ export default 42 ================================================================================ `; -exports[`module-export2.js 1`] = ` +exports[`module-export2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -175,7 +175,7 @@ export default 42 ================================================================================ `; -exports[`module-export3.js 1`] = ` +exports[`module-export3.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -205,7 +205,7 @@ export default 42; ================================================================================ `; -exports[`module-import.js 1`] = ` +exports[`module-import.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -235,7 +235,7 @@ export default 42 ================================================================================ `; -exports[`multiple-statements.js 1`] = ` +exports[`multiple-statements.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -273,7 +273,7 @@ call( ================================================================================ `; -exports[`multiple-statements2.js 1`] = ` +exports[`multiple-statements2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -311,7 +311,7 @@ call( ================================================================================ `; -exports[`nested.js 1`] = ` +exports[`nested.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -334,7 +334,7 @@ try { ================================================================================ `; -exports[`nested-print-width.js 1`] = ` +exports[`nested-print-width.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -356,7 +356,7 @@ function f() { ================================================================================ `; -exports[`nested2.js 1`] = ` +exports[`nested2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -380,7 +380,7 @@ catch (err) {} ================================================================================ `; -exports[`nested3.js 1`] = ` +exports[`nested3.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -404,7 +404,7 @@ catch (err) {} ================================================================================ `; -exports[`object-expression.js 1`] = ` +exports[`object-expression.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -418,7 +418,7 @@ const y = { a: 1, b: 2 }; ================================================================================ `; -exports[`object-expression2.js 1`] = ` +exports[`object-expression2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -450,7 +450,7 @@ const y = [ ================================================================================ `; -exports[`range.js 1`] = ` +exports[`range.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -478,7 +478,7 @@ function ugly ( {a=1, b = 2 } ) { ================================================================================ `; -exports[`range-end.js 1`] = ` +exports[`range-end.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -504,7 +504,7 @@ call(1, 2, 3); ================================================================================ `; -exports[`range-start.js 1`] = ` +exports[`range-start.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -532,7 +532,7 @@ call( ================================================================================ `; -exports[`try-catch.js 1`] = ` +exports[`try-catch.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -548,7 +548,7 @@ try { ================================================================================ `; -exports[`whitespace.js 1`] = ` +exports[`whitespace.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/range_css/__snapshots__/jsfmt.spec.js.snap b/tests/range_css/__snapshots__/jsfmt.spec.js.snap index f5623ad4d1..5664f7a6f5 100644 --- a/tests/range_css/__snapshots__/jsfmt.spec.js.snap +++ b/tests/range_css/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`issue2267.css 1`] = ` +exports[`issue2267.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/range_graphql/__snapshots__/jsfmt.spec.js.snap b/tests/range_graphql/__snapshots__/jsfmt.spec.js.snap index 6158a273a0..80a96c23f9 100644 --- a/tests/range_graphql/__snapshots__/jsfmt.spec.js.snap +++ b/tests/range_graphql/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`issue2296.graphql 1`] = ` +exports[`issue2296.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/range_json/__snapshots__/jsfmt.spec.js.snap b/tests/range_json/__snapshots__/jsfmt.spec.js.snap index 2a5d084922..712684eb95 100644 --- a/tests/range_json/__snapshots__/jsfmt.spec.js.snap +++ b/tests/range_json/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`identifier.json 1`] = ` +exports[`identifier.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 @@ -14,7 +14,7 @@ printWidth: 80 ================================================================================ `; -exports[`issue2297.json 1`] = ` +exports[`issue2297.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 diff --git a/tests/range_vue/__snapshots__/jsfmt.spec.js.snap b/tests/range_vue/__snapshots__/jsfmt.spec.js.snap index 1796fe22e4..5917715a7c 100644 --- a/tests/range_vue/__snapshots__/jsfmt.spec.js.snap +++ b/tests/range_vue/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`example.vue 1`] = ` +exports[`example.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 diff --git a/tests/regex/__snapshots__/jsfmt.spec.js.snap b/tests/regex/__snapshots__/jsfmt.spec.js.snap index 50add33078..d6d2c2336d 100644 --- a/tests/regex/__snapshots__/jsfmt.spec.js.snap +++ b/tests/regex/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/require-amd/__snapshots__/jsfmt.spec.js.snap b/tests/require-amd/__snapshots__/jsfmt.spec.js.snap index 0f254222d0..51b2d4aad3 100644 --- a/tests/require-amd/__snapshots__/jsfmt.spec.js.snap +++ b/tests/require-amd/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`require.js 1`] = ` +exports[`require.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript", "babel"] printWidth: 80 diff --git a/tests/require-pragma/css/__snapshots__/jsfmt.spec.js.snap b/tests/require-pragma/css/__snapshots__/jsfmt.spec.js.snap index 5d2320d072..c3cfba441e 100644 --- a/tests/require-pragma/css/__snapshots__/jsfmt.spec.js.snap +++ b/tests/require-pragma/css/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`empty-front-matter-with-pragma.css 1`] = ` +exports[`empty-front-matter-with-pragma.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -27,7 +27,7 @@ requirePragma: true ================================================================================ `; -exports[`empty-front-matter-without-pragma.css 1`] = ` +exports[`empty-front-matter-without-pragma.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -48,7 +48,7 @@ requirePragma: true ================================================================================ `; -exports[`front-matter-with-pragma.css 1`] = ` +exports[`front-matter-with-pragma.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -77,7 +77,7 @@ something ================================================================================ `; -exports[`front-matter-without-pragma.css 1`] = ` +exports[`front-matter-without-pragma.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -100,7 +100,7 @@ something ================================================================================ `; -exports[`with-pragma.css 1`] = ` +exports[`with-pragma.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -121,7 +121,7 @@ requirePragma: true ================================================================================ `; -exports[`with-pragma-in-multiline.css 1`] = ` +exports[`with-pragma-in-multiline.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 @@ -154,7 +154,7 @@ requirePragma: true ================================================================================ `; -exports[`without-pragma.css 1`] = ` +exports[`without-pragma.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/require-pragma/graphql/__snapshots__/jsfmt.spec.js.snap b/tests/require-pragma/graphql/__snapshots__/jsfmt.spec.js.snap index b4c51dc281..a84eedfff7 100644 --- a/tests/require-pragma/graphql/__snapshots__/jsfmt.spec.js.snap +++ b/tests/require-pragma/graphql/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`with-pragma.graphql 1`] = ` +exports[`with-pragma.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -21,7 +21,7 @@ query Browse($offset: Int) { ================================================================================ `; -exports[`without-pragma.graphql 1`] = ` +exports[`without-pragma.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/require-pragma/html/__snapshots__/jsfmt.spec.js.snap b/tests/require-pragma/html/__snapshots__/jsfmt.spec.js.snap index 9816a0abcc..84e5c8e7e0 100644 --- a/tests/require-pragma/html/__snapshots__/jsfmt.spec.js.snap +++ b/tests/require-pragma/html/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`with-pragma.html 1`] = ` +exports[`with-pragma.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -20,7 +20,7 @@ requirePragma: true ================================================================================ `; -exports[`without-pragma.html 1`] = ` +exports[`without-pragma.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/require-pragma/js/__snapshots__/jsfmt.spec.js.snap b/tests/require-pragma/js/__snapshots__/jsfmt.spec.js.snap index 74f4f56ff2..ca2ca4b5ec 100644 --- a/tests/require-pragma/js/__snapshots__/jsfmt.spec.js.snap +++ b/tests/require-pragma/js/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`module-with-pragma.js 1`] = ` +exports[`module-with-pragma.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -35,7 +35,7 @@ function foo(bar) { ================================================================================ `; -exports[`module-without-pragma.js 1`] = ` +exports[`module-without-pragma.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -74,7 +74,7 @@ function foo(bar) ================================================================================ `; -exports[`range-with-pragma.js 1`] = ` +exports[`range-with-pragma.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -95,7 +95,7 @@ var test = true; ================================================================================ `; -exports[`range-without-pragma.js 1`] = ` +exports[`range-without-pragma.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/require-pragma/json/__snapshots__/jsfmt.spec.js.snap b/tests/require-pragma/json/__snapshots__/jsfmt.spec.js.snap index 0065c134cd..adb8e0264c 100644 --- a/tests/require-pragma/json/__snapshots__/jsfmt.spec.js.snap +++ b/tests/require-pragma/json/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`format-anyway.json 1`] = ` +exports[`format-anyway.json format 1`] = ` ====================================options===================================== parsers: ["json"] printWidth: 80 diff --git a/tests/require-pragma/json5/__snapshots__/jsfmt.spec.js.snap b/tests/require-pragma/json5/__snapshots__/jsfmt.spec.js.snap index 663a3237f6..e37d50ee58 100644 --- a/tests/require-pragma/json5/__snapshots__/jsfmt.spec.js.snap +++ b/tests/require-pragma/json5/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`with-pragma.json5 1`] = ` +exports[`with-pragma.json5 format 1`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 @@ -19,7 +19,7 @@ requirePragma: true ================================================================================ `; -exports[`without-pragma.json5 1`] = ` +exports[`without-pragma.json5 format 1`] = ` ====================================options===================================== parsers: ["json5"] printWidth: 80 diff --git a/tests/require-pragma/markdown/__snapshots__/jsfmt.spec.js.snap b/tests/require-pragma/markdown/__snapshots__/jsfmt.spec.js.snap index 0b16fd0874..3990fabdeb 100644 --- a/tests/require-pragma/markdown/__snapshots__/jsfmt.spec.js.snap +++ b/tests/require-pragma/markdown/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`empty-front-matter-with-pragma.md 1`] = ` +exports[`empty-front-matter-with-pragma.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -25,7 +25,7 @@ I should be formatted !! ================================================================================ `; -exports[`empty-front-matter-without-pragma.md 1`] = ` +exports[`empty-front-matter-without-pragma.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -46,7 +46,7 @@ I should stay as-is !! ================================================================================ `; -exports[`front-matter-with-pragma.md 1`] = ` +exports[`front-matter-with-pragma.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -73,7 +73,7 @@ I should be formatted !! ================================================================================ `; -exports[`front-matter-without-pragma.md 1`] = ` +exports[`front-matter-without-pragma.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -96,7 +96,7 @@ I should stay as-is !! ================================================================================ `; -exports[`with-pragma.md 1`] = ` +exports[`with-pragma.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -115,7 +115,7 @@ I should be formatted !! ================================================================================ `; -exports[`with-pragma-in-multiline.md 1`] = ` +exports[`with-pragma-in-multiline.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 @@ -146,7 +146,7 @@ I should be formatted !! ================================================================================ `; -exports[`without-pragma.md 1`] = ` +exports[`without-pragma.md format 1`] = ` ====================================options===================================== parsers: ["markdown"] printWidth: 80 diff --git a/tests/require-pragma/vue/__snapshots__/jsfmt.spec.js.snap b/tests/require-pragma/vue/__snapshots__/jsfmt.spec.js.snap index 50a8f0f7b6..8593ab70a2 100644 --- a/tests/require-pragma/vue/__snapshots__/jsfmt.spec.js.snap +++ b/tests/require-pragma/vue/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`with-pragma.vue 1`] = ` +exports[`with-pragma.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 @@ -29,7 +29,7 @@ const x = 1; ================================================================================ `; -exports[`without-pragma.vue 1`] = ` +exports[`without-pragma.vue format 1`] = ` ====================================options===================================== parsers: ["vue"] printWidth: 80 diff --git a/tests/require/__snapshots__/jsfmt.spec.js.snap b/tests/require/__snapshots__/jsfmt.spec.js.snap index f329db2f8c..fa3bef6815 100644 --- a/tests/require/__snapshots__/jsfmt.spec.js.snap +++ b/tests/require/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`require.js 1`] = ` +exports[`require.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/rest/__snapshots__/jsfmt.spec.js.snap b/tests/rest/__snapshots__/jsfmt.spec.js.snap index 51e15c8830..1f60be7ce8 100644 --- a/tests/rest/__snapshots__/jsfmt.spec.js.snap +++ b/tests/rest/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`trailing-commas.js 1`] = ` +exports[`trailing-commas.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/return-outside-function/__snapshots__/jsfmt.spec.js.snap b/tests/return-outside-function/__snapshots__/jsfmt.spec.js.snap index e14f196c1b..bfe4639818 100644 --- a/tests/return-outside-function/__snapshots__/jsfmt.spec.js.snap +++ b/tests/return-outside-function/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`return-outside-function.js 1`] = ` +exports[`return-outside-function.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript"] printWidth: 80 diff --git a/tests/return/__snapshots__/jsfmt.spec.js.snap b/tests/return/__snapshots__/jsfmt.spec.js.snap index a1ca410751..95316004be 100644 --- a/tests/return/__snapshots__/jsfmt.spec.js.snap +++ b/tests/return/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`binaryish.js 1`] = ` +exports[`binaryish.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -58,7 +58,7 @@ function f() { ================================================================================ `; -exports[`comment.js 1`] = ` +exports[`comment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/sequence_break/__snapshots__/jsfmt.spec.js.snap b/tests/sequence_break/__snapshots__/jsfmt.spec.js.snap index 11c89c9250..43228a62b4 100644 --- a/tests/sequence_break/__snapshots__/jsfmt.spec.js.snap +++ b/tests/sequence_break/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`break.js 1`] = ` +exports[`break.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/sequence_parentheses/__snapshots__/jsfmt.spec.js.snap b/tests/sequence_parentheses/__snapshots__/jsfmt.spec.js.snap index 23b184c9e7..f0c5f2f2d9 100644 --- a/tests/sequence_parentheses/__snapshots__/jsfmt.spec.js.snap +++ b/tests/sequence_parentheses/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`export-default.js 1`] = ` +exports[`export-default.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "flow", "typescript"] printWidth: 80 diff --git a/tests/shebang/__snapshots__/jsfmt.spec.js.snap b/tests/shebang/__snapshots__/jsfmt.spec.js.snap index 62ccab29a2..ed751fd1ef 100644 --- a/tests/shebang/__snapshots__/jsfmt.spec.js.snap +++ b/tests/shebang/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`shebang.js 1`] = ` +exports[`shebang.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript", "babel"] printWidth: 80 @@ -16,7 +16,7 @@ function a() {} ================================================================================ `; -exports[`shebang-newline.js 1`] = ` +exports[`shebang-newline.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript", "babel"] printWidth: 80 diff --git a/tests/spread/__snapshots__/jsfmt.spec.js.snap b/tests/spread/__snapshots__/jsfmt.spec.js.snap index e0907d2062..4d765e0775 100644 --- a/tests/spread/__snapshots__/jsfmt.spec.js.snap +++ b/tests/spread/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`spread.js 1`] = ` +exports[`spread.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/strings/__snapshots__/jsfmt.spec.js.snap b/tests/strings/__snapshots__/jsfmt.spec.js.snap index 06acf6aa4d..556e2a30ac 100644 --- a/tests/strings/__snapshots__/jsfmt.spec.js.snap +++ b/tests/strings/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`strings.js 1`] = ` +exports[`strings.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -62,7 +62,7 @@ printWidth: 80 ================================================================================ `; -exports[`strings.js 2`] = ` +exports[`strings.js format 2`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -125,7 +125,7 @@ trailingComma: "all" ================================================================================ `; -exports[`template-literals.js 1`] = ` +exports[`template-literals.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -308,7 +308,7 @@ const Bar = styled.div\` ================================================================================ `; -exports[`template-literals.js 2`] = ` +exports[`template-literals.js format 2`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/stylefmt/at-apply/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/at-apply/__snapshots__/jsfmt.spec.js.snap index 84246d897d..2b7fa08db4 100644 --- a/tests/stylefmt/at-apply/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/at-apply/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`at-apply.css 1`] = ` +exports[`at-apply.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/at-media/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/at-media/__snapshots__/jsfmt.spec.js.snap index 6a1f84b7e0..f4268eec1d 100644 --- a/tests/stylefmt/at-media/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/at-media/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`at-media.css 1`] = ` +exports[`at-media.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/attr-selector/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/attr-selector/__snapshots__/jsfmt.spec.js.snap index cf71f01211..0ee75ff9a6 100644 --- a/tests/stylefmt/attr-selector/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/attr-selector/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`attr-selector.css 1`] = ` +exports[`attr-selector.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/charset-2/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/charset-2/__snapshots__/jsfmt.spec.js.snap index 9e6e2c64f1..aca72ee4b3 100644 --- a/tests/stylefmt/charset-2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/charset-2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`charset-2.css 1`] = ` +exports[`charset-2.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/charset/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/charset/__snapshots__/jsfmt.spec.js.snap index 7970b1a1a7..4a70a25538 100644 --- a/tests/stylefmt/charset/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/charset/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`charset.css 1`] = ` +exports[`charset.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/color-hex-lowercase/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/color-hex-lowercase/__snapshots__/jsfmt.spec.js.snap index a0fd30b304..cf5bfcdd70 100644 --- a/tests/stylefmt/color-hex-lowercase/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/color-hex-lowercase/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`color-hex-lowercase.css 1`] = ` +exports[`color-hex-lowercase.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/comment-in-rules/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/comment-in-rules/__snapshots__/jsfmt.spec.js.snap index 35695ad1c5..2d2c7a5d6a 100644 --- a/tests/stylefmt/comment-in-rules/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/comment-in-rules/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comment-in-rules.css 1`] = ` +exports[`comment-in-rules.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/comment/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/comment/__snapshots__/jsfmt.spec.js.snap index 152aee4a39..264259f479 100644 --- a/tests/stylefmt/comment/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/comment/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comment.css 1`] = ` +exports[`comment.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/content/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/content/__snapshots__/jsfmt.spec.js.snap index 12bb295576..4cdb0a20d3 100644 --- a/tests/stylefmt/content/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/content/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`content.css 1`] = ` +exports[`content.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/cssnext-example/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/cssnext-example/__snapshots__/jsfmt.spec.js.snap index bc866b9ce4..9cfb020051 100644 --- a/tests/stylefmt/cssnext-example/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/cssnext-example/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`cssnext-example.css 1`] = ` +exports[`cssnext-example.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/custom-media-queries/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/custom-media-queries/__snapshots__/jsfmt.spec.js.snap index 4a20f5557c..ef9d1c3267 100644 --- a/tests/stylefmt/custom-media-queries/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/custom-media-queries/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`custom-media-queries.css 1`] = ` +exports[`custom-media-queries.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/custom-properties/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/custom-properties/__snapshots__/jsfmt.spec.js.snap index 390ed462ee..b9963b7c58 100644 --- a/tests/stylefmt/custom-properties/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/custom-properties/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`custom-properties.css 1`] = ` +exports[`custom-properties.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/custom-selectors/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/custom-selectors/__snapshots__/jsfmt.spec.js.snap index a42f438a63..3ca48e3c5a 100644 --- a/tests/stylefmt/custom-selectors/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/custom-selectors/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`custom-selectors.css 1`] = ` +exports[`custom-selectors.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/data-url/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/data-url/__snapshots__/jsfmt.spec.js.snap index 444f1b8501..6d13d863e4 100644 --- a/tests/stylefmt/data-url/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/data-url/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`data-url.css 1`] = ` +exports[`data-url.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/font-face/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/font-face/__snapshots__/jsfmt.spec.js.snap index a0839f0da7..e55743ae2d 100644 --- a/tests/stylefmt/font-face/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/font-face/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`font-face.css 1`] = ` +exports[`font-face.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/font-shorthand/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/font-shorthand/__snapshots__/jsfmt.spec.js.snap index a31e2b09b8..ddda6c0b04 100644 --- a/tests/stylefmt/font-shorthand/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/font-shorthand/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`font-shorthand.css 1`] = ` +exports[`font-shorthand.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/ie-hacks/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/ie-hacks/__snapshots__/jsfmt.spec.js.snap index d8d14924bb..57b4a0b6e7 100644 --- a/tests/stylefmt/ie-hacks/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/ie-hacks/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ie-hacks.css 1`] = ` +exports[`ie-hacks.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/import/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/import/__snapshots__/jsfmt.spec.js.snap index 33f3051c9a..5383bbf763 100644 --- a/tests/stylefmt/import/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/import/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`import.css 1`] = ` +exports[`import.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/important/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/important/__snapshots__/jsfmt.spec.js.snap index 19c206b206..90253dad7a 100644 --- a/tests/stylefmt/important/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/important/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`important.css 1`] = ` +exports[`important.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/inline-comment/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/inline-comment/__snapshots__/jsfmt.spec.js.snap index 683480fa2f..2d66ff1bdc 100644 --- a/tests/stylefmt/inline-comment/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/inline-comment/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`inline-comment.css 1`] = ` +exports[`inline-comment.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/lowercase/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/lowercase/__snapshots__/jsfmt.spec.js.snap index cc9080d1f9..fe84c1b86e 100644 --- a/tests/stylefmt/lowercase/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/lowercase/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`lowercase.css 1`] = ` +exports[`lowercase.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/media-indent-with-import/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/media-indent-with-import/__snapshots__/jsfmt.spec.js.snap index dddc618daf..1ce21575ab 100644 --- a/tests/stylefmt/media-indent-with-import/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/media-indent-with-import/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`media-indent-with-import.css 1`] = ` +exports[`media-indent-with-import.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/media-indent/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/media-indent/__snapshots__/jsfmt.spec.js.snap index b1bdcd1982..75160b31b6 100644 --- a/tests/stylefmt/media-indent/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/media-indent/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`media-indent.css 1`] = ` +exports[`media-indent.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/media-queries-ranges/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/media-queries-ranges/__snapshots__/jsfmt.spec.js.snap index b73a7a98b8..c496fcea1a 100644 --- a/tests/stylefmt/media-queries-ranges/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/media-queries-ranges/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`media-queries-ranges.css 1`] = ` +exports[`media-queries-ranges.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/nested-2/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/nested-2/__snapshots__/jsfmt.spec.js.snap index f8fb0c1869..a10315acdf 100644 --- a/tests/stylefmt/nested-2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/nested-2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`nested-2.css 1`] = ` +exports[`nested-2.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/nested-atrule/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/nested-atrule/__snapshots__/jsfmt.spec.js.snap index 9b4ed58ace..53a2c71ce8 100644 --- a/tests/stylefmt/nested-atrule/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/nested-atrule/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`nested-atrule.css 1`] = ` +exports[`nested-atrule.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/nested-indention-2/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/nested-indention-2/__snapshots__/jsfmt.spec.js.snap index c01826b0a0..e66cd77f04 100644 --- a/tests/stylefmt/nested-indention-2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/nested-indention-2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`nested-indention-2.css 1`] = ` +exports[`nested-indention-2.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/nested-indention/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/nested-indention/__snapshots__/jsfmt.spec.js.snap index 6001c734aa..ae3257df5d 100644 --- a/tests/stylefmt/nested-indention/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/nested-indention/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`nested-indention.css 1`] = ` +exports[`nested-indention.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/nested-mixin-2/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/nested-mixin-2/__snapshots__/jsfmt.spec.js.snap index fe70e54f13..653761bc8e 100644 --- a/tests/stylefmt/nested-mixin-2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/nested-mixin-2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`nested-mixin-2.css 1`] = ` +exports[`nested-mixin-2.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/nested-mixin/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/nested-mixin/__snapshots__/jsfmt.spec.js.snap index a1056f4894..65dee77d62 100644 --- a/tests/stylefmt/nested-mixin/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/nested-mixin/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`nested-mixin.css 1`] = ` +exports[`nested-mixin.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/nested/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/nested/__snapshots__/jsfmt.spec.js.snap index 234f5cb46b..316d439914 100644 --- a/tests/stylefmt/nested/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/nested/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`nested.css 1`] = ` +exports[`nested.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/non-nested-combinator/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/non-nested-combinator/__snapshots__/jsfmt.spec.js.snap index 97af724f1c..d311370c9b 100644 --- a/tests/stylefmt/non-nested-combinator/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/non-nested-combinator/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`non-nested-combinator.css 1`] = ` +exports[`non-nested-combinator.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/pseudo-element/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/pseudo-element/__snapshots__/jsfmt.spec.js.snap index 43cbf6f450..3495078ab9 100644 --- a/tests/stylefmt/pseudo-element/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/pseudo-element/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`pseudo-element.css 1`] = ` +exports[`pseudo-element.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/readme/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/readme/__snapshots__/jsfmt.spec.js.snap index b4a6ac521e..3f8ae9d156 100644 --- a/tests/stylefmt/readme/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/readme/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`readme.css 1`] = ` +exports[`readme.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/shorthand-with-sass-variables/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/shorthand-with-sass-variables/__snapshots__/jsfmt.spec.js.snap index 1512d7f96c..3986d08403 100644 --- a/tests/stylefmt/shorthand-with-sass-variables/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/shorthand-with-sass-variables/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`shorthand-with-sass-variables.css 1`] = ` +exports[`shorthand-with-sass-variables.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/values/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/values/__snapshots__/jsfmt.spec.js.snap index 4618d49b35..6970fb1ce6 100644 --- a/tests/stylefmt/values/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/values/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`values.css 1`] = ` +exports[`values.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/var-notation/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/var-notation/__snapshots__/jsfmt.spec.js.snap index 5b789f624a..82b9fe4f12 100644 --- a/tests/stylefmt/var-notation/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/var-notation/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`var-notation.css 1`] = ` +exports[`var-notation.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/stylefmt/vendor-prefix/__snapshots__/jsfmt.spec.js.snap b/tests/stylefmt/vendor-prefix/__snapshots__/jsfmt.spec.js.snap index 690a4b1cfc..1e997f5e48 100644 --- a/tests/stylefmt/vendor-prefix/__snapshots__/jsfmt.spec.js.snap +++ b/tests/stylefmt/vendor-prefix/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`vendor-prefix.css 1`] = ` +exports[`vendor-prefix.css format 1`] = ` ====================================options===================================== parsers: ["css"] printWidth: 80 diff --git a/tests/switch/__snapshots__/jsfmt.spec.js.snap b/tests/switch/__snapshots__/jsfmt.spec.js.snap index 276315579e..0550634b74 100644 --- a/tests/switch/__snapshots__/jsfmt.spec.js.snap +++ b/tests/switch/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -58,7 +58,7 @@ switch (x) { ================================================================================ `; -exports[`empty_lines.js 1`] = ` +exports[`empty_lines.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -208,7 +208,7 @@ switch (a) { ================================================================================ `; -exports[`empty_statement.js 1`] = ` +exports[`empty_statement.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -233,7 +233,7 @@ switch (error.code) { ================================================================================ `; -exports[`empty_switch.js 1`] = ` +exports[`empty_switch.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -252,7 +252,7 @@ switch (1) { ================================================================================ `; -exports[`switch.js 1`] = ` +exports[`switch.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/tabWith/__snapshots__/jsfmt.spec.js.snap b/tests/tabWith/__snapshots__/jsfmt.spec.js.snap index 0d0c17e04f..1fadb47342 100644 --- a/tests/tabWith/__snapshots__/jsfmt.spec.js.snap +++ b/tests/tabWith/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`class.js 1`] = ` +exports[`class.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -32,7 +32,7 @@ class A { ================================================================================ `; -exports[`class.js 2`] = ` +exports[`class.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -65,7 +65,7 @@ class A { ================================================================================ `; -exports[`nested-functions.spec.js 1`] = ` +exports[`nested-functions.spec.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -99,7 +99,7 @@ function a() { ================================================================================ `; -exports[`nested-functions.spec.js 2`] = ` +exports[`nested-functions.spec.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/template/__snapshots__/jsfmt.spec.js.snap b/tests/template/__snapshots__/jsfmt.spec.js.snap index 84f56b520b..b0f674ea09 100644 --- a/tests/template/__snapshots__/jsfmt.spec.js.snap +++ b/tests/template/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`arrow.js 1`] = ` +exports[`arrow.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -26,7 +26,7 @@ printWidth: 80 ================================================================================ `; -exports[`call.js 1`] = ` +exports[`call.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -62,7 +62,7 @@ new Error(formatErrorMessage\` ================================================================================ `; -exports[`comment.js 1`] = ` +exports[`comment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -101,7 +101,7 @@ g ================================================================================ `; -exports[`faulty-locations.js 1`] = ` +exports[`faulty-locations.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -141,7 +141,7 @@ var x = { ================================================================================ `; -exports[`graphql.js 1`] = ` +exports[`graphql.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -187,7 +187,7 @@ module.exports = Relay.createContainer( ================================================================================ `; -exports[`indent.js 1`] = ` +exports[`indent.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -240,7 +240,7 @@ line n + n ================================================================================ `; -exports[`inline.js 1`] = ` +exports[`inline.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -364,7 +364,7 @@ editTitle += \`\${iconHTML({ class: "reply-to-glyph" })}\`; ================================================================================ `; -exports[`parenthesis.js 1`] = ` +exports[`parenthesis.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/template_align/__snapshots__/jsfmt.spec.js.snap b/tests/template_align/__snapshots__/jsfmt.spec.js.snap index d29be6def6..f39569b784 100644 --- a/tests/template_align/__snapshots__/jsfmt.spec.js.snap +++ b/tests/template_align/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`indent.js 1`] = ` +exports[`indent.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -66,7 +66,7 @@ Tabs: ================================================================================ `; -exports[`indent.js 2`] = ` +exports[`indent.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/template_literals/__snapshots__/jsfmt.spec.js.snap b/tests/template_literals/__snapshots__/jsfmt.spec.js.snap index f68721981f..6b4d28f293 100644 --- a/tests/template_literals/__snapshots__/jsfmt.spec.js.snap +++ b/tests/template_literals/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`binary-exporessions.js 1`] = ` +exports[`binary-exporessions.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -22,7 +22,7 @@ printWidth: 80 ================================================================================ `; -exports[`conditional-expressions.js 1`] = ` +exports[`conditional-expressions.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -40,7 +40,7 @@ printWidth: 80 ================================================================================ `; -exports[`css-prop.js 1`] = ` +exports[`css-prop.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -111,7 +111,7 @@ const TestComponent = ({ children, ...props }) => ( ================================================================================ `; -exports[`expressions.js 1`] = ` +exports[`expressions.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -231,7 +231,7 @@ throw new Error( ================================================================================ `; -exports[`logical-expressions.js 1`] = ` +exports[`logical-expressions.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -258,7 +258,7 @@ printWidth: 80 ================================================================================ `; -exports[`sequence-expressions.js 1`] = ` +exports[`sequence-expressions.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -274,7 +274,7 @@ printWidth: 80 ================================================================================ `; -exports[`styled-components-with-expressions.js 1`] = ` +exports[`styled-components-with-expressions.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -375,7 +375,7 @@ const header = css\` ================================================================================ `; -exports[`styled-jsx.js 1`] = ` +exports[`styled-jsx.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 @@ -565,7 +565,7 @@ const headerGlobal = css.global\` ================================================================================ `; -exports[`styled-jsx-with-expressions.js 1`] = ` +exports[`styled-jsx-with-expressions.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 diff --git a/tests/ternaries/__snapshots__/jsfmt.spec.js.snap b/tests/ternaries/__snapshots__/jsfmt.spec.js.snap index 3b8b2d6e32..011e42fe1c 100644 --- a/tests/ternaries/__snapshots__/jsfmt.spec.js.snap +++ b/tests/ternaries/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`binary.js 1`] = ` +exports[`binary.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -41,7 +41,7 @@ room = room.map((row, rowIndex) => ================================================================================ `; -exports[`binary.js 2`] = ` +exports[`binary.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -83,7 +83,7 @@ room = room.map((row, rowIndex) => ================================================================================ `; -exports[`binary.js 3`] = ` +exports[`binary.js format 3`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -125,7 +125,7 @@ room = room.map((row, rowIndex) => ================================================================================ `; -exports[`binary.js 4`] = ` +exports[`binary.js format 4`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -168,7 +168,7 @@ room = room.map((row, rowIndex) => ================================================================================ `; -exports[`func-call.js 1`] = ` +exports[`func-call.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -196,7 +196,7 @@ fn( ================================================================================ `; -exports[`func-call.js 2`] = ` +exports[`func-call.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -225,7 +225,7 @@ fn( ================================================================================ `; -exports[`func-call.js 3`] = ` +exports[`func-call.js format 3`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -254,7 +254,7 @@ fn( ================================================================================ `; -exports[`func-call.js 4`] = ` +exports[`func-call.js format 4`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -284,7 +284,7 @@ fn( ================================================================================ `; -exports[`indent.js 1`] = ` +exports[`indent.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -613,7 +613,7 @@ a ================================================================================ `; -exports[`indent.js 2`] = ` +exports[`indent.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -943,7 +943,7 @@ a ================================================================================ `; -exports[`indent.js 3`] = ` +exports[`indent.js format 3`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -1273,7 +1273,7 @@ a ================================================================================ `; -exports[`indent.js 4`] = ` +exports[`indent.js format 4`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -1608,7 +1608,7 @@ a ================================================================================ `; -exports[`nested.js 1`] = ` +exports[`nested.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -1811,7 +1811,7 @@ a ================================================================================ `; -exports[`nested.js 2`] = ` +exports[`nested.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -2015,7 +2015,7 @@ a ================================================================================ `; -exports[`nested.js 3`] = ` +exports[`nested.js format 3`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -2219,7 +2219,7 @@ a ================================================================================ `; -exports[`nested.js 4`] = ` +exports[`nested.js format 4`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -2424,7 +2424,7 @@ a ================================================================================ `; -exports[`nested-in-condition.js 1`] = ` +exports[`nested-in-condition.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -2512,7 +2512,7 @@ const value = ( ================================================================================ `; -exports[`nested-in-condition.js 2`] = ` +exports[`nested-in-condition.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -2601,7 +2601,7 @@ const value = ( ================================================================================ `; -exports[`nested-in-condition.js 3`] = ` +exports[`nested-in-condition.js format 3`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -2690,7 +2690,7 @@ const value = ( ================================================================================ `; -exports[`nested-in-condition.js 4`] = ` +exports[`nested-in-condition.js format 4`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -2780,7 +2780,7 @@ const value = ( ================================================================================ `; -exports[`parenthesis.js 1`] = ` +exports[`parenthesis.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -2816,7 +2816,7 @@ debug ================================================================================ `; -exports[`parenthesis.js 2`] = ` +exports[`parenthesis.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -2853,7 +2853,7 @@ debug ================================================================================ `; -exports[`parenthesis.js 3`] = ` +exports[`parenthesis.js format 3`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -2890,7 +2890,7 @@ debug ================================================================================ `; -exports[`parenthesis.js 4`] = ` +exports[`parenthesis.js format 4`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -2928,7 +2928,7 @@ debug ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -2987,7 +2987,7 @@ const obj5 = conditionIsTruthy ================================================================================ `; -exports[`test.js 2`] = ` +exports[`test.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -3047,7 +3047,7 @@ const obj5 = conditionIsTruthy ================================================================================ `; -exports[`test.js 3`] = ` +exports[`test.js format 3`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -3107,7 +3107,7 @@ const obj5 = conditionIsTruthy ================================================================================ `; -exports[`test.js 4`] = ` +exports[`test.js format 4`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/test_declarations/__snapshots__/jsfmt.spec.js.snap b/tests/test_declarations/__snapshots__/jsfmt.spec.js.snap index 0898aeb52d..b6190ebba7 100644 --- a/tests/test_declarations/__snapshots__/jsfmt.spec.js.snap +++ b/tests/test_declarations/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`angular_async.js 1`] = ` +exports[`angular_async.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -74,7 +74,7 @@ function x() { ================================================================================ `; -exports[`angular_async.js 2`] = ` +exports[`angular_async.js format 2`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["flow", "typescript"] @@ -149,7 +149,7 @@ function x() { ================================================================================ `; -exports[`angular_fakeAsync.js 1`] = ` +exports[`angular_fakeAsync.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -212,7 +212,7 @@ function x() { ================================================================================ `; -exports[`angular_fakeAsync.js 2`] = ` +exports[`angular_fakeAsync.js format 2`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["flow", "typescript"] @@ -276,7 +276,7 @@ function x() { ================================================================================ `; -exports[`angularjs_inject.js 1`] = ` +exports[`angularjs_inject.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -345,7 +345,7 @@ function x() { ================================================================================ `; -exports[`angularjs_inject.js 2`] = ` +exports[`angularjs_inject.js format 2`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["flow", "typescript"] @@ -415,7 +415,7 @@ function x() { ================================================================================ `; -exports[`jest-each.js 1`] = ` +exports[`jest-each.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -559,7 +559,7 @@ test.each([ ================================================================================ `; -exports[`jest-each.js 2`] = ` +exports[`jest-each.js format 2`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["flow", "typescript"] @@ -704,7 +704,7 @@ test.each([ ================================================================================ `; -exports[`test_declarations.js 1`] = ` +exports[`test_declarations.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -987,7 +987,7 @@ it( ================================================================================ `; -exports[`test_declarations.js 2`] = ` +exports[`test_declarations.js format 2`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["flow", "typescript"] diff --git a/tests/throw_expressions/__snapshots__/jsfmt.spec.js.snap b/tests/throw_expressions/__snapshots__/jsfmt.spec.js.snap index 54f2939280..1180a797d4 100644 --- a/tests/throw_expressions/__snapshots__/jsfmt.spec.js.snap +++ b/tests/throw_expressions/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`throw_expression.js 1`] = ` +exports[`throw_expression.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/throw_statement/__snapshots__/jsfmt.spec.js.snap b/tests/throw_statement/__snapshots__/jsfmt.spec.js.snap index 5d7e4ff570..4264b7a364 100644 --- a/tests/throw_statement/__snapshots__/jsfmt.spec.js.snap +++ b/tests/throw_statement/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`binaryish.js 1`] = ` +exports[`binaryish.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript", "babel"] printWidth: 80 @@ -58,7 +58,7 @@ function f() { ================================================================================ `; -exports[`comment.js 1`] = ` +exports[`comment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript", "babel"] printWidth: 80 @@ -114,7 +114,7 @@ fn(function f() { ================================================================================ `; -exports[`jsx.js 1`] = ` +exports[`jsx.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript", "babel"] printWidth: 80 diff --git a/tests/trailing_comma/__snapshots__/jsfmt.spec.js.snap b/tests/trailing_comma/__snapshots__/jsfmt.spec.js.snap index 004fda275b..accf17d6fe 100644 --- a/tests/trailing_comma/__snapshots__/jsfmt.spec.js.snap +++ b/tests/trailing_comma/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`dynamic-import.js 1`] = ` +exports[`dynamic-import.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -19,7 +19,7 @@ import( ================================================================================ `; -exports[`dynamic-import.js 2`] = ` +exports[`dynamic-import.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -38,7 +38,7 @@ import( ================================================================================ `; -exports[`dynamic-import.js 3`] = ` +exports[`dynamic-import.js format 3`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -56,7 +56,7 @@ import( ================================================================================ `; -exports[`es5.js 1`] = ` +exports[`es5.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -103,7 +103,7 @@ function send_single_email( ================================================================================ `; -exports[`es5.js 2`] = ` +exports[`es5.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -150,7 +150,7 @@ function send_single_email( ================================================================================ `; -exports[`es5.js 3`] = ` +exports[`es5.js format 3`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -196,7 +196,7 @@ function send_single_email( ================================================================================ `; -exports[`function-calls.js 1`] = ` +exports[`function-calls.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -249,7 +249,7 @@ a.b().c( ================================================================================ `; -exports[`function-calls.js 2`] = ` +exports[`function-calls.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -302,7 +302,7 @@ a.b().c( ================================================================================ `; -exports[`function-calls.js 3`] = ` +exports[`function-calls.js format 3`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -354,7 +354,7 @@ a.b().c( ================================================================================ `; -exports[`jsx.js 1`] = ` +exports[`jsx.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -381,7 +381,7 @@ trailingComma: "none" ================================================================================ `; -exports[`jsx.js 2`] = ` +exports[`jsx.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -408,7 +408,7 @@ trailingComma: "all" ================================================================================ `; -exports[`jsx.js 3`] = ` +exports[`jsx.js format 3`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -434,7 +434,7 @@ printWidth: 80 ================================================================================ `; -exports[`object.js 1`] = ` +exports[`object.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -489,7 +489,7 @@ const aLong = { ================================================================================ `; -exports[`object.js 2`] = ` +exports[`object.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -544,7 +544,7 @@ const aLong = { ================================================================================ `; -exports[`object.js 3`] = ` +exports[`object.js format 3`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -598,7 +598,7 @@ const aLong = { ================================================================================ `; -exports[`trailing_whitespace.js 1`] = ` +exports[`trailing_whitespace.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -697,7 +697,7 @@ this.getAttribute(function (s) /*string*/ { ================================================================================ `; -exports[`trailing_whitespace.js 2`] = ` +exports[`trailing_whitespace.js format 2`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -796,7 +796,7 @@ this.getAttribute(function (s) /*string*/ { ================================================================================ `; -exports[`trailing_whitespace.js 3`] = ` +exports[`trailing_whitespace.js format 3`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/trailing_whitespace/__snapshots__/jsfmt.spec.js.snap b/tests/trailing_whitespace/__snapshots__/jsfmt.spec.js.snap index e3383b1cb9..c252ece11d 100644 --- a/tests/trailing_whitespace/__snapshots__/jsfmt.spec.js.snap +++ b/tests/trailing_whitespace/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`trailing.js 1`] = ` +exports[`trailing.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/try/__snapshots__/jsfmt.spec.js.snap b/tests/try/__snapshots__/jsfmt.spec.js.snap index a66b63fe3d..2b46103ab7 100644 --- a/tests/try/__snapshots__/jsfmt.spec.js.snap +++ b/tests/try/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`catch.js 1`] = ` +exports[`catch.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -59,7 +59,7 @@ try { ================================================================================ `; -exports[`empty.js 1`] = ` +exports[`empty.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -87,7 +87,7 @@ try { ================================================================================ `; -exports[`try.js 1`] = ` +exports[`try.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/typescript/compiler/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/compiler/__snapshots__/jsfmt.spec.js.snap index 663f6195b6..57083c87a4 100644 --- a/tests/typescript/compiler/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/compiler/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ClassDeclaration22.ts 1`] = ` +exports[`ClassDeclaration22.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -20,7 +20,7 @@ class C { ================================================================================ `; -exports[`anyIsAssignableToObject.ts 1`] = ` +exports[`anyIsAssignableToObject.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -47,7 +47,7 @@ interface Q extends P { ================================================================================ `; -exports[`castOfAwait.ts 1`] = ` +exports[`castOfAwait.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -75,7 +75,7 @@ async function f() { ================================================================================ `; -exports[`castParentheses.ts 1`] = ` +exports[`castParentheses.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -109,7 +109,7 @@ var b = (new a()).b; ================================================================================ `; -exports[`castTest.ts 1`] = ` +exports[`castTest.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -181,7 +181,7 @@ var p_cast = { ================================================================================ `; -exports[`checkInfiniteExpansionTermination.ts 1`] = ` +exports[`checkInfiniteExpansionTermination.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -229,7 +229,7 @@ values = values2; ================================================================================ `; -exports[`commentInNamespaceDeclarationWithIdentifierPathName.ts 1`] = ` +exports[`commentInNamespaceDeclarationWithIdentifierPathName.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -248,7 +248,7 @@ printWidth: 80 ================================================================================ `; -exports[`commentsInterface.ts 1`] = ` +exports[`commentsInterface.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -266,7 +266,7 @@ interface i2 { ================================================================================ `; -exports[`contextualSignatureInstantiation2.ts 1`] = ` +exports[`contextualSignatureInstantiation2.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -288,7 +288,7 @@ var r23 = dot(id)(id); ================================================================================ `; -exports[`declareDottedModuleName.ts 1`] = ` +exports[`declareDottedModuleName.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -322,7 +322,7 @@ module T.U { ================================================================================ `; -exports[`decrementAndIncrementOperators.ts 1`] = ` +exports[`decrementAndIncrementOperators.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -408,7 +408,7 @@ x[x++]++; ================================================================================ `; -exports[`downlevelLetConst1.ts 1`] = ` +exports[`downlevelLetConst1.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -421,7 +421,7 @@ const; ================================================================================ `; -exports[`errorOnInitializerInInterfaceProperty.ts 1`] = ` +exports[`errorOnInitializerInInterfaceProperty.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -439,7 +439,7 @@ interface Foo { ================================================================================ `; -exports[`es5ExportDefaultClassDeclaration4.ts 1`] = ` +exports[`es5ExportDefaultClassDeclaration4.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -482,7 +482,7 @@ declare module "foo" { ================================================================================ `; -exports[`functionOverloadsOnGenericArity1.ts 1`] = ` +exports[`functionOverloadsOnGenericArity1.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -516,7 +516,7 @@ interface C { ================================================================================ `; -exports[`globalIsContextualKeyword.ts 1`] = ` +exports[`globalIsContextualKeyword.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -557,7 +557,7 @@ let obj = { ================================================================================ `; -exports[`indexSignatureWithInitializer.ts 1`] = ` +exports[`indexSignatureWithInitializer.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -584,7 +584,7 @@ class C { ================================================================================ `; -exports[`mappedTypeWithCombinedTypeMappers.ts 1`] = ` +exports[`mappedTypeWithCombinedTypeMappers.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -632,7 +632,7 @@ const shouldFail: { important: boolean } = output.x.children; ================================================================================ `; -exports[`modifiersOnInterfaceIndexSignature1.ts 1`] = ` +exports[`modifiersOnInterfaceIndexSignature1.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -649,7 +649,7 @@ interface I { ================================================================================ `; -exports[`privacyGloImport.ts 1`] = ` +exports[`privacyGloImport.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/ambient/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/ambient/__snapshots__/jsfmt.spec.js.snap index 1e982845d1..e59b227f81 100644 --- a/tests/typescript/conformance/ambient/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/ambient/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ambientDeclarations.ts 1`] = ` +exports[`ambientDeclarations.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/classes/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/classes/__snapshots__/jsfmt.spec.js.snap index f5de635ade..a492500f1c 100644 --- a/tests/typescript/conformance/classes/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/classes/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`abstract.ts 1`] = ` +exports[`abstract.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -18,7 +18,7 @@ abstract class AbstractSocket { ================================================================================ `; -exports[`classExpression.ts 1`] = ` +exports[`classExpression.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -47,7 +47,7 @@ var z = class C4 {}; ================================================================================ `; -exports[`mixinAccessModifiers.ts 1`] = ` +exports[`mixinAccessModifiers.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -275,7 +275,7 @@ class C6 extends Mix(Public, Public2) { ================================================================================ `; -exports[`mixinClassesAnnotated.ts 1`] = ` +exports[`mixinClassesAnnotated.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -410,7 +410,7 @@ class Thing3 extends Thing2 { ================================================================================ `; -exports[`mixinClassesAnonymous.ts 1`] = ` +exports[`mixinClassesAnonymous.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -551,7 +551,7 @@ const Timestamped = >(Base: CT) => { ================================================================================ `; -exports[`mixinClassesMembers.ts 1`] = ` +exports[`mixinClassesMembers.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -763,7 +763,7 @@ class C3 extends Mixed3 { ================================================================================ `; -exports[`nestedClassDeclaration.ts 1`] = ` +exports[`nestedClassDeclaration.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/classes/classDeclarations/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/classes/classDeclarations/__snapshots__/jsfmt.spec.js.snap index 8d65e80922..0f303bd4c9 100644 --- a/tests/typescript/conformance/classes/classDeclarations/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/classes/classDeclarations/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`classInsideBlock.ts 1`] = ` +exports[`classInsideBlock.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/classes/classDeclarations/classAbstractKeyword/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/classes/classDeclarations/classAbstractKeyword/__snapshots__/jsfmt.spec.js.snap index 65f5496f8c..5b67d95684 100644 --- a/tests/typescript/conformance/classes/classDeclarations/classAbstractKeyword/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/classes/classDeclarations/classAbstractKeyword/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`classAbstractAccessor.ts 1`] = ` +exports[`classAbstractAccessor.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -27,7 +27,7 @@ abstract class A { ================================================================================ `; -exports[`classAbstractAsIdentifier.ts 1`] = ` +exports[`classAbstractAsIdentifier.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -50,7 +50,7 @@ new abstract(); ================================================================================ `; -exports[`classAbstractAssignabilityConstructorFunction.ts 1`] = ` +exports[`classAbstractAssignabilityConstructorFunction.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -73,7 +73,7 @@ AAA = "asdf"; ================================================================================ `; -exports[`classAbstractClinterfaceAssignability.ts 1`] = ` +exports[`classAbstractClinterfaceAssignability.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -109,7 +109,7 @@ AAA = A; ================================================================================ `; -exports[`classAbstractConstructorAssignability.ts 1`] = ` +exports[`classAbstractConstructorAssignability.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -147,7 +147,7 @@ new CC(); ================================================================================ `; -exports[`classAbstractCrashedOnce.ts 1`] = ` +exports[`classAbstractCrashedOnce.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -175,7 +175,7 @@ var x = new bar(); ================================================================================ `; -exports[`classAbstractExtends.ts 1`] = ` +exports[`classAbstractExtends.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -217,7 +217,7 @@ class E extends B { ================================================================================ `; -exports[`classAbstractFactoryFunction.ts 1`] = ` +exports[`classAbstractFactoryFunction.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -261,7 +261,7 @@ NewB(B); ================================================================================ `; -exports[`classAbstractGeneric.ts 1`] = ` +exports[`classAbstractGeneric.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -326,7 +326,7 @@ class G extends A { ================================================================================ `; -exports[`classAbstractImportInstantiation.ts 1`] = ` +exports[`classAbstractImportInstantiation.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -350,7 +350,7 @@ new myA(); ================================================================================ `; -exports[`classAbstractInAModule.ts 1`] = ` +exports[`classAbstractInAModule.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -373,7 +373,7 @@ new M.B(); ================================================================================ `; -exports[`classAbstractInheritance.ts 1`] = ` +exports[`classAbstractInheritance.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -426,7 +426,7 @@ abstract class GG extends CC {} ================================================================================ `; -exports[`classAbstractInstantiations1.ts 1`] = ` +exports[`classAbstractInstantiations1.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -475,7 +475,7 @@ c = new B(); ================================================================================ `; -exports[`classAbstractInstantiations2.ts 1`] = ` +exports[`classAbstractInstantiations2.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -591,7 +591,7 @@ class H { ================================================================================ `; -exports[`classAbstractMethodInNonAbstractClass.ts 1`] = ` +exports[`classAbstractMethodInNonAbstractClass.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -616,7 +616,7 @@ class B { ================================================================================ `; -exports[`classAbstractMethodWithImplementation.ts 1`] = ` +exports[`classAbstractMethodWithImplementation.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -633,7 +633,7 @@ abstract class A { ================================================================================ `; -exports[`classAbstractMixedWithModifiers.ts 1`] = ` +exports[`classAbstractMixedWithModifiers.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -674,7 +674,7 @@ abstract class A { ================================================================================ `; -exports[`classAbstractOverloads.ts 1`] = ` +exports[`classAbstractOverloads.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -733,7 +733,7 @@ abstract class B { ================================================================================ `; -exports[`classAbstractOverrideWithAbstract.ts 1`] = ` +exports[`classAbstractOverrideWithAbstract.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -790,7 +790,7 @@ class DD extends BB { ================================================================================ `; -exports[`classAbstractProperties.ts 1`] = ` +exports[`classAbstractProperties.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -827,7 +827,7 @@ abstract class A { ================================================================================ `; -exports[`classAbstractSingleLineDecl.ts 1`] = ` +exports[`classAbstractSingleLineDecl.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -862,7 +862,7 @@ new C(); ================================================================================ `; -exports[`classAbstractSuperCalls.ts 1`] = ` +exports[`classAbstractSuperCalls.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -939,7 +939,7 @@ abstract class BB extends AA { ================================================================================ `; -exports[`classAbstractUsingAbstractMethod1.ts 1`] = ` +exports[`classAbstractUsingAbstractMethod1.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -986,7 +986,7 @@ a.foo(); ================================================================================ `; -exports[`classAbstractUsingAbstractMethods2.ts 1`] = ` +exports[`classAbstractUsingAbstractMethods2.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -1051,7 +1051,7 @@ class DD extends AA { ================================================================================ `; -exports[`classAbstractWithInterface.ts 1`] = ` +exports[`classAbstractWithInterface.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/classes/classDeclarations/classHeritageSpecification/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/classes/classDeclarations/classHeritageSpecification/__snapshots__/jsfmt.spec.js.snap index 56d74f899d..8edfd5e045 100644 --- a/tests/typescript/conformance/classes/classDeclarations/classHeritageSpecification/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/classes/classDeclarations/classHeritageSpecification/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`classAppearsToHaveMembersOfObject.ts 1`] = ` +exports[`classAppearsToHaveMembersOfObject.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -28,7 +28,7 @@ var o2: {} = c; ================================================================================ `; -exports[`classExtendingClass.ts 1`] = ` +exports[`classExtendingClass.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -101,7 +101,7 @@ var r8 = D2.other(1); ================================================================================ `; -exports[`classExtendsItselfIndirectly.ts 1`] = ` +exports[`classExtendsItselfIndirectly.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -146,7 +146,7 @@ class E2 extends D2 { ================================================================================ `; -exports[`classIsSubtypeOfBaseType.ts 1`] = ` +exports[`classIsSubtypeOfBaseType.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/classes/constructorDeclarations/constructorParameters/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/classes/constructorDeclarations/constructorParameters/__snapshots__/jsfmt.spec.js.snap index 13516cccf3..b6a16cc473 100644 --- a/tests/typescript/conformance/classes/constructorDeclarations/constructorParameters/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/classes/constructorDeclarations/constructorParameters/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`constructorDefaultValuesReferencingThis.ts 1`] = ` +exports[`constructorDefaultValuesReferencingThis.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -33,7 +33,7 @@ class E { ================================================================================ `; -exports[`constructorImplementationWithDefaultValues.ts 1`] = ` +exports[`constructorImplementationWithDefaultValues.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -84,7 +84,7 @@ class E { ================================================================================ `; -exports[`constructorImplementationWithDefaultValues2.ts 1`] = ` +exports[`constructorImplementationWithDefaultValues2.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -135,7 +135,7 @@ class E { ================================================================================ `; -exports[`constructorOverloadsWithDefaultValues.ts 1`] = ` +exports[`constructorOverloadsWithDefaultValues.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -170,7 +170,7 @@ class D { ================================================================================ `; -exports[`constructorOverloadsWithOptionalParameters.ts 1`] = ` +exports[`constructorOverloadsWithOptionalParameters.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -205,7 +205,7 @@ class D { ================================================================================ `; -exports[`constructorParameterProperties.ts 1`] = ` +exports[`constructorParameterProperties.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -257,7 +257,7 @@ var r4 = d.z; // error ================================================================================ `; -exports[`constructorParameterProperties2.ts 1`] = ` +exports[`constructorParameterProperties2.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -331,7 +331,7 @@ var r4 = f.y; // error ================================================================================ `; -exports[`declarationEmitReadonly.ts 1`] = ` +exports[`declarationEmitReadonly.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -352,7 +352,7 @@ class C { ================================================================================ `; -exports[`readonlyConstructorAssignment.ts 1`] = ` +exports[`readonlyConstructorAssignment.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -440,7 +440,7 @@ class E extends D { ================================================================================ `; -exports[`readonlyInConstructorParameters.ts 1`] = ` +exports[`readonlyInConstructorParameters.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -477,7 +477,7 @@ new F(1).x; ================================================================================ `; -exports[`readonlyReadonly.ts 1`] = ` +exports[`readonlyReadonly.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/comments/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/comments/__snapshots__/jsfmt.spec.js.snap index f4cd285a9a..8add604348 100644 --- a/tests/typescript/conformance/comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/comments/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comments.ts 1`] = ` +exports[`comments.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/declarationEmit/typePredicates/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/declarationEmit/typePredicates/__snapshots__/jsfmt.spec.js.snap index ad9c02b8db..0e0d2e9500 100644 --- a/tests/typescript/conformance/declarationEmit/typePredicates/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/declarationEmit/typePredicates/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`declarationEmitThisPredicatesWithPrivateName01.ts 1`] = ` +exports[`declarationEmitThisPredicatesWithPrivateName01.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/es6/Symbols/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/es6/Symbols/__snapshots__/jsfmt.spec.js.snap index c54d38a6bc..9f03357505 100644 --- a/tests/typescript/conformance/es6/Symbols/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/es6/Symbols/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`symbolProperty15.ts 1`] = ` +exports[`symbolProperty15.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/es6/templates/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/es6/templates/__snapshots__/jsfmt.spec.js.snap index fb141a70ad..393f54516b 100644 --- a/tests/typescript/conformance/es6/templates/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/es6/templates/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`templateStringWithEmbeddedTypeAssertionOnAdditionES6.ts 1`] = ` +exports[`templateStringWithEmbeddedTypeAssertionOnAdditionES6.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/expressions/asOperator/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/expressions/asOperator/__snapshots__/jsfmt.spec.js.snap index ef7ce0cb14..9c6b6613a5 100644 --- a/tests/typescript/conformance/expressions/asOperator/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/expressions/asOperator/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`asOperatorContextualType.ts 1`] = ` +exports[`asOperatorContextualType.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/expressions/functionCalls/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/expressions/functionCalls/__snapshots__/jsfmt.spec.js.snap index 2cae160a61..c8c4307209 100644 --- a/tests/typescript/conformance/expressions/functionCalls/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/expressions/functionCalls/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`callWithSpreadES6.ts 1`] = ` +exports[`callWithSpreadES6.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/interfaces/interfaceDeclarations/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/interfaces/interfaceDeclarations/__snapshots__/jsfmt.spec.js.snap index e4ac230535..6305124000 100644 --- a/tests/typescript/conformance/interfaces/interfaceDeclarations/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/interfaces/interfaceDeclarations/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`interfaceWithMultipleBaseTypes2.ts 1`] = ` +exports[`interfaceWithMultipleBaseTypes2.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/internalModules/importDeclarations/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/internalModules/importDeclarations/__snapshots__/jsfmt.spec.js.snap index 01368761b3..9a81e7daba 100644 --- a/tests/typescript/conformance/internalModules/importDeclarations/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/internalModules/importDeclarations/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`circularImportAlias.ts 1`] = ` +exports[`circularImportAlias.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -48,7 +48,7 @@ var c = new B.a.C(); ================================================================================ `; -exports[`exportImportAlias.ts 1`] = ` +exports[`exportImportAlias.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -193,7 +193,7 @@ var p: M.D.Point; ================================================================================ `; -exports[`exportInterface.ts 1`] = ` +exports[`exportInterface.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -206,7 +206,7 @@ export interface I {} ================================================================================ `; -exports[`importAliasIdentifiers.ts 1`] = ` +exports[`importAliasIdentifiers.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -310,7 +310,7 @@ var p: { x: number; y: number }; ================================================================================ `; -exports[`invalidImportAliasIdentifiers.ts 1`] = ` +exports[`invalidImportAliasIdentifiers.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -369,7 +369,7 @@ import i = I; ================================================================================ `; -exports[`shadowedInternalModule.ts 1`] = ` +exports[`shadowedInternalModule.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/parser/ecmascript5/Statements/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/parser/ecmascript5/Statements/__snapshots__/jsfmt.spec.js.snap index 96029e1fd6..79cb40f4e6 100644 --- a/tests/typescript/conformance/parser/ecmascript5/Statements/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/parser/ecmascript5/Statements/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`parserES5ForOfStatement2.ts 1`] = ` +exports[`parserES5ForOfStatement2.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -18,7 +18,7 @@ for (var of X) { ================================================================================ `; -exports[`parserES5ForOfStatement21.ts 1`] = ` +exports[`parserES5ForOfStatement21.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -35,7 +35,7 @@ for (var of of) { ================================================================================ `; -exports[`parserForInStatement2.ts 1`] = ` +exports[`parserForInStatement2.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/abstractKeyword/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/abstractKeyword/__snapshots__/jsfmt.spec.js.snap index 1e23bf7f4a..5d8631a61c 100644 --- a/tests/typescript/conformance/types/abstractKeyword/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/abstractKeyword/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`abstractKeyword.ts 1`] = ` +exports[`abstractKeyword.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/ambient/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/ambient/__snapshots__/jsfmt.spec.js.snap index a9cd96f499..27aab04bde 100644 --- a/tests/typescript/conformance/types/ambient/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/ambient/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ambientDeclarations.ts 1`] = ` +exports[`ambientDeclarations.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/any/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/any/__snapshots__/jsfmt.spec.js.snap index 305b0e1634..e3cffd2820 100644 --- a/tests/typescript/conformance/types/any/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/any/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`anyAsConstructor.ts 1`] = ` +exports[`anyAsConstructor.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -32,7 +32,7 @@ var d = new x(x); // no error ================================================================================ `; -exports[`anyAsFunctionCall.ts 1`] = ` +exports[`anyAsFunctionCall.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -58,7 +58,7 @@ var c = x(x); ================================================================================ `; -exports[`anyAsGenericFunctionCall.ts 1`] = ` +exports[`anyAsGenericFunctionCall.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -94,7 +94,7 @@ var d = x(x); ================================================================================ `; -exports[`anyPropertyAccess.ts 1`] = ` +exports[`anyPropertyAccess.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/constKeyword/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/constKeyword/__snapshots__/jsfmt.spec.js.snap index 239babeeb2..8a23d2084f 100644 --- a/tests/typescript/conformance/types/constKeyword/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/constKeyword/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`constKeyword.ts 1`] = ` +exports[`constKeyword.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/constructorType/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/constructorType/__snapshots__/jsfmt.spec.js.snap index 24d331180a..89ee3a266c 100644 --- a/tests/typescript/conformance/types/constructorType/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/constructorType/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`cunstructorType.ts 1`] = ` +exports[`cunstructorType.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/decorator/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/decorator/__snapshots__/jsfmt.spec.js.snap index e69647ea24..71ddb401ce 100644 --- a/tests/typescript/conformance/types/decorator/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/decorator/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`decorator.ts 1`] = ` +exports[`decorator.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/enumDeclaration/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/enumDeclaration/__snapshots__/jsfmt.spec.js.snap index 5ba65c3f44..85b7e7cbda 100644 --- a/tests/typescript/conformance/types/enumDeclaration/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/enumDeclaration/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`enumDeclaration.ts 1`] = ` +exports[`enumDeclaration.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/firstTypeNode/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/firstTypeNode/__snapshots__/jsfmt.spec.js.snap index d0967daafb..13b9950bec 100644 --- a/tests/typescript/conformance/types/firstTypeNode/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/firstTypeNode/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`firstTypeNode.ts 1`] = ` +exports[`firstTypeNode.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/functions/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/functions/__snapshots__/jsfmt.spec.js.snap index deb922f4b1..255e93018b 100644 --- a/tests/typescript/conformance/types/functions/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/functions/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`TSFunctionTypeNoUnnecessaryParentheses.ts 1`] = ` +exports[`TSFunctionTypeNoUnnecessaryParentheses.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -17,7 +17,7 @@ class Foo { ================================================================================ `; -exports[`functionImplementationErrors.ts 1`] = ` +exports[`functionImplementationErrors.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -184,7 +184,7 @@ var f13 = () => { ================================================================================ `; -exports[`functionImplementations.ts 1`] = ` +exports[`functionImplementations.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -532,7 +532,7 @@ var f12: (x: number) => any = (x) => { ================================================================================ `; -exports[`functionOverloadCompatibilityWithVoid01.ts 1`] = ` +exports[`functionOverloadCompatibilityWithVoid01.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -552,7 +552,7 @@ function f(x: string): void { ================================================================================ `; -exports[`functionOverloadCompatibilityWithVoid02.ts 1`] = ` +exports[`functionOverloadCompatibilityWithVoid02.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -572,7 +572,7 @@ function f(x: string): number { ================================================================================ `; -exports[`functionOverloadCompatibilityWithVoid03.ts 1`] = ` +exports[`functionOverloadCompatibilityWithVoid03.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -592,7 +592,7 @@ function f(x: string): void { ================================================================================ `; -exports[`functionOverloadErrorsSyntax.ts 1`] = ` +exports[`functionOverloadErrorsSyntax.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -624,7 +624,7 @@ function fn5() {} ================================================================================ `; -exports[`functionTypeTypeParameters.ts 1`] = ` +exports[`functionTypeTypeParameters.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -638,7 +638,7 @@ type FuncWithTypeParameter = () => {}; ================================================================================ `; -exports[`parameterInitializersForwardReferencing.ts 1`] = ` +exports[`parameterInitializersForwardReferencing.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/importEqualsDeclaration/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/importEqualsDeclaration/__snapshots__/jsfmt.spec.js.snap index afbfbb050e..5414f6824a 100644 --- a/tests/typescript/conformance/types/importEqualsDeclaration/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/importEqualsDeclaration/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`importEqualsDeclaration.ts 1`] = ` +exports[`importEqualsDeclaration.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/indexedAccesType/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/indexedAccesType/__snapshots__/jsfmt.spec.js.snap index cacb5b9cfb..bdd0330bfa 100644 --- a/tests/typescript/conformance/types/indexedAccesType/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/indexedAccesType/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`indexedAccesType.ts 1`] = ` +exports[`indexedAccesType.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/interfaceDeclaration/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/interfaceDeclaration/__snapshots__/jsfmt.spec.js.snap index 03ba3d37e1..ba1598160b 100644 --- a/tests/typescript/conformance/types/interfaceDeclaration/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/interfaceDeclaration/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`interfaceDeclaration.ts 1`] = ` +exports[`interfaceDeclaration.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/intersectionType/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/intersectionType/__snapshots__/jsfmt.spec.js.snap index fdd1fa4d68..1bff1c1036 100644 --- a/tests/typescript/conformance/types/intersectionType/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/intersectionType/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`intersectionType.ts 1`] = ` +exports[`intersectionType.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/lastTypeNode/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/lastTypeNode/__snapshots__/jsfmt.spec.js.snap index 3bf1c9e749..344a714c52 100644 --- a/tests/typescript/conformance/types/lastTypeNode/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/lastTypeNode/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`lastTypeNode.ts 1`] = ` +exports[`lastTypeNode.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/mappedType/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/mappedType/__snapshots__/jsfmt.spec.js.snap index a507a1c65a..7225c9451d 100644 --- a/tests/typescript/conformance/types/mappedType/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/mappedType/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`mappedType.ts 1`] = ` +exports[`mappedType.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/methodSignature/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/methodSignature/__snapshots__/jsfmt.spec.js.snap index 4ad5df3acf..069b9cb63d 100644 --- a/tests/typescript/conformance/types/methodSignature/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/methodSignature/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`methodSignature.ts 1`] = ` +exports[`methodSignature.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/moduleDeclaration/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/moduleDeclaration/__snapshots__/jsfmt.spec.js.snap index 4c825d8faf..2582451e85 100644 --- a/tests/typescript/conformance/types/moduleDeclaration/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/moduleDeclaration/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`moduleDeclaration.ts 1`] = ` +exports[`moduleDeclaration.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/namespaceExportDeclaration/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/namespaceExportDeclaration/__snapshots__/jsfmt.spec.js.snap index 8f711dd0b4..b08c98628f 100644 --- a/tests/typescript/conformance/types/namespaceExportDeclaration/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/namespaceExportDeclaration/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`exportAsNamespace.d.ts 1`] = ` +exports[`exportAsNamespace.d.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/never/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/never/__snapshots__/jsfmt.spec.js.snap index a4f62398ee..5d3c3d2184 100644 --- a/tests/typescript/conformance/types/never/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/never/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`never.ts 1`] = ` +exports[`never.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/nonNullExpression/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/nonNullExpression/__snapshots__/jsfmt.spec.js.snap index 2c9ead4342..3db6413785 100644 --- a/tests/typescript/conformance/types/nonNullExpression/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/nonNullExpression/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`nonNullExpression.ts 1`] = ` +exports[`nonNullExpression.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/parameterProperty/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/parameterProperty/__snapshots__/jsfmt.spec.js.snap index 0d6ed961a6..46af628016 100644 --- a/tests/typescript/conformance/types/parameterProperty/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/parameterProperty/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`parameterProperty.ts 1`] = ` +exports[`parameterProperty.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/symbol/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/symbol/__snapshots__/jsfmt.spec.js.snap index f6011bdca5..b0219f8486 100644 --- a/tests/typescript/conformance/types/symbol/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/symbol/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`symbol.ts 1`] = ` +exports[`symbol.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/thisType/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/thisType/__snapshots__/jsfmt.spec.js.snap index 435190cd6d..86d3e75b35 100644 --- a/tests/typescript/conformance/types/thisType/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/thisType/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`thisType.ts 1`] = ` +exports[`thisType.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/tuple/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/tuple/__snapshots__/jsfmt.spec.js.snap index e03d82b2c9..4b27be81d9 100644 --- a/tests/typescript/conformance/types/tuple/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/tuple/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`contextualTypeWithTuple.ts 1`] = ` +exports[`contextualTypeWithTuple.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -62,7 +62,7 @@ numStrTuple = unionTuple3; ================================================================================ `; -exports[`indexerWithTuple.ts 1`] = ` +exports[`indexerWithTuple.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -138,7 +138,7 @@ var eleUnion26 = unionTuple2["1"]; // string | number ================================================================================ `; -exports[`tupleElementTypes1.ts 1`] = ` +exports[`tupleElementTypes1.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -152,7 +152,7 @@ var [a, b]: [number, any] = [undefined, undefined]; ================================================================================ `; -exports[`tupleElementTypes2.ts 1`] = ` +exports[`tupleElementTypes2.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -166,7 +166,7 @@ function f([a, b]: [number, any]) {} ================================================================================ `; -exports[`tupleElementTypes3.ts 1`] = ` +exports[`tupleElementTypes3.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -180,7 +180,7 @@ var [a, b] = [0, undefined]; ================================================================================ `; -exports[`tupleElementTypes4.ts 1`] = ` +exports[`tupleElementTypes4.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -194,7 +194,7 @@ function f([a, b] = [0, undefined]) {} ================================================================================ `; -exports[`typeInferenceWithTupleType.ts 1`] = ` +exports[`typeInferenceWithTupleType.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -253,7 +253,7 @@ var zipResultEleEle = zipResult[0][0]; // string ================================================================================ `; -exports[`wideningTuples1.ts 1`] = ` +exports[`wideningTuples1.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -275,7 +275,7 @@ y = [""]; ================================================================================ `; -exports[`wideningTuples2.ts 1`] = ` +exports[`wideningTuples2.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -299,7 +299,7 @@ var foo: () => [any] = function bar() { ================================================================================ `; -exports[`wideningTuples3.ts 1`] = ` +exports[`wideningTuples3.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -319,7 +319,7 @@ var b = (a = [undefined, null]); ================================================================================ `; -exports[`wideningTuples4.ts 1`] = ` +exports[`wideningTuples4.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -339,7 +339,7 @@ b = ["", ""]; ================================================================================ `; -exports[`wideningTuples5.ts 1`] = ` +exports[`wideningTuples5.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -355,7 +355,7 @@ var [a, b] = [undefined, null]; ================================================================================ `; -exports[`wideningTuples6.ts 1`] = ` +exports[`wideningTuples6.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -373,7 +373,7 @@ b = ""; ================================================================================ `; -exports[`wideningTuples7.ts 1`] = ` +exports[`wideningTuples7.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/tuple/emptyTuples/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/tuple/emptyTuples/__snapshots__/jsfmt.spec.js.snap index 4d50c79640..11bdec0f6d 100644 --- a/tests/typescript/conformance/types/tuple/emptyTuples/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/tuple/emptyTuples/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`emptyTuplesTypeAssertion02.ts 1`] = ` +exports[`emptyTuplesTypeAssertion02.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/typeOperator/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/typeOperator/__snapshots__/jsfmt.spec.js.snap index e982b4f4a4..b5b927f431 100644 --- a/tests/typescript/conformance/types/typeOperator/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/typeOperator/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`typeOperator.ts 1`] = ` +exports[`typeOperator.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/typeParameter/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/typeParameter/__snapshots__/jsfmt.spec.js.snap index d2845a1424..9f3d4935a5 100644 --- a/tests/typescript/conformance/types/typeParameter/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/typeParameter/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`typeParameter.ts 1`] = ` +exports[`typeParameter.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/typeParameters/typeParameterLists/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/typeParameters/typeParameterLists/__snapshots__/jsfmt.spec.js.snap index 9e69b303c5..648a530b3e 100644 --- a/tests/typescript/conformance/types/typeParameters/typeParameterLists/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/typeParameters/typeParameterLists/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`innerTypeParameterShadowingOuterOne.ts 1`] = ` +exports[`innerTypeParameterShadowingOuterOne.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -68,7 +68,7 @@ function f2() { ================================================================================ `; -exports[`innerTypeParameterShadowingOuterOne2.ts 1`] = ` +exports[`innerTypeParameterShadowingOuterOne2.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -154,7 +154,7 @@ class C2 { ================================================================================ `; -exports[`staticMembersUsingClassTypeParameter.ts 1`] = ` +exports[`staticMembersUsingClassTypeParameter.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -196,7 +196,7 @@ class C3 { ================================================================================ `; -exports[`typeParametersAvailableInNestedScope2.ts 1`] = ` +exports[`typeParametersAvailableInNestedScope2.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/typeReference/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/typeReference/__snapshots__/jsfmt.spec.js.snap index e708ce9992..a41d5b1bac 100644 --- a/tests/typescript/conformance/types/typeReference/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/typeReference/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`typeReference.ts 1`] = ` +exports[`typeReference.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/undefined/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/undefined/__snapshots__/jsfmt.spec.js.snap index 16439af5a8..f587b17a94 100644 --- a/tests/typescript/conformance/types/undefined/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/undefined/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`undefined.ts 1`] = ` +exports[`undefined.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/union/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/union/__snapshots__/jsfmt.spec.js.snap index e9e5c74a10..e298bd968d 100644 --- a/tests/typescript/conformance/types/union/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/union/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`unionTypeCallSignatures.ts 1`] = ` +exports[`unionTypeCallSignatures.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -182,7 +182,7 @@ strOrNum = unionWithRestParameter4("hello", "world"); ================================================================================ `; -exports[`unionTypeCallSignatures3.ts 1`] = ` +exports[`unionTypeCallSignatures3.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -223,7 +223,7 @@ fUnion(""); // All constituents can be called by passing a single string. ================================================================================ `; -exports[`unionTypeCallSignatures4.ts 1`] = ` +exports[`unionTypeCallSignatures4.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -285,7 +285,7 @@ f12345("a", "b", "c"); // error ================================================================================ `; -exports[`unionTypeConstructSignatures.ts 1`] = ` +exports[`unionTypeConstructSignatures.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -459,7 +459,7 @@ strOrNum = new unionWithRestParameter3(); // error no call signature ================================================================================ `; -exports[`unionTypeEquivalence.ts 1`] = ` +exports[`unionTypeEquivalence.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -509,7 +509,7 @@ var z1: string | typeof BC; ================================================================================ `; -exports[`unionTypeFromArrayLiteral.ts 1`] = ` +exports[`unionTypeFromArrayLiteral.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -575,7 +575,7 @@ var arr9 = [e, f]; // (E|F)[] ================================================================================ `; -exports[`unionTypeIndexSignature.ts 1`] = ` +exports[`unionTypeIndexSignature.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -639,7 +639,7 @@ anyVar = unionOfTypesWithAndWithoutStringSignature1[10]; // any ================================================================================ `; -exports[`unionTypePropertyAccessibility.ts 1`] = ` +exports[`unionTypePropertyAccessibility.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/conformance/types/variableDeclarator/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/conformance/types/variableDeclarator/__snapshots__/jsfmt.spec.js.snap index d41fc9e55b..383d9b45f3 100644 --- a/tests/typescript/conformance/types/variableDeclarator/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/conformance/types/variableDeclarator/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`variableDeclarator.ts 1`] = ` +exports[`variableDeclarator.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/custom/abstract/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/custom/abstract/__snapshots__/jsfmt.spec.js.snap index 8f343c9750..2eb6d5fe98 100644 --- a/tests/typescript/custom/abstract/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/custom/abstract/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`abstractNewlineHandling.ts 1`] = ` +exports[`abstractNewlineHandling.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -38,7 +38,7 @@ export class Y {} ================================================================================ `; -exports[`abstractProperties.ts 1`] = ` +exports[`abstractProperties.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -76,7 +76,7 @@ abstract class Foo { ================================================================================ `; -exports[`abstractPropertiesWithBreaks.ts 1`] = ` +exports[`abstractPropertiesWithBreaks.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/custom/call/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/custom/call/__snapshots__/jsfmt.spec.js.snap index 2380550391..dfc77aad24 100644 --- a/tests/typescript/custom/call/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/custom/call/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`callSignature.ts 1`] = ` +exports[`callSignature.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/custom/computedProperties/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/custom/computedProperties/__snapshots__/jsfmt.spec.js.snap index f3c7db2aec..10ff04681b 100644 --- a/tests/typescript/custom/computedProperties/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/custom/computedProperties/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`string.ts 1`] = ` +exports[`string.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -42,7 +42,7 @@ type B = { ================================================================================ `; -exports[`symbol.ts 1`] = ` +exports[`symbol.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/custom/declare/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/custom/declare/__snapshots__/jsfmt.spec.js.snap index 697bb80749..f98df37f9f 100644 --- a/tests/typescript/custom/declare/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/custom/declare/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`declareModifier.d.ts 1`] = ` +exports[`declareModifier.d.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/custom/modifiers/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/custom/modifiers/__snapshots__/jsfmt.spec.js.snap index bd418b6c4d..2d6f05115d 100644 --- a/tests/typescript/custom/modifiers/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/custom/modifiers/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`minustoken.ts 1`] = ` +exports[`minustoken.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -26,7 +26,7 @@ type ReadonlyPartial = { ================================================================================ `; -exports[`question.ts 1`] = ` +exports[`question.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -44,7 +44,7 @@ var x: { ================================================================================ `; -exports[`readonly.ts 1`] = ` +exports[`readonly.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/custom/module/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/custom/module/__snapshots__/jsfmt.spec.js.snap index c68beb942a..1afcd9ceb1 100644 --- a/tests/typescript/custom/module/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/custom/module/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`global.ts 1`] = ` +exports[`global.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -22,7 +22,7 @@ declare global { ================================================================================ `; -exports[`moduleNamespace.ts 1`] = ` +exports[`moduleNamespace.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -40,7 +40,7 @@ namespace f {} ================================================================================ `; -exports[`nestedNamespace.ts 1`] = ` +exports[`nestedNamespace.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/custom/new/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/custom/new/__snapshots__/jsfmt.spec.js.snap index 992b0fd9ec..22e94d83fe 100644 --- a/tests/typescript/custom/new/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/custom/new/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`newKeyword.ts 1`] = ` +exports[`newKeyword.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/custom/stability/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/custom/stability/__snapshots__/jsfmt.spec.js.snap index 068d63a1e7..f2f0178914 100644 --- a/tests/typescript/custom/stability/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/custom/stability/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`moduleBlock.ts 1`] = ` +exports[`moduleBlock.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/custom/typeParameters/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/custom/typeParameters/__snapshots__/jsfmt.spec.js.snap index ee5782a40d..ef45716258 100644 --- a/tests/typescript/custom/typeParameters/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/custom/typeParameters/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`callAndConstructSignatureLong.ts 1`] = ` +exports[`callAndConstructSignatureLong.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -38,7 +38,7 @@ interface Interface { ================================================================================ `; -exports[`functionTypeLong.ts 1`] = ` +exports[`functionTypeLong.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -68,7 +68,7 @@ type AwkwardlyLongFunctionTypeDefinition = < ================================================================================ `; -exports[`interfaceParamsLong.ts 1`] = ` +exports[`interfaceParamsLong.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -90,7 +90,7 @@ interface ReallyReallyLongName< ================================================================================ `; -exports[`typeParametersLong.ts 1`] = ` +exports[`typeParametersLong.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -109,7 +109,7 @@ type ReallyReallyReallyLongName< ================================================================================ `; -exports[`variables.ts 1`] = ` +exports[`variables.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript/webhost/__snapshots__/jsfmt.spec.js.snap b/tests/typescript/webhost/__snapshots__/jsfmt.spec.js.snap index ca6748573e..1a9af80920 100644 --- a/tests/typescript/webhost/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript/webhost/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`webtsc.ts 1`] = ` +exports[`webtsc.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_ambient/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_ambient/__snapshots__/jsfmt.spec.js.snap index 5fe5e6d61a..815056ee0c 100644 --- a/tests/typescript_ambient/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_ambient/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ambient.ts 1`] = ` +exports[`ambient.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_argument_expansion/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_argument_expansion/__snapshots__/jsfmt.spec.js.snap index bd7c16c29c..1b53e6f198 100644 --- a/tests/typescript_argument_expansion/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_argument_expansion/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`argument_expansion.js 1`] = ` +exports[`argument_expansion.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_array/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_array/__snapshots__/jsfmt.spec.js.snap index 4001682f7b..1754fc947e 100644 --- a/tests/typescript_array/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_array/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comment.js 1`] = ` +exports[`comment.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -28,7 +28,7 @@ export class ViewTokensChangedEvent { ================================================================================ `; -exports[`key.ts 1`] = ` +exports[`key.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_arrow/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_arrow/__snapshots__/jsfmt.spec.js.snap index 837d1324ef..8c60bc1b7c 100644 --- a/tests/typescript_arrow/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_arrow/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`arrow_regression.js 1`] = ` +exports[`arrow_regression.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -41,7 +41,7 @@ app.get("/", (req, res): void => { ================================================================================ `; -exports[`arrow_regression.js 2`] = ` +exports[`arrow_regression.js format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -83,7 +83,7 @@ app.get("/", (req, res): void => { ================================================================================ `; -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -114,7 +114,7 @@ const fn2 = () => { ================================================================================ `; -exports[`comments.js 2`] = ` +exports[`comments.js format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_as/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_as/__snapshots__/jsfmt.spec.js.snap index bb3d920991..9424724815 100644 --- a/tests/typescript_as/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_as/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`as.ts 1`] = ` +exports[`as.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -116,7 +116,7 @@ const iter2 = createIterator( ================================================================================ `; -exports[`assignment.ts 1`] = ` +exports[`assignment.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -188,7 +188,7 @@ this.intervalID = (setInterval(() => { ================================================================================ `; -exports[`assignment2.ts 1`] = ` +exports[`assignment2.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -258,7 +258,7 @@ const originalPrototype = originalConstructor.prototype as TComponent & ================================================================================ `; -exports[`export_default_as.ts 1`] = ` +exports[`export_default_as.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -272,7 +272,7 @@ export default (function log() {} as typeof console.log); ================================================================================ `; -exports[`long-identifiers.ts 1`] = ` +exports[`long-identifiers.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -310,7 +310,7 @@ averredBathersBoxroomBuggyNurl( ================================================================================ `; -exports[`return.ts 1`] = ` +exports[`return.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_assert/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_assert/__snapshots__/jsfmt.spec.js.snap index aa33a20c98..9705b15b89 100644 --- a/tests/typescript_assert/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_assert/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`index.ts 1`] = ` +exports[`index.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_bigint/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_bigint/__snapshots__/jsfmt.spec.js.snap index 8351e17cc5..97f21e2410 100644 --- a/tests/typescript_bigint/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_bigint/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`bigint.ts 1`] = ` +exports[`bigint.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_cast/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_cast/__snapshots__/jsfmt.spec.js.snap index 3ee3ac2f20..5787e45f00 100644 --- a/tests/typescript_cast/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_cast/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`as-const.ts 1`] = ` +exports[`as-const.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -14,7 +14,7 @@ let x = "123" as const; ================================================================================ `; -exports[`generic-cast.ts 1`] = ` +exports[`generic-cast.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -267,7 +267,7 @@ function x() { ================================================================================ `; -exports[`hug-args.ts 1`] = ` +exports[`hug-args.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -317,7 +317,7 @@ postMessages([ ================================================================================ `; -exports[`parenthesis.ts 1`] = ` +exports[`parenthesis.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_class/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_class/__snapshots__/jsfmt.spec.js.snap index 8ff7e937a8..417a3d80e0 100644 --- a/tests/typescript_class/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_class/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`constructor.ts 1`] = ` +exports[`constructor.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -40,7 +40,7 @@ class A { ================================================================================ `; -exports[`dunder.ts 1`] = ` +exports[`dunder.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -54,7 +54,7 @@ class F<__T> {} ================================================================================ `; -exports[`extends_implements.ts 1`] = ` +exports[`extends_implements.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -152,7 +152,7 @@ class ExtendsAbstractClassAndImplementsInterfaces5 ================================================================================ `; -exports[`generics.ts 1`] = ` +exports[`generics.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -174,7 +174,7 @@ interface AudioBufferList { ================================================================================ `; -exports[`methods.ts 1`] = ` +exports[`methods.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -208,7 +208,7 @@ export class Check { ================================================================================ `; -exports[`optional.ts 1`] = ` +exports[`optional.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -236,7 +236,7 @@ class A { ================================================================================ `; -exports[`quoted-property.ts 1`] = ` +exports[`quoted-property.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -254,7 +254,7 @@ class User { ================================================================================ `; -exports[`standard_private_fields.ts 1`] = ` +exports[`standard_private_fields.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_comments/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_comments/__snapshots__/jsfmt.spec.js.snap index 1282449f97..f0088c2dbb 100644 --- a/tests/typescript_comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_comments/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`abstract_class.ts 1`] = ` +exports[`abstract_class.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -28,7 +28,7 @@ abstract class AbstractRule { ================================================================================ `; -exports[`after_jsx_generic.ts 1`] = ` +exports[`after_jsx_generic.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -90,7 +90,7 @@ let comp = ( ================================================================================ `; -exports[`declare_function.ts 1`] = ` +exports[`declare_function.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -113,7 +113,7 @@ declare function /* foo */ f(/* baz */ a /* taz */); /* bar */ ================================================================================ `; -exports[`interface.ts 1`] = ` +exports[`interface.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -181,7 +181,7 @@ interface Foo { ================================================================================ `; -exports[`issues.ts 1`] = ` +exports[`issues.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -259,7 +259,7 @@ export type AsyncExecuteOptions = child_process$execFileOpts & { ================================================================================ `; -exports[`jsx.ts 1`] = ` +exports[`jsx.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -281,7 +281,7 @@ var example2 =
/*test*/
; ================================================================================ `; -exports[`location.ts 1`] = ` +exports[`location.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -368,7 +368,7 @@ export type WrappedFormUtils = { ================================================================================ `; -exports[`mapped_types.ts 1`] = ` +exports[`mapped_types.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -460,7 +460,7 @@ type M = { [m in M /* commentG */]: string }; ================================================================================ `; -exports[`method_types.ts 1`] = ` +exports[`method_types.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -550,7 +550,7 @@ abstract class Test { ================================================================================ `; -exports[`methods.ts 1`] = ` +exports[`methods.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -656,7 +656,7 @@ export class Point { ================================================================================ `; -exports[`type-parameters.ts 1`] = ` +exports[`type-parameters.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -730,7 +730,7 @@ type T = < ================================================================================ `; -exports[`types.ts 1`] = ` +exports[`types.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -748,7 +748,7 @@ printWidth: 80 ================================================================================ `; -exports[`union.ts 1`] = ` +exports[`union.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_conditional_types/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_conditional_types/__snapshots__/jsfmt.spec.js.snap index 0b69d98620..73ab426aba 100644 --- a/tests/typescript_conditional_types/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_conditional_types/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`conditonal-types.ts 1`] = ` +exports[`conditonal-types.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -94,7 +94,7 @@ type U2 = (new () => X) extends T ? U : V; ================================================================================ `; -exports[`infer-type.ts 1`] = ` +exports[`infer-type.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -126,7 +126,7 @@ type Unpacked = T extends (infer U)[] ================================================================================ `; -exports[`nested-in-condition.ts 1`] = ` +exports[`nested-in-condition.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_declare/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_declare/__snapshots__/jsfmt.spec.js.snap index 2e79f1b0aa..82d434d089 100644 --- a/tests/typescript_declare/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_declare/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`declare_class_fields.ts 1`] = ` +exports[`declare_class_fields.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -20,7 +20,7 @@ class C extends B { ================================================================================ `; -exports[`declare_enum.ts 1`] = ` +exports[`declare_enum.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -36,7 +36,7 @@ declare enum Bar {} ================================================================================ `; -exports[`declare_function.ts 1`] = ` +exports[`declare_function.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -62,7 +62,7 @@ declare namespace A { ================================================================================ `; -exports[`declare_interface.ts 1`] = ` +exports[`declare_interface.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -80,7 +80,7 @@ declare interface Dictionary { ================================================================================ `; -exports[`declare_var.ts 1`] = ` +exports[`declare_var.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_decorators/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_decorators/__snapshots__/jsfmt.spec.js.snap index 3288ceaff5..d5c757fabf 100644 --- a/tests/typescript_decorators/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_decorators/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`argument-list-preserve-line.ts 1`] = ` +exports[`argument-list-preserve-line.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -37,7 +37,7 @@ class Foo { ================================================================================ `; -exports[`decorator-type-assertion.ts 1`] = ` +exports[`decorator-type-assertion.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -63,7 +63,7 @@ class Decorated {} ================================================================================ `; -exports[`decorators.js 1`] = ` +exports[`decorators.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -189,7 +189,7 @@ class Class5 { ================================================================================ `; -exports[`decorators-comments.js 1`] = ` +exports[`decorators-comments.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -284,7 +284,7 @@ class Something3 { ================================================================================ `; -exports[`inline-decorators.ts 1`] = ` +exports[`inline-decorators.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -397,7 +397,7 @@ class MyContainerComponent { ================================================================================ `; -exports[`interface.ts 1`] = ` +exports[`interface.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_definite/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_definite/__snapshots__/jsfmt.spec.js.snap index 25e507dcd3..c5a8c7dc26 100644 --- a/tests/typescript_definite/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_definite/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`definite.ts 1`] = ` +exports[`definite.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_destructuring/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_destructuring/__snapshots__/jsfmt.spec.js.snap index a24e989c83..d427fc9bf1 100644 --- a/tests/typescript_destructuring/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_destructuring/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`destructuring.ts 1`] = ` +exports[`destructuring.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_enum/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_enum/__snapshots__/jsfmt.spec.js.snap index 4ac4b06f6f..995833522f 100644 --- a/tests/typescript_enum/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_enum/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`enum.ts 1`] = ` +exports[`enum.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_error_recovery/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_error_recovery/__snapshots__/jsfmt.spec.js.snap index c9b4a2b647..fa86484061 100644 --- a/tests/typescript_error_recovery/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_error_recovery/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`generic.ts 1`] = ` +exports[`generic.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -50,7 +50,7 @@ class f7<> { ================================================================================ `; -exports[`generic.ts 2`] = ` +exports[`generic.ts format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -101,7 +101,7 @@ class f7<> { ================================================================================ `; -exports[`generic.ts 3`] = ` +exports[`generic.ts format 3`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -152,7 +152,7 @@ class f7<> { ================================================================================ `; -exports[`index-signature.ts 1`] = ` +exports[`index-signature.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -214,7 +214,7 @@ type TooLongSingleParam = { ================================================================================ `; -exports[`index-signature.ts 2`] = ` +exports[`index-signature.ts format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -277,7 +277,7 @@ type TooLongSingleParam = { ================================================================================ `; -exports[`index-signature.ts 3`] = ` +exports[`index-signature.ts format 3`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -340,7 +340,7 @@ type TooLongSingleParam = { ================================================================================ `; -exports[`jsdoc_only_types.ts 1`] = ` +exports[`jsdoc_only_types.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -368,7 +368,7 @@ let h: !(string | number); ================================================================================ `; -exports[`jsdoc_only_types.ts 2`] = ` +exports[`jsdoc_only_types.ts format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -397,7 +397,7 @@ let h: !(string | number); ================================================================================ `; -exports[`jsdoc_only_types.ts 3`] = ` +exports[`jsdoc_only_types.ts format 3`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_export/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_export/__snapshots__/jsfmt.spec.js.snap index 9f4b34e77e..2351d6d4ba 100644 --- a/tests/typescript_export/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_export/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comment.js 1`] = ` +exports[`comment.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -16,7 +16,7 @@ a; ================================================================================ `; -exports[`default.js 1`] = ` +exports[`default.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -34,7 +34,7 @@ export default interface Foo { ================================================================================ `; -exports[`export.ts 1`] = ` +exports[`export.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -60,7 +60,7 @@ declare module "hello" { ================================================================================ `; -exports[`export-as-ns.ts 1`] = ` +exports[`export-as-ns.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -74,7 +74,7 @@ export * as utilities from "./utilities.js"; ================================================================================ `; -exports[`export-class.js 1`] = ` +exports[`export-class.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_function_type/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_function_type/__snapshots__/jsfmt.spec.js.snap index 7f0bb86716..4c2eb69921 100644 --- a/tests/typescript_function_type/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_function_type/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`single-parameter.ts 1`] = ` +exports[`single-parameter.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -21,7 +21,7 @@ type Y = new (options: { ================================================================================ `; -exports[`type-annotation.ts 1`] = ` +exports[`type-annotation.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_generic/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_generic/__snapshots__/jsfmt.spec.js.snap index b52f50db9b..cf8261eef0 100644 --- a/tests/typescript_generic/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_generic/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`arrow-return-type.ts 1`] = ` +exports[`arrow-return-type.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -130,7 +130,7 @@ export const getVehicleDescriptor = async ( ================================================================================ `; -exports[`object-method.ts 1`] = ` +exports[`object-method.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_import_export/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_import_export/__snapshots__/jsfmt.spec.js.snap index 96339fb4fb..ce63210d0d 100644 --- a/tests/typescript_import_export/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_import_export/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`type-modifier.ts 1`] = ` +exports[`type-modifier.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_import_require/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_import_require/__snapshots__/jsfmt.spec.js.snap index 5798b1ccbb..a8d92716c0 100644 --- a/tests/typescript_import_require/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_import_require/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`import_require.js 1`] = ` +exports[`import_require.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_import_type/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_import_type/__snapshots__/jsfmt.spec.js.snap index 38611e3780..f4a178e722 100644 --- a/tests/typescript_import_type/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_import_type/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`import-type.ts 1`] = ` +exports[`import-type.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -42,7 +42,7 @@ type X = A>; ================================================================================ `; -exports[`import-type.ts 2`] = ` +exports[`import-type.ts format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_index_signature/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_index_signature/__snapshots__/jsfmt.spec.js.snap index c46ad4fb04..dad328dab7 100644 --- a/tests/typescript_index_signature/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_index_signature/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`index-signature.ts 1`] = ` +exports[`index-signature.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_interface/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_interface/__snapshots__/jsfmt.spec.js.snap index 6c69a8490d..cda2d622ef 100644 --- a/tests/typescript_interface/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_interface/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`abstract.ts 1`] = ` +exports[`abstract.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -16,7 +16,7 @@ abstract interface I {} ================================================================================ `; -exports[`abstract.ts 2`] = ` +exports[`abstract.ts format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -33,7 +33,7 @@ abstract interface I {} ================================================================================ `; -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -53,7 +53,7 @@ interface ScreenObject { ================================================================================ `; -exports[`comments.js 2`] = ` +exports[`comments.js format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -74,7 +74,7 @@ interface ScreenObject { ================================================================================ `; -exports[`ignore.js 1`] = ` +exports[`ignore.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -142,7 +142,7 @@ interface T { ================================================================================ `; -exports[`ignore.js 2`] = ` +exports[`ignore.js format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -211,7 +211,7 @@ interface T { ================================================================================ `; -exports[`long-extends.ts 1`] = ` +exports[`long-extends.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -269,7 +269,7 @@ export interface ThirdVeryLongAndBoringInterfaceName ================================================================================ `; -exports[`long-extends.ts 2`] = ` +exports[`long-extends.ts format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -328,7 +328,7 @@ export interface ThirdVeryLongAndBoringInterfaceName ================================================================================ `; -exports[`separator.ts 1`] = ` +exports[`separator.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -373,7 +373,7 @@ interface Test { ================================================================================ `; -exports[`separator.ts 2`] = ` +exports[`separator.ts format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_intersection/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_intersection/__snapshots__/jsfmt.spec.js.snap index 8c7b31db88..d1541edd98 100644 --- a/tests/typescript_intersection/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_intersection/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`intersection-parens.ts 1`] = ` +exports[`intersection-parens.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -98,7 +98,7 @@ type D6 /*0*/ = /*1*/ a & b; ================================================================================ `; -exports[`intersection-parens.ts 2`] = ` +exports[`intersection-parens.ts format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_keyof/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_keyof/__snapshots__/jsfmt.spec.js.snap index 225968d912..fe87ebd379 100644 --- a/tests/typescript_keyof/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_keyof/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`keyof.ts 1`] = ` +exports[`keyof.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_keywords/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_keywords/__snapshots__/jsfmt.spec.js.snap index 8da1d0311b..1b5a9b31c4 100644 --- a/tests/typescript_keywords/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_keywords/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`keywords.js 1`] = ` +exports[`keywords.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_mapped_type/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_mapped_type/__snapshots__/jsfmt.spec.js.snap index aa88ebac33..94af2d0c36 100644 --- a/tests/typescript_mapped_type/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_mapped_type/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`mapped-type.ts 1`] = ` +exports[`mapped-type.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_method/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_method/__snapshots__/jsfmt.spec.js.snap index 6a6004ffef..8af4f6b196 100644 --- a/tests/typescript_method/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_method/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`semi.js 1`] = ` +exports[`semi.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -26,7 +26,7 @@ function pickCard(x: number): { suit: string; card: number }; ================================================================================ `; -exports[`type_literal_optional_method.ts 1`] = ` +exports[`type_literal_optional_method.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_module/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_module/__snapshots__/jsfmt.spec.js.snap index 76ccd55b8a..0538713b23 100644 --- a/tests/typescript_module/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_module/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`empty.js 1`] = ` +exports[`empty.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -14,7 +14,7 @@ declare module "autoprefixer"; ================================================================================ `; -exports[`global.js 1`] = ` +exports[`global.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -34,7 +34,7 @@ declare global {} ================================================================================ `; -exports[`keyword.ts 1`] = ` +exports[`keyword.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -108,7 +108,7 @@ namespace X { ================================================================================ `; -exports[`namespace_function.ts 1`] = ` +exports[`namespace_function.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_never/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_never/__snapshots__/jsfmt.spec.js.snap index d0dd45d1c2..48da084acf 100644 --- a/tests/typescript_never/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_never/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`type-argument.src.ts 1`] = ` +exports[`type-argument.src.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_new/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_new/__snapshots__/jsfmt.spec.js.snap index 3e66ad06da..7259f8c768 100644 --- a/tests/typescript_new/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_new/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`new-signature.ts 1`] = ` +exports[`new-signature.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_non_null/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_non_null/__snapshots__/jsfmt.spec.js.snap index 0442353caf..0a55738585 100644 --- a/tests/typescript_non_null/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_non_null/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`member-chain.js 1`] = ` +exports[`member-chain.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -32,7 +32,7 @@ foo!.bar().baz().what(); ================================================================================ `; -exports[`parens.ts 1`] = ` +exports[`parens.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_nosemi/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_nosemi/__snapshots__/jsfmt.spec.js.snap index 3b6629702d..5dd1fa1097 100644 --- a/tests/typescript_nosemi/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_nosemi/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`index-signature.ts 1`] = ` +exports[`index-signature.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -21,7 +21,7 @@ class LocalStorage implements Storage { ================================================================================ `; -exports[`interface.ts 1`] = ` +exports[`interface.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -55,7 +55,7 @@ interface InlineMultiple { ================================================================================ `; -exports[`type.js 1`] = ` +exports[`type.js format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_optional_type/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_optional_type/__snapshots__/jsfmt.spec.js.snap index fcf68d5082..1feb344061 100644 --- a/tests/typescript_optional_type/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_optional_type/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`complex.ts 1`] = ` +exports[`complex.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -16,7 +16,7 @@ type TupleWithOptional = [number, (1 extends 2 ? string[] : number[])?]; ================================================================================ `; -exports[`simple.ts 1`] = ` +exports[`simple.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_readonly/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_readonly/__snapshots__/jsfmt.spec.js.snap index 1c885aae2f..350d04244c 100644 --- a/tests/typescript_readonly/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_readonly/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`array.ts 1`] = ` +exports[`array.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -16,7 +16,7 @@ declare const tuple: readonly [number, number]; ================================================================================ `; -exports[`readonly.ts 1`] = ` +exports[`readonly.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_rest/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_rest/__snapshots__/jsfmt.spec.js.snap index cedb631951..4eb8207905 100644 --- a/tests/typescript_rest/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_rest/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`rest.ts 1`] = ` +exports[`rest.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_rest_type/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_rest_type/__snapshots__/jsfmt.spec.js.snap index 1334dc2467..c45419e9c6 100644 --- a/tests/typescript_rest_type/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_rest_type/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`complex.ts 1`] = ` +exports[`complex.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -14,7 +14,7 @@ type TupleWithRest = [number, ...(1 extends 2 ? string[] : number[])]; ================================================================================ `; -exports[`simple.ts 1`] = ` +exports[`simple.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_semi/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_semi/__snapshots__/jsfmt.spec.js.snap index 71ffa4198b..686b4b77da 100644 --- a/tests/typescript_semi/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_semi/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`no-semi.ts 1`] = ` +exports[`no-semi.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_symbol/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_symbol/__snapshots__/jsfmt.spec.js.snap index 0db4e36a55..bb9ed95b76 100644 --- a/tests/typescript_symbol/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_symbol/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`symbol.ts 1`] = ` +exports[`symbol.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_template_literals/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_template_literals/__snapshots__/jsfmt.spec.js.snap index abb2f54740..102c0246f6 100644 --- a/tests/typescript_template_literals/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_template_literals/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`as-expression.ts 1`] = ` +exports[`as-expression.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_trailing_comma/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_trailing_comma/__snapshots__/jsfmt.spec.js.snap index fd47546a88..5db6a24da0 100644 --- a/tests/typescript_trailing_comma/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_trailing_comma/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`trailing.ts 1`] = ` +exports[`trailing.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_tsx/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_tsx/__snapshots__/jsfmt.spec.js.snap index 761df1b1ff..a54c55597e 100644 --- a/tests/typescript_tsx/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_tsx/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`generic-component.tsx 1`] = ` +exports[`generic-component.tsx format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -22,7 +22,7 @@ const c3 = attr="value" />; ================================================================================ `; -exports[`keyword.tsx 1`] = ` +exports[`keyword.tsx format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -38,7 +38,7 @@ printWidth: 80 ================================================================================ `; -exports[`member-expression.tsx 1`] = ` +exports[`member-expression.tsx format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -98,7 +98,7 @@ printWidth: 80 ================================================================================ `; -exports[`not-react.ts 1`] = ` +exports[`not-react.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -126,7 +126,7 @@ const footer = "
"; ================================================================================ `; -exports[`react.tsx 1`] = ` +exports[`react.tsx format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -147,7 +147,7 @@ const MyCoolThing = ({ thingo }) =>
  • {thingo}
  • ; ================================================================================ `; -exports[`this.tsx 1`] = ` +exports[`this.tsx format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -163,7 +163,7 @@ printWidth: 80 ================================================================================ `; -exports[`type-parameters.tsx 1`] = ` +exports[`type-parameters.tsx format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -217,7 +217,7 @@ type Type2 = Two; ================================================================================ `; -exports[`url.tsx 1`] = ` +exports[`url.tsx format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_tuple/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_tuple/__snapshots__/jsfmt.spec.js.snap index c76abb62a6..9da0112520 100644 --- a/tests/typescript_tuple/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_tuple/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`no-trailing-comma-after-rest.ts 1`] = ` +exports[`no-trailing-comma-after-rest.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -29,7 +29,7 @@ type ValidateArgs = [ ================================================================================ `; -exports[`no-trailing-comma-after-rest.ts 2`] = ` +exports[`no-trailing-comma-after-rest.ts format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -57,7 +57,7 @@ type ValidateArgs = [ ================================================================================ `; -exports[`no-trailing-comma-after-rest.ts 3`] = ` +exports[`no-trailing-comma-after-rest.ts format 3`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -86,7 +86,7 @@ type ValidateArgs = [ ================================================================================ `; -exports[`trailing-comma.ts 1`] = ` +exports[`trailing-comma.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -127,7 +127,7 @@ export interface ShopQueryResult { ================================================================================ `; -exports[`trailing-comma.ts 2`] = ` +exports[`trailing-comma.ts format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -167,7 +167,7 @@ export interface ShopQueryResult { ================================================================================ `; -exports[`trailing-comma.ts 3`] = ` +exports[`trailing-comma.ts format 3`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -208,7 +208,7 @@ export interface ShopQueryResult { ================================================================================ `; -exports[`tuple.ts 1`] = ` +exports[`tuple.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -238,7 +238,7 @@ export type SCMRawResource = [ ================================================================================ `; -exports[`tuple.ts 2`] = ` +exports[`tuple.ts format 2`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -267,7 +267,7 @@ export type SCMRawResource = [ ================================================================================ `; -exports[`tuple.ts 3`] = ` +exports[`tuple.ts format 3`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_typeparams/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_typeparams/__snapshots__/jsfmt.spec.js.snap index d1b410fd22..c658fae545 100644 --- a/tests/typescript_typeparams/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_typeparams/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`class-method.ts 1`] = ` +exports[`class-method.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -286,7 +286,7 @@ const appIDs = createSelector( ================================================================================ `; -exports[`long-function-arg.ts 1`] = ` +exports[`long-function-arg.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -328,7 +328,7 @@ export const forwardS1 = R.curry( ================================================================================ `; -exports[`tagged-template-expression.ts 1`] = ` +exports[`tagged-template-expression.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_union/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_union/__snapshots__/jsfmt.spec.js.snap index 33ccf96dbb..55a2716f71 100644 --- a/tests/typescript_union/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_union/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`inlining.ts 1`] = ` +exports[`inlining.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -94,7 +94,7 @@ type T8 = number | ((arg: any) => void); ================================================================================ `; -exports[`prettier-ignore.ts 1`] = ` +exports[`prettier-ignore.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -156,7 +156,7 @@ export type a = ================================================================================ `; -exports[`prettier-ignore-nested-unions.ts 1`] = ` +exports[`prettier-ignore-nested-unions.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -222,7 +222,7 @@ export type b = ================================================================================ `; -exports[`union-parens.ts 1`] = ` +exports[`union-parens.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -453,7 +453,7 @@ type Ctor = (new () => X) | Y; ================================================================================ `; -exports[`with-type-params.ts 1`] = ` +exports[`with-type-params.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 @@ -483,7 +483,7 @@ type GetChatsSagaEffects = ================================================================================ `; -exports[`within-tuple.ts 1`] = ` +exports[`within-tuple.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_unique_symbol/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_unique_symbol/__snapshots__/jsfmt.spec.js.snap index f8cc4f118a..f22204df87 100644 --- a/tests/typescript_unique_symbol/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_unique_symbol/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`unique-symbol.ts 1`] = ` +exports[`unique-symbol.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/typescript_unknown/__snapshots__/jsfmt.spec.js.snap b/tests/typescript_unknown/__snapshots__/jsfmt.spec.js.snap index 5f346902e6..124dae476d 100644 --- a/tests/typescript_unknown/__snapshots__/jsfmt.spec.js.snap +++ b/tests/typescript_unknown/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`unknown.ts 1`] = ` +exports[`unknown.ts format 1`] = ` ====================================options===================================== parsers: ["typescript"] printWidth: 80 diff --git a/tests/unary/__snapshots__/jsfmt.spec.js.snap b/tests/unary/__snapshots__/jsfmt.spec.js.snap index 9307d2152c..9902693f85 100644 --- a/tests/unary/__snapshots__/jsfmt.spec.js.snap +++ b/tests/unary/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`object.js 1`] = ` +exports[`object.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -20,7 +20,7 @@ state = { ================================================================================ `; -exports[`series.js 1`] = ` +exports[`series.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/unary_expression/__snapshots__/jsfmt.spec.js.snap b/tests/unary_expression/__snapshots__/jsfmt.spec.js.snap index 64fa722f27..c28f85af4f 100644 --- a/tests/unary_expression/__snapshots__/jsfmt.spec.js.snap +++ b/tests/unary_expression/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -580,7 +580,7 @@ async function bar2() { ================================================================================ `; -exports[`urnary_expression.js 1`] = ` +exports[`urnary_expression.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/unicode/__snapshots__/jsfmt.spec.js.snap b/tests/unicode/__snapshots__/jsfmt.spec.js.snap index f588d23b7a..51ffbdd3b0 100644 --- a/tests/unicode/__snapshots__/jsfmt.spec.js.snap +++ b/tests/unicode/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`combining-characters.js 1`] = ` +exports[`combining-characters.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -18,7 +18,7 @@ const x = ["ÁÀĀÉÈĒẸE̩Ẹ́É̩Ẹ̀È̩Ẹ̄Ē̩ÍÌĪÓÒŌỌO̩Ọ́ ================================================================================ `; -exports[`keys.js 1`] = ` +exports[`keys.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -32,7 +32,7 @@ printWidth: 80 ================================================================================ `; -exports[`nbsp-jsx.js 1`] = ` +exports[`nbsp-jsx.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/union_intersection/__snapshots__/jsfmt.spec.js.snap b/tests/union_intersection/__snapshots__/jsfmt.spec.js.snap index 5cd28ed522..ca6e7853d9 100644 --- a/tests/union_intersection/__snapshots__/jsfmt.spec.js.snap +++ b/tests/union_intersection/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/update_expression/__snapshots__/jsfmt.spec.js.snap b/tests/update_expression/__snapshots__/jsfmt.spec.js.snap index 87403c212c..8854901c3a 100644 --- a/tests/update_expression/__snapshots__/jsfmt.spec.js.snap +++ b/tests/update_expression/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`update_expression.js 1`] = ` +exports[`update_expression.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/v8_intrinsic/__snapshots__/jsfmt.spec.js.snap b/tests/v8_intrinsic/__snapshots__/jsfmt.spec.js.snap index 0248f06914..9613696287 100644 --- a/tests/v8_intrinsic/__snapshots__/jsfmt.spec.js.snap +++ b/tests/v8_intrinsic/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`intrinsic_call.js 1`] = ` +exports[`intrinsic_call.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/variable_declarator/__snapshots__/jsfmt.spec.js.snap b/tests/variable_declarator/__snapshots__/jsfmt.spec.js.snap index 5a9274d334..df44e0de8b 100644 --- a/tests/variable_declarator/__snapshots__/jsfmt.spec.js.snap +++ b/tests/variable_declarator/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`multiple.js 1`] = ` +exports[`multiple.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -59,7 +59,7 @@ var templateTagsMapping = { ================================================================================ `; -exports[`string.js 1`] = ` +exports[`string.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/while/__snapshots__/jsfmt.spec.js.snap b/tests/while/__snapshots__/jsfmt.spec.js.snap index 20ab34b0a9..af39265647 100644 --- a/tests/while/__snapshots__/jsfmt.spec.js.snap +++ b/tests/while/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`indent.js 1`] = ` +exports[`indent.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/with/__snapshots__/jsfmt.spec.js.snap b/tests/with/__snapshots__/jsfmt.spec.js.snap index d8008a9804..4e68fdb1a4 100644 --- a/tests/with/__snapshots__/jsfmt.spec.js.snap +++ b/tests/with/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`indent.js 1`] = ` +exports[`indent.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/yaml_alias/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_alias/__snapshots__/jsfmt.spec.js.snap index cf6dc47bb4..d7827fa3a1 100644 --- a/tests/yaml_alias/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_alias/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`common.yml 1`] = ` +exports[`common.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 diff --git a/tests/yaml_block_folded/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_block_folded/__snapshots__/jsfmt.spec.js.snap index daebbd221b..38eb136fb6 100644 --- a/tests/yaml_block_folded/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_block_folded/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`clip.yml 1`] = ` +exports[`clip.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -22,7 +22,7 @@ printWidth: 80 ================================================================================ `; -exports[`clip.yml 2`] = ` +exports[`clip.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -43,7 +43,7 @@ proseWrap: "always" ================================================================================ `; -exports[`indent.yml 1`] = ` +exports[`indent.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -65,7 +65,7 @@ printWidth: 80 ================================================================================ `; -exports[`indent.yml 2`] = ` +exports[`indent.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -88,7 +88,7 @@ proseWrap: "always" ================================================================================ `; -exports[`keep.yml 1`] = ` +exports[`keep.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -112,7 +112,7 @@ printWidth: 80 ================================================================================ `; -exports[`keep.yml 2`] = ` +exports[`keep.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -135,7 +135,7 @@ proseWrap: "always" ================================================================================ `; -exports[`map.yml 1`] = ` +exports[`map.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -175,7 +175,7 @@ c: 0 ================================================================================ `; -exports[`map.yml 2`] = ` +exports[`map.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -212,7 +212,7 @@ c: 0 ================================================================================ `; -exports[`middle-comment.yml 1`] = ` +exports[`middle-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -230,7 +230,7 @@ printWidth: 80 ================================================================================ `; -exports[`middle-comment.yml 2`] = ` +exports[`middle-comment.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -249,7 +249,7 @@ proseWrap: "always" ================================================================================ `; -exports[`middle-comments.yml 1`] = ` +exports[`middle-comments.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -270,7 +270,7 @@ printWidth: 80 ================================================================================ `; -exports[`middle-comments.yml 2`] = ` +exports[`middle-comments.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -292,7 +292,7 @@ proseWrap: "always" ================================================================================ `; -exports[`newline.yml 1`] = ` +exports[`newline.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -364,7 +364,7 @@ printWidth: 80 ================================================================================ `; -exports[`newline.yml 2`] = ` +exports[`newline.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -425,7 +425,7 @@ proseWrap: "always" ================================================================================ `; -exports[`newline-unaligned.yml 1`] = ` +exports[`newline-unaligned.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -499,7 +499,7 @@ printWidth: 80 ================================================================================ `; -exports[`newline-unaligned.yml 2`] = ` +exports[`newline-unaligned.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -566,7 +566,7 @@ proseWrap: "always" ================================================================================ `; -exports[`props.yml 1`] = ` +exports[`props.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -582,7 +582,7 @@ printWidth: 80 ================================================================================ `; -exports[`props.yml 2`] = ` +exports[`props.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -599,7 +599,7 @@ proseWrap: "always" ================================================================================ `; -exports[`props-in-map.yml 1`] = ` +exports[`props-in-map.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -615,7 +615,7 @@ a: !!str &anchor > ================================================================================ `; -exports[`props-in-map.yml 2`] = ` +exports[`props-in-map.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -632,7 +632,7 @@ a: !!str &anchor > ================================================================================ `; -exports[`prose.yml 1`] = ` +exports[`prose.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -726,7 +726,7 @@ printWidth: 80 ================================================================================ `; -exports[`prose.yml 2`] = ` +exports[`prose.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -791,7 +791,7 @@ proseWrap: "always" ================================================================================ `; -exports[`seq.yml 1`] = ` +exports[`seq.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -821,7 +821,7 @@ printWidth: 80 ================================================================================ `; -exports[`seq.yml 2`] = ` +exports[`seq.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -850,7 +850,7 @@ proseWrap: "always" ================================================================================ `; -exports[`strip.yml 1`] = ` +exports[`strip.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -872,7 +872,7 @@ printWidth: 80 ================================================================================ `; -exports[`strip.yml 2`] = ` +exports[`strip.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -893,7 +893,7 @@ proseWrap: "always" ================================================================================ `; -exports[`trailing-comment.yml 1`] = ` +exports[`trailing-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -909,7 +909,7 @@ a: !!str > # hello ================================================================================ `; -exports[`trailing-comment.yml 2`] = ` +exports[`trailing-comment.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 diff --git a/tests/yaml_block_literal/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_block_literal/__snapshots__/jsfmt.spec.js.snap index 8be278c0b9..f765e896b0 100644 --- a/tests/yaml_block_literal/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_block_literal/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`clip.yml 1`] = ` +exports[`clip.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -22,7 +22,7 @@ printWidth: 80 ================================================================================ `; -exports[`clip.yml 2`] = ` +exports[`clip.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -45,7 +45,7 @@ proseWrap: "always" ================================================================================ `; -exports[`indent.yml 1`] = ` +exports[`indent.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -67,7 +67,7 @@ printWidth: 80 ================================================================================ `; -exports[`indent.yml 2`] = ` +exports[`indent.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -90,7 +90,7 @@ proseWrap: "always" ================================================================================ `; -exports[`keep.yml 1`] = ` +exports[`keep.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -114,7 +114,7 @@ printWidth: 80 ================================================================================ `; -exports[`keep.yml 2`] = ` +exports[`keep.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -139,7 +139,7 @@ proseWrap: "always" ================================================================================ `; -exports[`map.yml 1`] = ` +exports[`map.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -179,7 +179,7 @@ c: 0 ================================================================================ `; -exports[`map.yml 2`] = ` +exports[`map.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -220,7 +220,7 @@ c: 0 ================================================================================ `; -exports[`middle-comment.yml 1`] = ` +exports[`middle-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -238,7 +238,7 @@ printWidth: 80 ================================================================================ `; -exports[`middle-comment.yml 2`] = ` +exports[`middle-comment.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -257,7 +257,7 @@ proseWrap: "always" ================================================================================ `; -exports[`middle-comments.yml 1`] = ` +exports[`middle-comments.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -278,7 +278,7 @@ printWidth: 80 ================================================================================ `; -exports[`middle-comments.yml 2`] = ` +exports[`middle-comments.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -300,7 +300,7 @@ proseWrap: "always" ================================================================================ `; -exports[`newline.yml 1`] = ` +exports[`newline.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -328,7 +328,7 @@ printWidth: 80 ================================================================================ `; -exports[`newline.yml 2`] = ` +exports[`newline.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -357,7 +357,7 @@ proseWrap: "always" ================================================================================ `; -exports[`newline-unaligned.yml 1`] = ` +exports[`newline-unaligned.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -431,7 +431,7 @@ printWidth: 80 ================================================================================ `; -exports[`newline-unaligned.yml 2`] = ` +exports[`newline-unaligned.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -506,7 +506,7 @@ proseWrap: "always" ================================================================================ `; -exports[`props.yml 1`] = ` +exports[`props.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -522,7 +522,7 @@ printWidth: 80 ================================================================================ `; -exports[`props.yml 2`] = ` +exports[`props.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -539,7 +539,7 @@ proseWrap: "always" ================================================================================ `; -exports[`props-in-map.yml 1`] = ` +exports[`props-in-map.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -555,7 +555,7 @@ a: !!str &anchor | ================================================================================ `; -exports[`props-in-map.yml 2`] = ` +exports[`props-in-map.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -572,7 +572,7 @@ a: !!str &anchor | ================================================================================ `; -exports[`seq.yml 1`] = ` +exports[`seq.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -602,7 +602,7 @@ printWidth: 80 ================================================================================ `; -exports[`seq.yml 2`] = ` +exports[`seq.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -633,7 +633,7 @@ proseWrap: "always" ================================================================================ `; -exports[`strip.yml 1`] = ` +exports[`strip.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -655,7 +655,7 @@ printWidth: 80 ================================================================================ `; -exports[`strip.yml 2`] = ` +exports[`strip.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -678,7 +678,7 @@ proseWrap: "always" ================================================================================ `; -exports[`trailing-comment.yml 1`] = ` +exports[`trailing-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -694,7 +694,7 @@ a: !!str | # hello ================================================================================ `; -exports[`trailing-comment.yml 2`] = ` +exports[`trailing-comment.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 diff --git a/tests/yaml_comment/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_comment/__snapshots__/jsfmt.spec.js.snap index f6878ba0bf..927245e6b2 100644 --- a/tests/yaml_comment/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_comment/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`collection.yml 1`] = ` +exports[`collection.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -70,7 +70,7 @@ empty_content: ================================================================================ `; -exports[`end-comment.yml 1`] = ` +exports[`end-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -108,7 +108,7 @@ A: ================================================================================ `; -exports[`in-empty-item-without-newlline.yml 1`] = ` +exports[`in-empty-item-without-newlline.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -123,7 +123,7 @@ a: ================================================================================ `; -exports[`root.yml 1`] = ` +exports[`root.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -137,7 +137,7 @@ printWidth: 80 ================================================================================ `; -exports[`set.yml 1`] = ` +exports[`set.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 diff --git a/tests/yaml_directive/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_directive/__snapshots__/jsfmt.spec.js.snap index abd0968710..cbbcbe20aa 100644 --- a/tests/yaml_directive/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_directive/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`with-parameters.yml 1`] = ` +exports[`with-parameters.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -16,7 +16,7 @@ printWidth: 80 ================================================================================ `; -exports[`without-parameters.yml 1`] = ` +exports[`without-parameters.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 diff --git a/tests/yaml_document/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_document/__snapshots__/jsfmt.spec.js.snap index 75ff697f77..2f5e6854ca 100644 --- a/tests/yaml_document/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_document/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`directives-and-comments.yml 1`] = ` +exports[`directives-and-comments.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -26,7 +26,7 @@ test ================================================================================ `; -exports[`separator.yml 1`] = ` +exports[`separator.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -69,7 +69,7 @@ g ================================================================================ `; -exports[`with-document-head.yml 1`] = ` +exports[`with-document-head.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -85,7 +85,7 @@ printWidth: 80 ================================================================================ `; -exports[`with-document-head-like.yml 1`] = ` +exports[`with-document-head-like.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -101,7 +101,7 @@ printWidth: 80 ================================================================================ `; -exports[`without-document-head.yml 1`] = ` +exports[`without-document-head.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 diff --git a/tests/yaml_flow_mapping/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_flow_mapping/__snapshots__/jsfmt.spec.js.snap index 7c81cf754b..2a288dae8d 100644 --- a/tests/yaml_flow_mapping/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_flow_mapping/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`alias-key.yml 1`] = ` +exports[`alias-key.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -14,7 +14,7 @@ printWidth: 80 ================================================================================ `; -exports[`alias-key.yml 2`] = ` +exports[`alias-key.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -29,7 +29,7 @@ tabWidth: 4 ================================================================================ `; -exports[`alias-key.yml 3`] = ` +exports[`alias-key.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -44,7 +44,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-key.yml 1`] = ` +exports[`array-key.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -74,7 +74,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-key.yml 2`] = ` +exports[`array-key.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -105,7 +105,7 @@ tabWidth: 4 ================================================================================ `; -exports[`array-key.yml 3`] = ` +exports[`array-key.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -136,7 +136,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-key-array-value.yml 1`] = ` +exports[`array-key-array-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -181,7 +181,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-key-array-value.yml 2`] = ` +exports[`array-key-array-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -227,7 +227,7 @@ tabWidth: 4 ================================================================================ `; -exports[`array-key-array-value.yml 3`] = ` +exports[`array-key-array-value.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -273,7 +273,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-plain.yml 1`] = ` +exports[`array-plain.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -303,7 +303,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-plain.yml 2`] = ` +exports[`array-plain.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -334,7 +334,7 @@ tabWidth: 4 ================================================================================ `; -exports[`array-plain.yml 3`] = ` +exports[`array-plain.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -365,7 +365,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-value.yml 1`] = ` +exports[`array-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -398,7 +398,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-value.yml 2`] = ` +exports[`array-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -432,7 +432,7 @@ tabWidth: 4 ================================================================================ `; -exports[`array-value.yml 3`] = ` +exports[`array-value.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -466,7 +466,7 @@ printWidth: 80 ================================================================================ `; -exports[`comment-between.yml 1`] = ` +exports[`comment-between.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -488,7 +488,7 @@ printWidth: 80 ================================================================================ `; -exports[`comment-between.yml 2`] = ` +exports[`comment-between.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -511,7 +511,7 @@ tabWidth: 4 ================================================================================ `; -exports[`comment-between.yml 3`] = ` +exports[`comment-between.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -534,7 +534,7 @@ printWidth: 80 ================================================================================ `; -exports[`comment-trailing.yml 1`] = ` +exports[`comment-trailing.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -551,7 +551,7 @@ printWidth: 80 ================================================================================ `; -exports[`comment-trailing.yml 2`] = ` +exports[`comment-trailing.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -569,7 +569,7 @@ tabWidth: 4 ================================================================================ `; -exports[`comment-trailing.yml 3`] = ` +exports[`comment-trailing.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -587,7 +587,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty.yml 1`] = ` +exports[`empty.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -601,7 +601,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty.yml 2`] = ` +exports[`empty.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -616,7 +616,7 @@ tabWidth: 4 ================================================================================ `; -exports[`empty.yml 3`] = ` +exports[`empty.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -631,7 +631,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty-item-colon.yml 1`] = ` +exports[`empty-item-colon.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -645,7 +645,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty-item-colon.yml 2`] = ` +exports[`empty-item-colon.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -660,7 +660,7 @@ tabWidth: 4 ================================================================================ `; -exports[`empty-item-colon.yml 3`] = ` +exports[`empty-item-colon.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -675,7 +675,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty-line.yml 1`] = ` +exports[`empty-line.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -695,7 +695,7 @@ bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb } ================================================================================ `; -exports[`empty-line.yml 2`] = ` +exports[`empty-line.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -716,7 +716,7 @@ bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb } ================================================================================ `; -exports[`empty-line.yml 3`] = ` +exports[`empty-line.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -737,7 +737,7 @@ bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb } ================================================================================ `; -exports[`empty-line-collapse.yml 1`] = ` +exports[`empty-line-collapse.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -753,7 +753,7 @@ bbb } ================================================================================ `; -exports[`empty-line-collapse.yml 2`] = ` +exports[`empty-line-collapse.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -770,7 +770,7 @@ bbb } ================================================================================ `; -exports[`empty-line-collapse.yml 3`] = ` +exports[`empty-line-collapse.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -787,7 +787,7 @@ bbb } ================================================================================ `; -exports[`long-key.yml 1`] = ` +exports[`long-key.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -805,7 +805,7 @@ printWidth: 80 ================================================================================ `; -exports[`long-key.yml 2`] = ` +exports[`long-key.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -824,7 +824,7 @@ tabWidth: 4 ================================================================================ `; -exports[`long-key.yml 3`] = ` +exports[`long-key.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -843,7 +843,7 @@ printWidth: 80 ================================================================================ `; -exports[`long-key-long-value.yml 1`] = ` +exports[`long-key-long-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -861,7 +861,7 @@ printWidth: 80 ================================================================================ `; -exports[`long-key-long-value.yml 2`] = ` +exports[`long-key-long-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -880,7 +880,7 @@ tabWidth: 4 ================================================================================ `; -exports[`long-key-long-value.yml 3`] = ` +exports[`long-key-long-value.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -899,7 +899,7 @@ printWidth: 80 ================================================================================ `; -exports[`long-plain.yml 1`] = ` +exports[`long-plain.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -917,7 +917,7 @@ printWidth: 80 ================================================================================ `; -exports[`long-plain.yml 2`] = ` +exports[`long-plain.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -936,7 +936,7 @@ tabWidth: 4 ================================================================================ `; -exports[`long-plain.yml 3`] = ` +exports[`long-plain.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -955,7 +955,7 @@ printWidth: 80 ================================================================================ `; -exports[`long-value.yml 1`] = ` +exports[`long-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -973,7 +973,7 @@ printWidth: 80 ================================================================================ `; -exports[`long-value.yml 2`] = ` +exports[`long-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -992,7 +992,7 @@ tabWidth: 4 ================================================================================ `; -exports[`long-value.yml 3`] = ` +exports[`long-value.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1011,7 +1011,7 @@ printWidth: 80 ================================================================================ `; -exports[`middle-comment.yml 1`] = ` +exports[`middle-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1027,7 +1027,7 @@ printWidth: 80 ================================================================================ `; -exports[`middle-comment.yml 2`] = ` +exports[`middle-comment.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1044,7 +1044,7 @@ tabWidth: 4 ================================================================================ `; -exports[`middle-comment.yml 3`] = ` +exports[`middle-comment.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1061,7 +1061,7 @@ printWidth: 80 ================================================================================ `; -exports[`middle-comments.yml 1`] = ` +exports[`middle-comments.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1080,7 +1080,7 @@ printWidth: 80 ================================================================================ `; -exports[`middle-comments.yml 2`] = ` +exports[`middle-comments.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1100,7 +1100,7 @@ tabWidth: 4 ================================================================================ `; -exports[`middle-comments.yml 3`] = ` +exports[`middle-comments.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1120,7 +1120,7 @@ printWidth: 80 ================================================================================ `; -exports[`next-empty-line.yml 1`] = ` +exports[`next-empty-line.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1143,7 +1143,7 @@ c: 123 ================================================================================ `; -exports[`next-empty-line.yml 2`] = ` +exports[`next-empty-line.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1167,7 +1167,7 @@ c: 123 ================================================================================ `; -exports[`next-empty-line.yml 3`] = ` +exports[`next-empty-line.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1191,7 +1191,7 @@ c: 123 ================================================================================ `; -exports[`props.yml 1`] = ` +exports[`props.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1205,7 +1205,7 @@ printWidth: 80 ================================================================================ `; -exports[`props.yml 2`] = ` +exports[`props.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1220,7 +1220,7 @@ tabWidth: 4 ================================================================================ `; -exports[`props.yml 3`] = ` +exports[`props.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1235,7 +1235,7 @@ printWidth: 80 ================================================================================ `; -exports[`props-in-map.yml 1`] = ` +exports[`props-in-map.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1249,7 +1249,7 @@ a: !!map &anchor { a: 1 } ================================================================================ `; -exports[`props-in-map.yml 2`] = ` +exports[`props-in-map.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1264,7 +1264,7 @@ a: !!map &anchor { a: 1 } ================================================================================ `; -exports[`props-in-map.yml 3`] = ` +exports[`props-in-map.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1279,7 +1279,7 @@ a: !!map &anchor {a: 1} ================================================================================ `; -exports[`short-key.yml 1`] = ` +exports[`short-key.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1293,7 +1293,7 @@ printWidth: 80 ================================================================================ `; -exports[`short-key.yml 2`] = ` +exports[`short-key.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1308,7 +1308,7 @@ tabWidth: 4 ================================================================================ `; -exports[`short-key.yml 3`] = ` +exports[`short-key.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1323,7 +1323,7 @@ printWidth: 80 ================================================================================ `; -exports[`short-key-short-value.yml 1`] = ` +exports[`short-key-short-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1337,7 +1337,7 @@ printWidth: 80 ================================================================================ `; -exports[`short-key-short-value.yml 2`] = ` +exports[`short-key-short-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1352,7 +1352,7 @@ tabWidth: 4 ================================================================================ `; -exports[`short-key-short-value.yml 3`] = ` +exports[`short-key-short-value.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1367,7 +1367,7 @@ printWidth: 80 ================================================================================ `; -exports[`short-plain.yml 1`] = ` +exports[`short-plain.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1381,7 +1381,7 @@ printWidth: 80 ================================================================================ `; -exports[`short-plain.yml 2`] = ` +exports[`short-plain.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1396,7 +1396,7 @@ tabWidth: 4 ================================================================================ `; -exports[`short-plain.yml 3`] = ` +exports[`short-plain.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1411,7 +1411,7 @@ printWidth: 80 ================================================================================ `; -exports[`short-value.yml 1`] = ` +exports[`short-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1425,7 +1425,7 @@ printWidth: 80 ================================================================================ `; -exports[`short-value.yml 2`] = ` +exports[`short-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1440,7 +1440,7 @@ tabWidth: 4 ================================================================================ `; -exports[`short-value.yml 3`] = ` +exports[`short-value.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1455,7 +1455,7 @@ printWidth: 80 ================================================================================ `; -exports[`very-long-value.yml 1`] = ` +exports[`very-long-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1473,7 +1473,7 @@ x: 12345678901234567890123456789012345678901234567890123456789012345678901234567 ================================================================================ `; -exports[`very-long-value.yml 2`] = ` +exports[`very-long-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1492,7 +1492,7 @@ x: 12345678901234567890123456789012345678901234567890123456789012345678901234567 ================================================================================ `; -exports[`very-long-value.yml 3`] = ` +exports[`very-long-value.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] diff --git a/tests/yaml_flow_sequence/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_flow_sequence/__snapshots__/jsfmt.spec.js.snap index b6b797b91d..3ad995276f 100644 --- a/tests/yaml_flow_sequence/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_flow_sequence/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`alias-key.yml 1`] = ` +exports[`alias-key.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -14,7 +14,7 @@ printWidth: 80 ================================================================================ `; -exports[`alias-key.yml 2`] = ` +exports[`alias-key.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -29,7 +29,7 @@ tabWidth: 4 ================================================================================ `; -exports[`alias-key.yml 3`] = ` +exports[`alias-key.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -44,7 +44,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-key.yml 1`] = ` +exports[`array-key.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -74,7 +74,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-key.yml 2`] = ` +exports[`array-key.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -105,7 +105,7 @@ tabWidth: 4 ================================================================================ `; -exports[`array-key.yml 3`] = ` +exports[`array-key.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -136,7 +136,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-key-array-value.yml 1`] = ` +exports[`array-key-array-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -181,7 +181,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-key-array-value.yml 2`] = ` +exports[`array-key-array-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -227,7 +227,7 @@ tabWidth: 4 ================================================================================ `; -exports[`array-key-array-value.yml 3`] = ` +exports[`array-key-array-value.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -273,7 +273,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-plain.yml 1`] = ` +exports[`array-plain.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -303,7 +303,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-plain.yml 2`] = ` +exports[`array-plain.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -334,7 +334,7 @@ tabWidth: 4 ================================================================================ `; -exports[`array-plain.yml 3`] = ` +exports[`array-plain.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -365,7 +365,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-value.yml 1`] = ` +exports[`array-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -395,7 +395,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-value.yml 2`] = ` +exports[`array-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -426,7 +426,7 @@ tabWidth: 4 ================================================================================ `; -exports[`array-value.yml 3`] = ` +exports[`array-value.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -457,7 +457,7 @@ printWidth: 80 ================================================================================ `; -exports[`comment-between.yml 1`] = ` +exports[`comment-between.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -479,7 +479,7 @@ printWidth: 80 ================================================================================ `; -exports[`comment-between.yml 2`] = ` +exports[`comment-between.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -502,7 +502,7 @@ tabWidth: 4 ================================================================================ `; -exports[`comment-between.yml 3`] = ` +exports[`comment-between.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -525,7 +525,7 @@ printWidth: 80 ================================================================================ `; -exports[`comment-trailing.yml 1`] = ` +exports[`comment-trailing.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -542,7 +542,7 @@ printWidth: 80 ================================================================================ `; -exports[`comment-trailing.yml 2`] = ` +exports[`comment-trailing.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -560,7 +560,7 @@ tabWidth: 4 ================================================================================ `; -exports[`comment-trailing.yml 3`] = ` +exports[`comment-trailing.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -578,7 +578,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty.yml 1`] = ` +exports[`empty.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -592,7 +592,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty.yml 2`] = ` +exports[`empty.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -607,7 +607,7 @@ tabWidth: 4 ================================================================================ `; -exports[`empty.yml 3`] = ` +exports[`empty.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -622,7 +622,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty-item-colon.yml 1`] = ` +exports[`empty-item-colon.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -636,7 +636,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty-item-colon.yml 2`] = ` +exports[`empty-item-colon.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -651,7 +651,7 @@ tabWidth: 4 ================================================================================ `; -exports[`empty-item-colon.yml 3`] = ` +exports[`empty-item-colon.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -666,7 +666,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty-line.yml 1`] = ` +exports[`empty-line.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -686,7 +686,7 @@ bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ] ================================================================================ `; -exports[`empty-line.yml 2`] = ` +exports[`empty-line.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -707,7 +707,7 @@ bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ] ================================================================================ `; -exports[`empty-line.yml 3`] = ` +exports[`empty-line.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -728,7 +728,7 @@ bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb ] ================================================================================ `; -exports[`empty-line-collapse.yml 1`] = ` +exports[`empty-line-collapse.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -744,7 +744,7 @@ bbb ] ================================================================================ `; -exports[`empty-line-collapse.yml 2`] = ` +exports[`empty-line-collapse.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -761,7 +761,7 @@ bbb ] ================================================================================ `; -exports[`empty-line-collapse.yml 3`] = ` +exports[`empty-line-collapse.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -778,7 +778,7 @@ bbb ] ================================================================================ `; -exports[`long-key.yml 1`] = ` +exports[`long-key.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -796,7 +796,7 @@ printWidth: 80 ================================================================================ `; -exports[`long-key.yml 2`] = ` +exports[`long-key.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -815,7 +815,7 @@ tabWidth: 4 ================================================================================ `; -exports[`long-key.yml 3`] = ` +exports[`long-key.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -834,7 +834,7 @@ printWidth: 80 ================================================================================ `; -exports[`long-key-long-value.yml 1`] = ` +exports[`long-key-long-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -852,7 +852,7 @@ printWidth: 80 ================================================================================ `; -exports[`long-key-long-value.yml 2`] = ` +exports[`long-key-long-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -871,7 +871,7 @@ tabWidth: 4 ================================================================================ `; -exports[`long-key-long-value.yml 3`] = ` +exports[`long-key-long-value.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -890,7 +890,7 @@ printWidth: 80 ================================================================================ `; -exports[`long-plain.yml 1`] = ` +exports[`long-plain.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -908,7 +908,7 @@ printWidth: 80 ================================================================================ `; -exports[`long-plain.yml 2`] = ` +exports[`long-plain.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -927,7 +927,7 @@ tabWidth: 4 ================================================================================ `; -exports[`long-plain.yml 3`] = ` +exports[`long-plain.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -946,7 +946,7 @@ printWidth: 80 ================================================================================ `; -exports[`long-value.yml 1`] = ` +exports[`long-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -964,7 +964,7 @@ printWidth: 80 ================================================================================ `; -exports[`long-value.yml 2`] = ` +exports[`long-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -983,7 +983,7 @@ tabWidth: 4 ================================================================================ `; -exports[`long-value.yml 3`] = ` +exports[`long-value.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1002,7 +1002,7 @@ printWidth: 80 ================================================================================ `; -exports[`middle-comment.yml 1`] = ` +exports[`middle-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1018,7 +1018,7 @@ printWidth: 80 ================================================================================ `; -exports[`middle-comment.yml 2`] = ` +exports[`middle-comment.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1035,7 +1035,7 @@ tabWidth: 4 ================================================================================ `; -exports[`middle-comment.yml 3`] = ` +exports[`middle-comment.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1052,7 +1052,7 @@ printWidth: 80 ================================================================================ `; -exports[`middle-comments.yml 1`] = ` +exports[`middle-comments.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1071,7 +1071,7 @@ printWidth: 80 ================================================================================ `; -exports[`middle-comments.yml 2`] = ` +exports[`middle-comments.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1091,7 +1091,7 @@ tabWidth: 4 ================================================================================ `; -exports[`middle-comments.yml 3`] = ` +exports[`middle-comments.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1111,7 +1111,7 @@ printWidth: 80 ================================================================================ `; -exports[`next-empty-line.yml 1`] = ` +exports[`next-empty-line.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1134,7 +1134,7 @@ c: 123 ================================================================================ `; -exports[`next-empty-line.yml 2`] = ` +exports[`next-empty-line.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1158,7 +1158,7 @@ c: 123 ================================================================================ `; -exports[`next-empty-line.yml 3`] = ` +exports[`next-empty-line.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1182,7 +1182,7 @@ c: 123 ================================================================================ `; -exports[`props.yml 1`] = ` +exports[`props.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1196,7 +1196,7 @@ printWidth: 80 ================================================================================ `; -exports[`props.yml 2`] = ` +exports[`props.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1211,7 +1211,7 @@ tabWidth: 4 ================================================================================ `; -exports[`props.yml 3`] = ` +exports[`props.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1226,7 +1226,7 @@ printWidth: 80 ================================================================================ `; -exports[`props-in-map.yml 1`] = ` +exports[`props-in-map.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1240,7 +1240,7 @@ a: !!set &anchor [1] ================================================================================ `; -exports[`props-in-map.yml 2`] = ` +exports[`props-in-map.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1255,7 +1255,7 @@ a: !!set &anchor [1] ================================================================================ `; -exports[`props-in-map.yml 3`] = ` +exports[`props-in-map.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1270,7 +1270,7 @@ a: !!set &anchor [1] ================================================================================ `; -exports[`short-key.yml 1`] = ` +exports[`short-key.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1284,7 +1284,7 @@ printWidth: 80 ================================================================================ `; -exports[`short-key.yml 2`] = ` +exports[`short-key.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1299,7 +1299,7 @@ tabWidth: 4 ================================================================================ `; -exports[`short-key.yml 3`] = ` +exports[`short-key.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1314,7 +1314,7 @@ printWidth: 80 ================================================================================ `; -exports[`short-key-short-value.yml 1`] = ` +exports[`short-key-short-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1328,7 +1328,7 @@ printWidth: 80 ================================================================================ `; -exports[`short-key-short-value.yml 2`] = ` +exports[`short-key-short-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1343,7 +1343,7 @@ tabWidth: 4 ================================================================================ `; -exports[`short-key-short-value.yml 3`] = ` +exports[`short-key-short-value.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1358,7 +1358,7 @@ printWidth: 80 ================================================================================ `; -exports[`short-plain.yml 1`] = ` +exports[`short-plain.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1372,7 +1372,7 @@ printWidth: 80 ================================================================================ `; -exports[`short-plain.yml 2`] = ` +exports[`short-plain.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1387,7 +1387,7 @@ tabWidth: 4 ================================================================================ `; -exports[`short-plain.yml 3`] = ` +exports[`short-plain.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] @@ -1402,7 +1402,7 @@ printWidth: 80 ================================================================================ `; -exports[`short-value.yml 1`] = ` +exports[`short-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1416,7 +1416,7 @@ printWidth: 80 ================================================================================ `; -exports[`short-value.yml 2`] = ` +exports[`short-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1431,7 +1431,7 @@ tabWidth: 4 ================================================================================ `; -exports[`short-value.yml 3`] = ` +exports[`short-value.yml format 3`] = ` ====================================options===================================== bracketSpacing: false parsers: ["yaml"] diff --git a/tests/yaml_insert_pragma/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_insert_pragma/__snapshots__/jsfmt.spec.js.snap index 5aebff101f..51357ee1a7 100644 --- a/tests/yaml_insert_pragma/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_insert_pragma/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`with-pragma.yml 1`] = ` +exports[`with-pragma.yml format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["yaml"] @@ -19,7 +19,7 @@ printWidth: 80 ================================================================================ `; -exports[`without-pragma.yml 1`] = ` +exports[`without-pragma.yml format 1`] = ` ====================================options===================================== insertPragma: true parsers: ["yaml"] diff --git a/tests/yaml_mapping/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_mapping/__snapshots__/jsfmt.spec.js.snap index c6dd88af6e..35be7519a7 100644 --- a/tests/yaml_mapping/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_mapping/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`3-style.yml 1`] = ` +exports[`3-style.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -26,7 +26,7 @@ printWidth: 80 ================================================================================ `; -exports[`3-style.yml 2`] = ` +exports[`3-style.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -53,7 +53,7 @@ tabWidth: 4 ================================================================================ `; -exports[`array-key.yml 1`] = ` +exports[`array-key.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -67,7 +67,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-key.yml 2`] = ` +exports[`array-key.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -82,7 +82,7 @@ tabWidth: 4 ================================================================================ `; -exports[`array-value.yml 1`] = ` +exports[`array-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -96,7 +96,7 @@ printWidth: 80 ================================================================================ `; -exports[`array-value.yml 2`] = ` +exports[`array-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -111,7 +111,7 @@ tabWidth: 4 ================================================================================ `; -exports[`comment.yml 1`] = ` +exports[`comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -129,7 +129,7 @@ printWidth: 80 ================================================================================ `; -exports[`comment.yml 2`] = ` +exports[`comment.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -148,7 +148,7 @@ tabWidth: 4 ================================================================================ `; -exports[`comment-value.yml 1`] = ` +exports[`comment-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -162,7 +162,7 @@ printWidth: 80 ================================================================================ `; -exports[`comment-value.yml 2`] = ` +exports[`comment-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -177,7 +177,7 @@ tabWidth: 4 ================================================================================ `; -exports[`common.yml 1`] = ` +exports[`common.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -193,7 +193,7 @@ key2: longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglo ================================================================================ `; -exports[`common.yml 2`] = ` +exports[`common.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -210,7 +210,7 @@ key2: longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglo ================================================================================ `; -exports[`explicit-key.yml 1`] = ` +exports[`explicit-key.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -231,7 +231,7 @@ longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglong ================================================================================ `; -exports[`explicit-key.yml 2`] = ` +exports[`explicit-key.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -253,7 +253,7 @@ longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglong ================================================================================ `; -exports[`in-sequence.yml 1`] = ` +exports[`in-sequence.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -269,7 +269,7 @@ printWidth: 80 ================================================================================ `; -exports[`in-sequence.yml 2`] = ` +exports[`in-sequence.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -286,7 +286,7 @@ tabWidth: 4 ================================================================================ `; -exports[`key-with-leading-comment.yml 1`] = ` +exports[`key-with-leading-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -304,7 +304,7 @@ printWidth: 80 ================================================================================ `; -exports[`key-with-leading-comment.yml 2`] = ` +exports[`key-with-leading-comment.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -323,7 +323,7 @@ tabWidth: 4 ================================================================================ `; -exports[`mapping.yml 1`] = ` +exports[`mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -339,7 +339,7 @@ key: ================================================================================ `; -exports[`mapping.yml 2`] = ` +exports[`mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -356,7 +356,7 @@ key: ================================================================================ `; -exports[`merge-twice.yml 1`] = ` +exports[`merge-twice.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -388,7 +388,7 @@ foo: ================================================================================ `; -exports[`merge-twice.yml 2`] = ` +exports[`merge-twice.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -421,7 +421,7 @@ foo: ================================================================================ `; -exports[`middle-comment.yml 1`] = ` +exports[`middle-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -437,7 +437,7 @@ a: 123 ================================================================================ `; -exports[`middle-comment.yml 2`] = ` +exports[`middle-comment.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -454,7 +454,7 @@ a: 123 ================================================================================ `; -exports[`middle-comments.yml 1`] = ` +exports[`middle-comments.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -473,7 +473,7 @@ a: 123 ================================================================================ `; -exports[`middle-comments.yml 2`] = ` +exports[`middle-comments.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -493,7 +493,7 @@ a: 123 ================================================================================ `; -exports[`props.yml 1`] = ` +exports[`props.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -510,7 +510,7 @@ a: 123 ================================================================================ `; -exports[`props.yml 2`] = ` +exports[`props.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -528,7 +528,7 @@ a: 123 ================================================================================ `; -exports[`props-in-map.yml 1`] = ` +exports[`props-in-map.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -544,7 +544,7 @@ a: !!map &anchor ================================================================================ `; -exports[`props-in-map.yml 2`] = ` +exports[`props-in-map.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -561,7 +561,7 @@ a: !!map &anchor ================================================================================ `; -exports[`quote-key.yml 1`] = ` +exports[`quote-key.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -577,7 +577,7 @@ printWidth: 80 ================================================================================ `; -exports[`quote-key.yml 2`] = ` +exports[`quote-key.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -594,7 +594,7 @@ tabWidth: 4 ================================================================================ `; -exports[`sequence.yml 1`] = ` +exports[`sequence.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -610,7 +610,7 @@ key: ================================================================================ `; -exports[`sequence.yml 2`] = ` +exports[`sequence.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -627,7 +627,7 @@ key: ================================================================================ `; -exports[`tag-key.yml 1`] = ` +exports[`tag-key.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -642,7 +642,7 @@ printWidth: 80 ================================================================================ `; -exports[`tag-key.yml 2`] = ` +exports[`tag-key.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 diff --git a/tests/yaml_plain/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_plain/__snapshots__/jsfmt.spec.js.snap index 520ab84900..6ecf239868 100644 --- a/tests/yaml_plain/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_plain/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`force-singleline-in-mapping-value.yml 1`] = ` +exports[`force-singleline-in-mapping-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -32,7 +32,7 @@ newline: longlonglonglonglonglonglonglonglonglonglong ================================================================================ `; -exports[`force-singleline-in-mapping-value.yml 2`] = ` +exports[`force-singleline-in-mapping-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -64,7 +64,7 @@ newline: longlonglonglonglonglonglonglonglonglonglong ================================================================================ `; -exports[`force-singleline-in-mapping-value.yml 3`] = ` +exports[`force-singleline-in-mapping-value.yml format 3`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -100,7 +100,7 @@ newline: longlonglonglonglonglonglonglonglonglonglong ================================================================================ `; -exports[`middle-comment.yml 1`] = ` +exports[`middle-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -116,7 +116,7 @@ hello ================================================================================ `; -exports[`middle-comment.yml 2`] = ` +exports[`middle-comment.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -133,7 +133,7 @@ hello ================================================================================ `; -exports[`middle-comment.yml 3`] = ` +exports[`middle-comment.yml format 3`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -150,7 +150,7 @@ hello ================================================================================ `; -exports[`middle-comments.yml 1`] = ` +exports[`middle-comments.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -169,7 +169,7 @@ hello ================================================================================ `; -exports[`middle-comments.yml 2`] = ` +exports[`middle-comments.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -189,7 +189,7 @@ hello ================================================================================ `; -exports[`middle-comments.yml 3`] = ` +exports[`middle-comments.yml format 3`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -209,7 +209,7 @@ hello ================================================================================ `; -exports[`multiline.yml 1`] = ` +exports[`multiline.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -257,7 +257,7 @@ b: 123123123123123123123123123 ================================================================================ `; -exports[`multiline.yml 2`] = ` +exports[`multiline.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -301,7 +301,7 @@ b: ================================================================================ `; -exports[`multiline.yml 3`] = ` +exports[`multiline.yml format 3`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -347,7 +347,7 @@ b: 123123123123123123123123123 123123123123123123123123123 ================================================================================ `; -exports[`true.yml 1`] = ` +exports[`true.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -361,7 +361,7 @@ hello ================================================================================ `; -exports[`true.yml 2`] = ` +exports[`true.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -376,7 +376,7 @@ hello ================================================================================ `; -exports[`true.yml 3`] = ` +exports[`true.yml format 3`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -391,7 +391,7 @@ hello ================================================================================ `; -exports[`verbatim.yml 1`] = ` +exports[`verbatim.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -405,7 +405,7 @@ printWidth: 80 ================================================================================ `; -exports[`verbatim.yml 2`] = ` +exports[`verbatim.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -420,7 +420,7 @@ proseWrap: "never" ================================================================================ `; -exports[`verbatim.yml 3`] = ` +exports[`verbatim.yml format 3`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 diff --git a/tests/yaml_prettier_ignore/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_prettier_ignore/__snapshots__/jsfmt.spec.js.snap index 85946e3983..c668fbd2f7 100644 --- a/tests/yaml_prettier_ignore/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_prettier_ignore/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`document.yml 1`] = ` +exports[`document.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -25,7 +25,7 @@ aaaaa: bbbbb ================================================================================ `; -exports[`leading-comment.yml 1`] = ` +exports[`leading-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -43,7 +43,7 @@ def: 456 ================================================================================ `; -exports[`middle-comment.yml 1`] = ` +exports[`middle-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -65,7 +65,7 @@ def: !!str # hello ================================================================================ `; -exports[`trailing-comma.yml 1`] = ` +exports[`trailing-comma.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -95,7 +95,7 @@ printWidth: 80 ================================================================================ `; -exports[`trailing-comment.yml 1`] = ` +exports[`trailing-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 diff --git a/tests/yaml_quote/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_quote/__snapshots__/jsfmt.spec.js.snap index 4019897c0d..e71432d992 100644 --- a/tests/yaml_quote/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_quote/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`multiline.yml 1`] = ` +exports[`multiline.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -88,7 +88,7 @@ b: " ================================================================================ `; -exports[`multiline.yml 2`] = ` +exports[`multiline.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -177,7 +177,7 @@ b: ' ================================================================================ `; -exports[`multiline.yml 3`] = ` +exports[`multiline.yml format 3`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -254,7 +254,7 @@ b: " ================================================================================ `; -exports[`multiline.yml 4`] = ` +exports[`multiline.yml format 4`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -337,7 +337,7 @@ b: " ================================================================================ `; -exports[`quote.yml 1`] = ` +exports[`quote.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -367,7 +367,7 @@ printWidth: 80 ================================================================================ `; -exports[`quote.yml 2`] = ` +exports[`quote.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -398,7 +398,7 @@ singleQuote: true ================================================================================ `; -exports[`quote.yml 3`] = ` +exports[`quote.yml format 3`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -429,7 +429,7 @@ proseWrap: "never" ================================================================================ `; -exports[`quote.yml 4`] = ` +exports[`quote.yml format 4`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 diff --git a/tests/yaml_require_pragma/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_require_pragma/__snapshots__/jsfmt.spec.js.snap index 96a539eac7..cdd3095ef0 100644 --- a/tests/yaml_require_pragma/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_require_pragma/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`with-pragma.yml 1`] = ` +exports[`with-pragma.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -19,7 +19,7 @@ requirePragma: true ================================================================================ `; -exports[`without-pragma.yml 1`] = ` +exports[`without-pragma.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 diff --git a/tests/yaml_root/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_root/__snapshots__/jsfmt.spec.js.snap index 2ef9d84968..b75136fa2e 100644 --- a/tests/yaml_root/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_root/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`documents.yml 1`] = ` +exports[`documents.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -21,7 +21,7 @@ printWidth: 80 ================================================================================ `; -exports[`documents-with-directive.yml 1`] = ` +exports[`documents-with-directive.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -45,7 +45,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty.yml 1`] = ` +exports[`empty.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -57,7 +57,7 @@ printWidth: 80 ================================================================================ `; -exports[`example.yml 1`] = ` +exports[`example.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 diff --git a/tests/yaml_sequence/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_sequence/__snapshots__/jsfmt.spec.js.snap index 2ca1b8fb82..bb2d0d7c16 100644 --- a/tests/yaml_sequence/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_sequence/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`items.yml 1`] = ` +exports[`items.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -18,7 +18,7 @@ printWidth: 80 ================================================================================ `; -exports[`items.yml 2`] = ` +exports[`items.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -37,7 +37,7 @@ tabWidth: 4 ================================================================================ `; -exports[`middle-comment.yml 1`] = ` +exports[`middle-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -53,7 +53,7 @@ printWidth: 80 ================================================================================ `; -exports[`middle-comment.yml 2`] = ` +exports[`middle-comment.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -70,7 +70,7 @@ tabWidth: 4 ================================================================================ `; -exports[`middle-comments.yml 1`] = ` +exports[`middle-comments.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -89,7 +89,7 @@ printWidth: 80 ================================================================================ `; -exports[`middle-comments.yml 2`] = ` +exports[`middle-comments.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -109,7 +109,7 @@ tabWidth: 4 ================================================================================ `; -exports[`nested.yml 1`] = ` +exports[`nested.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -131,7 +131,7 @@ printWidth: 80 ================================================================================ `; -exports[`nested.yml 2`] = ` +exports[`nested.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -154,7 +154,7 @@ tabWidth: 4 ================================================================================ `; -exports[`null-item.yml 1`] = ` +exports[`null-item.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -168,7 +168,7 @@ printWidth: 80 ================================================================================ `; -exports[`null-item.yml 2`] = ` +exports[`null-item.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -183,7 +183,7 @@ tabWidth: 4 ================================================================================ `; -exports[`props.yml 1`] = ` +exports[`props.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -202,7 +202,7 @@ printWidth: 80 ================================================================================ `; -exports[`props.yml 2`] = ` +exports[`props.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -222,7 +222,7 @@ tabWidth: 4 ================================================================================ `; -exports[`props-in-map.yml 1`] = ` +exports[`props-in-map.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -240,7 +240,7 @@ a: !!set &anchor ================================================================================ `; -exports[`props-in-map.yml 2`] = ` +exports[`props-in-map.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 diff --git a/tests/yaml_spec/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_spec/__snapshots__/jsfmt.spec.js.snap index bbbcb24e84..61f3d12bad 100644 --- a/tests/yaml_spec/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yaml_spec/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`aliases-in-block-sequence.yml 1`] = ` +exports[`aliases-in-block-sequence.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -21,7 +21,7 @@ useTabs: true ================================================================================ `; -exports[`aliases-in-block-sequence.yml 2`] = ` +exports[`aliases-in-block-sequence.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -42,7 +42,7 @@ proseWrap: "always" ================================================================================ `; -exports[`aliases-in-explicit-block-mapping.yml 1`] = ` +exports[`aliases-in-explicit-block-mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -60,7 +60,7 @@ useTabs: true ================================================================================ `; -exports[`aliases-in-explicit-block-mapping.yml 2`] = ` +exports[`aliases-in-explicit-block-mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -78,7 +78,7 @@ proseWrap: "always" ================================================================================ `; -exports[`allowed-characters-in-alias.yml 1`] = ` +exports[`allowed-characters-in-alias.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -95,7 +95,7 @@ b: *:@*!$": ================================================================================ `; -exports[`allowed-characters-in-alias.yml 2`] = ` +exports[`allowed-characters-in-alias.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -112,7 +112,7 @@ b: *:@*!$": ================================================================================ `; -exports[`allowed-characters-in-keys.yml 1`] = ` +exports[`allowed-characters-in-keys.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -135,7 +135,7 @@ this is#not: a comment ================================================================================ `; -exports[`allowed-characters-in-keys.yml 2`] = ` +exports[`allowed-characters-in-keys.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -158,7 +158,7 @@ this is#not: a comment ================================================================================ `; -exports[`allowed-characters-in-plain-scalars.yml 1`] = ` +exports[`allowed-characters-in-plain-scalars.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -181,7 +181,7 @@ safe dash: -foo ================================================================================ `; -exports[`allowed-characters-in-plain-scalars.yml 2`] = ` +exports[`allowed-characters-in-plain-scalars.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -204,7 +204,7 @@ safe dash: -foo ================================================================================ `; -exports[`allowed-characters-in-quoted-mapping-key.yml 1`] = ` +exports[`allowed-characters-in-quoted-mapping-key.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -221,7 +221,7 @@ useTabs: true ================================================================================ `; -exports[`allowed-characters-in-quoted-mapping-key.yml 2`] = ` +exports[`allowed-characters-in-quoted-mapping-key.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -238,7 +238,7 @@ proseWrap: "always" ================================================================================ `; -exports[`anchor-before-zero-indented-sequence.yml 1`] = ` +exports[`anchor-before-zero-indented-sequence.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -260,7 +260,7 @@ seq: &anchor ================================================================================ `; -exports[`anchor-before-zero-indented-sequence.yml 2`] = ` +exports[`anchor-before-zero-indented-sequence.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -282,7 +282,7 @@ seq: &anchor ================================================================================ `; -exports[`anchor-with-unicode-character.yml 1`] = ` +exports[`anchor-with-unicode-character.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -299,7 +299,7 @@ useTabs: true ================================================================================ `; -exports[`anchor-with-unicode-character.yml 2`] = ` +exports[`anchor-with-unicode-character.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -316,7 +316,7 @@ proseWrap: "always" ================================================================================ `; -exports[`anchors-and-tags.yml 1`] = ` +exports[`anchors-and-tags.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -337,7 +337,7 @@ useTabs: true ================================================================================ `; -exports[`anchors-and-tags.yml 2`] = ` +exports[`anchors-and-tags.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -358,7 +358,7 @@ proseWrap: "always" ================================================================================ `; -exports[`anchors-in-mapping.yml 1`] = ` +exports[`anchors-in-mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -375,7 +375,7 @@ c: &d d ================================================================================ `; -exports[`anchors-in-mapping.yml 2`] = ` +exports[`anchors-in-mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -392,7 +392,7 @@ c: &d d ================================================================================ `; -exports[`anchors-with-colon-in-name.yml 1`] = ` +exports[`anchors-with-colon-in-name.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -410,7 +410,7 @@ foo: *a: ================================================================================ `; -exports[`anchors-with-colon-in-name.yml 2`] = ` +exports[`anchors-with-colon-in-name.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -428,7 +428,7 @@ foo: *a: ================================================================================ `; -exports[`backslashes-in-singlequotes.yml 1`] = ` +exports[`backslashes-in-singlequotes.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -443,7 +443,7 @@ useTabs: true ================================================================================ `; -exports[`backslashes-in-singlequotes.yml 2`] = ` +exports[`backslashes-in-singlequotes.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -458,7 +458,7 @@ proseWrap: "always" ================================================================================ `; -exports[`bare-document-after-document-end-marker.yml 1`] = ` +exports[`bare-document-after-document-end-marker.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -479,7 +479,7 @@ key: value ================================================================================ `; -exports[`bare-document-after-document-end-marker.yml 2`] = ` +exports[`bare-document-after-document-end-marker.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -500,7 +500,7 @@ key: value ================================================================================ `; -exports[`blank-lines.yml 1`] = ` +exports[`blank-lines.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -537,7 +537,7 @@ text: | ================================================================================ `; -exports[`blank-lines.yml 2`] = ` +exports[`blank-lines.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -574,7 +574,7 @@ text: | ================================================================================ `; -exports[`block-mapping-with-missing-values.yml 1`] = ` +exports[`block-mapping-with-missing-values.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -593,7 +593,7 @@ c: ================================================================================ `; -exports[`block-mapping-with-missing-values.yml 2`] = ` +exports[`block-mapping-with-missing-values.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -612,7 +612,7 @@ c: ================================================================================ `; -exports[`block-mapping-with-multiline-scalars.yml 1`] = ` +exports[`block-mapping-with-multiline-scalars.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -637,7 +637,7 @@ useTabs: true ================================================================================ `; -exports[`block-mapping-with-multiline-scalars.yml 2`] = ` +exports[`block-mapping-with-multiline-scalars.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -658,7 +658,7 @@ a true: null d ================================================================================ `; -exports[`block-mappings-in-block-sequence.yml 1`] = ` +exports[`block-mappings-in-block-sequence.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -678,7 +678,7 @@ useTabs: true ================================================================================ `; -exports[`block-mappings-in-block-sequence.yml 2`] = ` +exports[`block-mappings-in-block-sequence.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -698,7 +698,7 @@ proseWrap: "always" ================================================================================ `; -exports[`block-scalar-indicator-order.yml 1`] = ` +exports[`block-scalar-indicator-order.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -719,7 +719,7 @@ useTabs: true ================================================================================ `; -exports[`block-scalar-indicator-order.yml 2`] = ` +exports[`block-scalar-indicator-order.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -740,7 +740,7 @@ proseWrap: "always" ================================================================================ `; -exports[`block-scalar-keep.yml 1`] = ` +exports[`block-scalar-keep.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -763,7 +763,7 @@ useTabs: true ================================================================================ `; -exports[`block-scalar-keep.yml 2`] = ` +exports[`block-scalar-keep.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -786,7 +786,7 @@ proseWrap: "always" ================================================================================ `; -exports[`block-scalar-strip.yml 1`] = ` +exports[`block-scalar-strip.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -806,7 +806,7 @@ useTabs: true ================================================================================ `; -exports[`block-scalar-strip.yml 2`] = ` +exports[`block-scalar-strip.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -826,7 +826,7 @@ proseWrap: "always" ================================================================================ `; -exports[`block-scalar-with-spaces-only.yml 1`] = ` +exports[`block-scalar-with-spaces-only.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -847,7 +847,7 @@ empty block scalar: > ================================================================================ `; -exports[`block-scalar-with-spaces-only.yml 2`] = ` +exports[`block-scalar-with-spaces-only.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -868,7 +868,7 @@ empty block scalar: > ================================================================================ `; -exports[`block-sequence-in-block-mapping.yml 1`] = ` +exports[`block-sequence-in-block-mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -887,7 +887,7 @@ key: ================================================================================ `; -exports[`block-sequence-in-block-mapping.yml 2`] = ` +exports[`block-sequence-in-block-mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -906,7 +906,7 @@ key: ================================================================================ `; -exports[`block-sequence-in-block-sequence.yml 1`] = ` +exports[`block-sequence-in-block-sequence.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -925,7 +925,7 @@ useTabs: true ================================================================================ `; -exports[`block-sequence-in-block-sequence.yml 2`] = ` +exports[`block-sequence-in-block-sequence.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -944,7 +944,7 @@ proseWrap: "always" ================================================================================ `; -exports[`block-submapping.yml 1`] = ` +exports[`block-submapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -963,7 +963,7 @@ baz: 2 ================================================================================ `; -exports[`block-submapping.yml 2`] = ` +exports[`block-submapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -982,7 +982,7 @@ baz: 2 ================================================================================ `; -exports[`colon-in-double-quoted-string.yml 1`] = ` +exports[`colon-in-double-quoted-string.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -997,7 +997,7 @@ useTabs: true ================================================================================ `; -exports[`colon-in-double-quoted-string.yml 2`] = ` +exports[`colon-in-double-quoted-string.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1012,7 +1012,7 @@ proseWrap: "always" ================================================================================ `; -exports[`comment-in-flow-sequence-before-comma.yml 1`] = ` +exports[`comment-in-flow-sequence-before-comma.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1035,7 +1035,7 @@ useTabs: true ================================================================================ `; -exports[`comment-in-flow-sequence-before-comma.yml 2`] = ` +exports[`comment-in-flow-sequence-before-comma.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1058,7 +1058,7 @@ proseWrap: "always" ================================================================================ `; -exports[`construct-binary.yml 1`] = ` +exports[`construct-binary.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1094,7 +1094,7 @@ description: The binary value above is a tiny arrow encoded as a gif image. ================================================================================ `; -exports[`construct-binary.yml 2`] = ` +exports[`construct-binary.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1130,7 +1130,7 @@ description: The binary value above is a tiny arrow encoded as a gif image. ================================================================================ `; -exports[`document-start-on-last-line.yml 1`] = ` +exports[`document-start-on-last-line.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1150,7 +1150,7 @@ a: b ================================================================================ `; -exports[`document-start-on-last-line.yml 2`] = ` +exports[`document-start-on-last-line.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1170,7 +1170,7 @@ a: b ================================================================================ `; -exports[`document-with-footer.yml 1`] = ` +exports[`document-with-footer.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1186,7 +1186,7 @@ aaa: bbb ================================================================================ `; -exports[`document-with-footer.yml 2`] = ` +exports[`document-with-footer.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1202,7 +1202,7 @@ aaa: bbb ================================================================================ `; -exports[`empty-lines-at-end-of-document.yml 1`] = ` +exports[`empty-lines-at-end-of-document.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1220,7 +1220,7 @@ useTabs: true ================================================================================ `; -exports[`empty-lines-at-end-of-document.yml 2`] = ` +exports[`empty-lines-at-end-of-document.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1238,7 +1238,7 @@ proseWrap: "always" ================================================================================ `; -exports[`empty-lines-between-mapping-elements.yml 1`] = ` +exports[`empty-lines-between-mapping-elements.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1258,7 +1258,7 @@ useTabs: true ================================================================================ `; -exports[`empty-lines-between-mapping-elements.yml 2`] = ` +exports[`empty-lines-between-mapping-elements.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1278,7 +1278,7 @@ proseWrap: "always" ================================================================================ `; -exports[`empty-stream.yml 1`] = ` +exports[`empty-stream.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1291,7 +1291,7 @@ useTabs: true ================================================================================ `; -exports[`empty-stream.yml 2`] = ` +exports[`empty-stream.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1304,7 +1304,7 @@ proseWrap: "always" ================================================================================ `; -exports[`escaped-slash-in-double-quotes.yml 1`] = ` +exports[`escaped-slash-in-double-quotes.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1319,7 +1319,7 @@ escaped slash: "a\\/b" ================================================================================ `; -exports[`escaped-slash-in-double-quotes.yml 2`] = ` +exports[`escaped-slash-in-double-quotes.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1334,7 +1334,7 @@ escaped slash: "a\\/b" ================================================================================ `; -exports[`explicit-non-specific-tag.yml 1`] = ` +exports[`explicit-non-specific-tag.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1349,7 +1349,7 @@ useTabs: true ================================================================================ `; -exports[`explicit-non-specific-tag.yml 2`] = ` +exports[`explicit-non-specific-tag.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1364,7 +1364,7 @@ proseWrap: "always" ================================================================================ `; -exports[`flow-mapping.yml 1`] = ` +exports[`flow-mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1379,7 +1379,7 @@ useTabs: true ================================================================================ `; -exports[`flow-mapping.yml 2`] = ` +exports[`flow-mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1394,7 +1394,7 @@ proseWrap: "always" ================================================================================ `; -exports[`flow-mapping-in-block-sequence.yml 1`] = ` +exports[`flow-mapping-in-block-sequence.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1409,7 +1409,7 @@ useTabs: true ================================================================================ `; -exports[`flow-mapping-in-block-sequence.yml 2`] = ` +exports[`flow-mapping-in-block-sequence.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1424,7 +1424,7 @@ proseWrap: "always" ================================================================================ `; -exports[`flow-sequence.yml 1`] = ` +exports[`flow-sequence.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1439,7 +1439,7 @@ useTabs: true ================================================================================ `; -exports[`flow-sequence.yml 2`] = ` +exports[`flow-sequence.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1454,7 +1454,7 @@ proseWrap: "always" ================================================================================ `; -exports[`flow-sequence-in-block-mapping.yml 1`] = ` +exports[`flow-sequence-in-block-mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1469,7 +1469,7 @@ a: [b, c] ================================================================================ `; -exports[`flow-sequence-in-block-mapping.yml 2`] = ` +exports[`flow-sequence-in-block-mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1484,7 +1484,7 @@ a: [b, c] ================================================================================ `; -exports[`flow-sequence-in-flow-mapping.yml 1`] = ` +exports[`flow-sequence-in-flow-mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1499,7 +1499,7 @@ useTabs: true ================================================================================ `; -exports[`flow-sequence-in-flow-mapping.yml 2`] = ` +exports[`flow-sequence-in-flow-mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1514,7 +1514,7 @@ proseWrap: "always" ================================================================================ `; -exports[`flow-sequence-in-flow-sequence.yml 1`] = ` +exports[`flow-sequence-in-flow-sequence.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1529,7 +1529,7 @@ useTabs: true ================================================================================ `; -exports[`flow-sequence-in-flow-sequence.yml 2`] = ` +exports[`flow-sequence-in-flow-sequence.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1544,7 +1544,7 @@ proseWrap: "always" ================================================================================ `; -exports[`folded-block-scalar.yml 1`] = ` +exports[`folded-block-scalar.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1573,7 +1573,7 @@ useTabs: true ================================================================================ `; -exports[`folded-block-scalar.yml 2`] = ` +exports[`folded-block-scalar.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1601,7 +1601,7 @@ proseWrap: "always" ================================================================================ `; -exports[`implicit-flow-mapping-key-on-one-line.yml 1`] = ` +exports[`implicit-flow-mapping-key-on-one-line.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1616,7 +1616,7 @@ useTabs: true ================================================================================ `; -exports[`implicit-flow-mapping-key-on-one-line.yml 2`] = ` +exports[`implicit-flow-mapping-key-on-one-line.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1631,7 +1631,7 @@ proseWrap: "always" ================================================================================ `; -exports[`key-with-anchor-after-missing-explicit-mapping-value.yml 1`] = ` +exports[`key-with-anchor-after-missing-explicit-mapping-value.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1652,7 +1652,7 @@ b: ================================================================================ `; -exports[`key-with-anchor-after-missing-explicit-mapping-value.yml 2`] = ` +exports[`key-with-anchor-after-missing-explicit-mapping-value.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1673,7 +1673,7 @@ b: ================================================================================ `; -exports[`literal-block-scalar.yml 1`] = ` +exports[`literal-block-scalar.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1699,7 +1699,7 @@ a: | ================================================================================ `; -exports[`literal-block-scalar.yml 2`] = ` +exports[`literal-block-scalar.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1725,7 +1725,7 @@ a: | ================================================================================ `; -exports[`literal-unicode.yml 1`] = ` +exports[`literal-unicode.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1742,7 +1742,7 @@ wanted: love ♥ and peace ☮ ================================================================================ `; -exports[`literal-unicode.yml 2`] = ` +exports[`literal-unicode.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1759,7 +1759,7 @@ wanted: love ♥ and peace ☮ ================================================================================ `; -exports[`lookahead-test-cases.yml 1`] = ` +exports[`lookahead-test-cases.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1776,7 +1776,7 @@ useTabs: true ================================================================================ `; -exports[`lookahead-test-cases.yml 2`] = ` +exports[`lookahead-test-cases.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1793,7 +1793,7 @@ proseWrap: "always" ================================================================================ `; -exports[`mapping-key-and-flow-sequence-item-anchors.yml 1`] = ` +exports[`mapping-key-and-flow-sequence-item-anchors.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1812,7 +1812,7 @@ useTabs: true ================================================================================ `; -exports[`mapping-key-and-flow-sequence-item-anchors.yml 2`] = ` +exports[`mapping-key-and-flow-sequence-item-anchors.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1831,7 +1831,7 @@ proseWrap: "always" ================================================================================ `; -exports[`mixed-block-mapping-explicit-to-implicit.yml 1`] = ` +exports[`mixed-block-mapping-explicit-to-implicit.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1849,7 +1849,7 @@ a: 13 ================================================================================ `; -exports[`mixed-block-mapping-explicit-to-implicit.yml 2`] = ` +exports[`mixed-block-mapping-explicit-to-implicit.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1867,7 +1867,7 @@ a: 13 ================================================================================ `; -exports[`mixed-block-mapping-implicit-to-explicit.yml 1`] = ` +exports[`mixed-block-mapping-implicit-to-explicit.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1885,7 +1885,7 @@ a: 4.2 ================================================================================ `; -exports[`mixed-block-mapping-implicit-to-explicit.yml 2`] = ` +exports[`mixed-block-mapping-implicit-to-explicit.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1903,7 +1903,7 @@ a: 4.2 ================================================================================ `; -exports[`multi-level-mapping-indent.yml 1`] = ` +exports[`multi-level-mapping-indent.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1928,7 +1928,7 @@ h: i ================================================================================ `; -exports[`multi-level-mapping-indent.yml 2`] = ` +exports[`multi-level-mapping-indent.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1953,7 +1953,7 @@ h: i ================================================================================ `; -exports[`multiline-plain-scalar-with-empty-line.yml 1`] = ` +exports[`multiline-plain-scalar-with-empty-line.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1976,7 +1976,7 @@ plain: a ================================================================================ `; -exports[`multiline-plain-scalar-with-empty-line.yml 2`] = ` +exports[`multiline-plain-scalar-with-empty-line.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -1998,7 +1998,7 @@ plain: a b ================================================================================ `; -exports[`multiline-scalar-at-top-level.yml 1`] = ` +exports[`multiline-scalar-at-top-level.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2023,7 +2023,7 @@ e ================================================================================ `; -exports[`multiline-scalar-at-top-level.yml 2`] = ` +exports[`multiline-scalar-at-top-level.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2045,7 +2045,7 @@ e ================================================================================ `; -exports[`multiline-scalar-in-mapping.yml 1`] = ` +exports[`multiline-scalar-in-mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2067,7 +2067,7 @@ d: e ================================================================================ `; -exports[`multiline-scalar-in-mapping.yml 2`] = ` +exports[`multiline-scalar-in-mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2087,7 +2087,7 @@ d: e f ================================================================================ `; -exports[`multiline-scalar-that-looks-like-a-yaml-directive.yml 1`] = ` +exports[`multiline-scalar-that-looks-like-a-yaml-directive.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2106,7 +2106,7 @@ scalar ================================================================================ `; -exports[`multiline-scalar-that-looks-like-a-yaml-directive.yml 2`] = ` +exports[`multiline-scalar-that-looks-like-a-yaml-directive.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2124,7 +2124,7 @@ scalar %YAML 1.2 ================================================================================ `; -exports[`multiple-entry-block-sequence.yml 1`] = ` +exports[`multiple-entry-block-sequence.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2143,7 +2143,7 @@ useTabs: true ================================================================================ `; -exports[`multiple-entry-block-sequence.yml 2`] = ` +exports[`multiple-entry-block-sequence.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2162,7 +2162,7 @@ proseWrap: "always" ================================================================================ `; -exports[`multiple-pair-block-mapping.yml 1`] = ` +exports[`multiple-pair-block-mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2181,7 +2181,7 @@ baz: jazz ================================================================================ `; -exports[`multiple-pair-block-mapping.yml 2`] = ` +exports[`multiple-pair-block-mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2200,7 +2200,7 @@ baz: jazz ================================================================================ `; -exports[`nested-flow-collections.yml 1`] = ` +exports[`nested-flow-collections.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2223,7 +2223,7 @@ useTabs: true ================================================================================ `; -exports[`nested-flow-collections.yml 2`] = ` +exports[`nested-flow-collections.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2246,7 +2246,7 @@ proseWrap: "always" ================================================================================ `; -exports[`nested-flow-collections-on-one-line.yml 1`] = ` +exports[`nested-flow-collections-on-one-line.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2263,7 +2263,7 @@ useTabs: true ================================================================================ `; -exports[`nested-flow-collections-on-one-line.yml 2`] = ` +exports[`nested-flow-collections-on-one-line.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2280,7 +2280,7 @@ proseWrap: "always" ================================================================================ `; -exports[`node-anchor-and-tag-on-seperate-lines.yml 1`] = ` +exports[`node-anchor-and-tag-on-seperate-lines.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2298,7 +2298,7 @@ key: !!map &anchor ================================================================================ `; -exports[`node-anchor-and-tag-on-seperate-lines.yml 2`] = ` +exports[`node-anchor-and-tag-on-seperate-lines.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2316,7 +2316,7 @@ key: !!map &anchor ================================================================================ `; -exports[`node-and-mapping-key-anchors.yml 1`] = ` +exports[`node-and-mapping-key-anchors.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2359,7 +2359,7 @@ top7: &val7 seven ================================================================================ `; -exports[`node-and-mapping-key-anchors.yml 2`] = ` +exports[`node-and-mapping-key-anchors.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2402,7 +2402,7 @@ top7: &val7 seven ================================================================================ `; -exports[`non-specific-tags-on-scalars.yml 1`] = ` +exports[`non-specific-tags-on-scalars.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2427,7 +2427,7 @@ useTabs: true ================================================================================ `; -exports[`non-specific-tags-on-scalars.yml 2`] = ` +exports[`non-specific-tags-on-scalars.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2452,7 +2452,7 @@ proseWrap: "always" ================================================================================ `; -exports[`plain-mapping-key-ending-with-colon.yml 1`] = ` +exports[`plain-mapping-key-ending-with-colon.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2469,7 +2469,7 @@ key ends with two colons::: value ================================================================================ `; -exports[`plain-mapping-key-ending-with-colon.yml 2`] = ` +exports[`plain-mapping-key-ending-with-colon.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2486,7 +2486,7 @@ key ends with two colons::: value ================================================================================ `; -exports[`plain-scalar-looking-like-key-comment-anchor-and-tag.yml 1`] = ` +exports[`plain-scalar-looking-like-key-comment-anchor-and-tag.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2503,7 +2503,7 @@ k:#foo ================================================================================ `; -exports[`plain-scalar-looking-like-key-comment-anchor-and-tag.yml 2`] = ` +exports[`plain-scalar-looking-like-key-comment-anchor-and-tag.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2519,7 +2519,7 @@ k:#foo &a !t s ================================================================================ `; -exports[`plain-scalar-with-backslashes.yml 1`] = ` +exports[`plain-scalar-with-backslashes.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2536,7 +2536,7 @@ plain\\value\\with\\backslashes ================================================================================ `; -exports[`plain-scalar-with-backslashes.yml 2`] = ` +exports[`plain-scalar-with-backslashes.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2553,7 +2553,7 @@ plain\\value\\with\\backslashes ================================================================================ `; -exports[`plain-url-in-flow-mapping.yml 1`] = ` +exports[`plain-url-in-flow-mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2568,7 +2568,7 @@ useTabs: true ================================================================================ `; -exports[`plain-url-in-flow-mapping.yml 2`] = ` +exports[`plain-url-in-flow-mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2583,7 +2583,7 @@ proseWrap: "always" ================================================================================ `; -exports[`scalars-on-line.yml 1`] = ` +exports[`scalars-on-line.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2604,7 +2604,7 @@ string" ================================================================================ `; -exports[`scalars-on-line.yml 2`] = ` +exports[`scalars-on-line.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2624,7 +2624,7 @@ string" ================================================================================ `; -exports[`sequence-entry-that-looks-like-two-with-wrong-indentation.yml 1`] = ` +exports[`sequence-entry-that-looks-like-two-with-wrong-indentation.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2641,7 +2641,7 @@ useTabs: true ================================================================================ `; -exports[`sequence-entry-that-looks-like-two-with-wrong-indentation.yml 2`] = ` +exports[`sequence-entry-that-looks-like-two-with-wrong-indentation.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2657,7 +2657,7 @@ proseWrap: "always" ================================================================================ `; -exports[`sequence-indent.yml 1`] = ` +exports[`sequence-indent.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2678,7 +2678,7 @@ bar: ================================================================================ `; -exports[`sequence-indent.yml 2`] = ` +exports[`sequence-indent.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2699,7 +2699,7 @@ bar: ================================================================================ `; -exports[`sequence-with-same-indentation-as-parent-mapping.yml 1`] = ` +exports[`sequence-with-same-indentation-as-parent-mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2720,7 +2720,7 @@ useTabs: true ================================================================================ `; -exports[`sequence-with-same-indentation-as-parent-mapping.yml 2`] = ` +exports[`sequence-with-same-indentation-as-parent-mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2741,7 +2741,7 @@ proseWrap: "always" ================================================================================ `; -exports[`simple-mapping-indent.yml 1`] = ` +exports[`simple-mapping-indent.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2758,7 +2758,7 @@ foo: ================================================================================ `; -exports[`simple-mapping-indent.yml 2`] = ` +exports[`simple-mapping-indent.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2775,7 +2775,7 @@ foo: ================================================================================ `; -exports[`single-entry-block-sequence.yml 1`] = ` +exports[`single-entry-block-sequence.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2790,7 +2790,7 @@ useTabs: true ================================================================================ `; -exports[`single-entry-block-sequence.yml 2`] = ` +exports[`single-entry-block-sequence.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2805,7 +2805,7 @@ proseWrap: "always" ================================================================================ `; -exports[`single-pair-block-mapping.yml 1`] = ` +exports[`single-pair-block-mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2820,7 +2820,7 @@ foo: bar ================================================================================ `; -exports[`single-pair-block-mapping.yml 2`] = ` +exports[`single-pair-block-mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2835,7 +2835,7 @@ foo: bar ================================================================================ `; -exports[`spec-example-2-1-sequence-of-scalars.yml 1`] = ` +exports[`spec-example-2-1-sequence-of-scalars.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2854,7 +2854,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-2-1-sequence-of-scalars.yml 2`] = ` +exports[`spec-example-2-1-sequence-of-scalars.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2873,7 +2873,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-2-2-mapping-scalars-to-scalars.yml 1`] = ` +exports[`spec-example-2-2-mapping-scalars-to-scalars.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2892,7 +2892,7 @@ rbi: 147 # Runs Batted In ================================================================================ `; -exports[`spec-example-2-2-mapping-scalars-to-scalars.yml 2`] = ` +exports[`spec-example-2-2-mapping-scalars-to-scalars.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2911,7 +2911,7 @@ rbi: 147 # Runs Batted In ================================================================================ `; -exports[`spec-example-2-3-mapping-scalars-to-sequences.yml 1`] = ` +exports[`spec-example-2-3-mapping-scalars-to-sequences.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2940,7 +2940,7 @@ national: ================================================================================ `; -exports[`spec-example-2-3-mapping-scalars-to-sequences.yml 2`] = ` +exports[`spec-example-2-3-mapping-scalars-to-sequences.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2969,7 +2969,7 @@ national: ================================================================================ `; -exports[`spec-example-2-4-sequence-of-mappings.yml 1`] = ` +exports[`spec-example-2-4-sequence-of-mappings.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -2996,7 +2996,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-2-4-sequence-of-mappings.yml 2`] = ` +exports[`spec-example-2-4-sequence-of-mappings.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3023,7 +3023,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-2-5-sequence-of-sequences.yml 1`] = ` +exports[`spec-example-2-5-sequence-of-sequences.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3042,7 +3042,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-2-5-sequence-of-sequences.yml 2`] = ` +exports[`spec-example-2-5-sequence-of-sequences.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3061,7 +3061,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-2-6-mapping-of-mappings.yml 1`] = ` +exports[`spec-example-2-6-mapping-of-mappings.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3081,7 +3081,7 @@ Sammy Sosa: { hr: 63, avg: 0.288 } ================================================================================ `; -exports[`spec-example-2-6-mapping-of-mappings.yml 2`] = ` +exports[`spec-example-2-6-mapping-of-mappings.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3101,7 +3101,7 @@ Sammy Sosa: { hr: 63, avg: 0.288 } ================================================================================ `; -exports[`spec-example-2-7-two-documents-in-a-stream.yml 1`] = ` +exports[`spec-example-2-7-two-documents-in-a-stream.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3134,7 +3134,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-2-7-two-documents-in-a-stream.yml 2`] = ` +exports[`spec-example-2-7-two-documents-in-a-stream.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3167,7 +3167,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-2-8-play-by-play-feed-from-a-game.yml 1`] = ` +exports[`spec-example-2-8-play-by-play-feed-from-a-game.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3198,7 +3198,7 @@ action: grand slam ================================================================================ `; -exports[`spec-example-2-8-play-by-play-feed-from-a-game.yml 2`] = ` +exports[`spec-example-2-8-play-by-play-feed-from-a-game.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3229,7 +3229,7 @@ action: grand slam ================================================================================ `; -exports[`spec-example-2-9-single-document-with-two-comments.yml 1`] = ` +exports[`spec-example-2-9-single-document-with-two-comments.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3258,7 +3258,7 @@ rbi: ================================================================================ `; -exports[`spec-example-2-9-single-document-with-two-comments.yml 2`] = ` +exports[`spec-example-2-9-single-document-with-two-comments.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3287,7 +3287,7 @@ rbi: ================================================================================ `; -exports[`spec-example-2-10-node-for-sammy-sosa-appears-twice-in-this-document.yml 1`] = ` +exports[`spec-example-2-10-node-for-sammy-sosa-appears-twice-in-this-document.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3316,7 +3316,7 @@ rbi: ================================================================================ `; -exports[`spec-example-2-10-node-for-sammy-sosa-appears-twice-in-this-document.yml 2`] = ` +exports[`spec-example-2-10-node-for-sammy-sosa-appears-twice-in-this-document.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3345,7 +3345,7 @@ rbi: ================================================================================ `; -exports[`spec-example-2-11-mapping-between-sequences.yml 1`] = ` +exports[`spec-example-2-11-mapping-between-sequences.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3372,7 +3372,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-2-11-mapping-between-sequences.yml 2`] = ` +exports[`spec-example-2-11-mapping-between-sequences.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3399,7 +3399,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-2-12-compact-nested-mapping.yml 1`] = ` +exports[`spec-example-2-12-compact-nested-mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3428,7 +3428,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-2-12-compact-nested-mapping.yml 2`] = ` +exports[`spec-example-2-12-compact-nested-mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3457,7 +3457,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-2-13-in-literals-newlines-are-preserved.yml 1`] = ` +exports[`spec-example-2-13-in-literals-newlines-are-preserved.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3479,7 +3479,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-2-13-in-literals-newlines-are-preserved.yml 2`] = ` +exports[`spec-example-2-13-in-literals-newlines-are-preserved.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3501,7 +3501,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-2-14-in-the-folded-scalars-newlines-become-spaces.yml 1`] = ` +exports[`spec-example-2-14-in-the-folded-scalars-newlines-become-spaces.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3523,7 +3523,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-2-14-in-the-folded-scalars-newlines-become-spaces.yml 2`] = ` +exports[`spec-example-2-14-in-the-folded-scalars-newlines-become-spaces.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3543,7 +3543,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-2-15-folded-newlines-are-preserved-for-more-indented-and-blank-lines.yml 1`] = ` +exports[`spec-example-2-15-folded-newlines-are-preserved-for-more-indented-and-blank-lines.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3572,7 +3572,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-2-15-folded-newlines-are-preserved-for-more-indented-and-blank-lines.yml 2`] = ` +exports[`spec-example-2-15-folded-newlines-are-preserved-for-more-indented-and-blank-lines.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3600,7 +3600,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-2-16-indentation-determines-scope.yml 1`] = ` +exports[`spec-example-2-16-indentation-determines-scope.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3627,7 +3627,7 @@ stats: | ================================================================================ `; -exports[`spec-example-2-16-indentation-determines-scope.yml 2`] = ` +exports[`spec-example-2-16-indentation-determines-scope.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3653,7 +3653,7 @@ stats: | ================================================================================ `; -exports[`spec-example-2-17-quoted-scalars.yml 1`] = ` +exports[`spec-example-2-17-quoted-scalars.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3680,7 +3680,7 @@ tie-fighter: '|\\-*-/|' ================================================================================ `; -exports[`spec-example-2-17-quoted-scalars.yml 2`] = ` +exports[`spec-example-2-17-quoted-scalars.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3707,7 +3707,7 @@ tie-fighter: '|\\-*-/|' ================================================================================ `; -exports[`spec-example-2-18-multi-line-flow-scalars.yml 1`] = ` +exports[`spec-example-2-18-multi-line-flow-scalars.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3731,7 +3731,7 @@ quoted: "So does this ================================================================================ `; -exports[`spec-example-2-18-multi-line-flow-scalars.yml 2`] = ` +exports[`spec-example-2-18-multi-line-flow-scalars.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3753,7 +3753,7 @@ quoted: "So does this quoted scalar.\\n" ================================================================================ `; -exports[`spec-example-2-23-various-explicit-tags.yml 1`] = ` +exports[`spec-example-2-23-various-explicit-tags.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3792,7 +3792,7 @@ application specific tag: !something | ================================================================================ `; -exports[`spec-example-2-23-various-explicit-tags.yml 2`] = ` +exports[`spec-example-2-23-various-explicit-tags.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3831,7 +3831,7 @@ application specific tag: !something | ================================================================================ `; -exports[`spec-example-2-24-global-tags.yml 1`] = ` +exports[`spec-example-2-24-global-tags.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3873,7 +3873,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-2-24-global-tags.yml 2`] = ` +exports[`spec-example-2-24-global-tags.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3915,7 +3915,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-2-25-unordered-sets.yml 1`] = ` +exports[`spec-example-2-25-unordered-sets.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3943,7 +3943,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-2-25-unordered-sets.yml 2`] = ` +exports[`spec-example-2-25-unordered-sets.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3971,7 +3971,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-2-26-ordered-mappings.yml 1`] = ` +exports[`spec-example-2-26-ordered-mappings.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -3999,7 +3999,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-2-26-ordered-mappings.yml 2`] = ` +exports[`spec-example-2-26-ordered-mappings.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4027,7 +4027,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-2-27-invoice.yml 1`] = ` +exports[`spec-example-2-27-invoice.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4098,7 +4098,7 @@ comments: Late afternoon is best. ================================================================================ `; -exports[`spec-example-2-27-invoice.yml 2`] = ` +exports[`spec-example-2-27-invoice.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4167,7 +4167,7 @@ comments: Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338. ================================================================================ `; -exports[`spec-example-2-28-log-file.yml 1`] = ` +exports[`spec-example-2-28-log-file.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4229,7 +4229,7 @@ Stack: ================================================================================ `; -exports[`spec-example-2-28-log-file.yml 2`] = ` +exports[`spec-example-2-28-log-file.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4289,7 +4289,7 @@ Stack: ================================================================================ `; -exports[`spec-example-5-3-block-structure-indicators.yml 1`] = ` +exports[`spec-example-5-3-block-structure-indicators.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4315,7 +4315,7 @@ mapping: ================================================================================ `; -exports[`spec-example-5-3-block-structure-indicators.yml 2`] = ` +exports[`spec-example-5-3-block-structure-indicators.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4341,7 +4341,7 @@ mapping: ================================================================================ `; -exports[`spec-example-5-4-flow-collection-indicators.yml 1`] = ` +exports[`spec-example-5-4-flow-collection-indicators.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4358,7 +4358,7 @@ mapping: { sky: blue, sea: green } ================================================================================ `; -exports[`spec-example-5-4-flow-collection-indicators.yml 2`] = ` +exports[`spec-example-5-4-flow-collection-indicators.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4375,7 +4375,7 @@ mapping: { sky: blue, sea: green } ================================================================================ `; -exports[`spec-example-5-5-comment-indicator.yml 1`] = ` +exports[`spec-example-5-5-comment-indicator.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4390,7 +4390,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-5-5-comment-indicator.yml 2`] = ` +exports[`spec-example-5-5-comment-indicator.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4405,7 +4405,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-5-6-node-property-indicators.yml 1`] = ` +exports[`spec-example-5-6-node-property-indicators.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4422,7 +4422,7 @@ alias: *anchor ================================================================================ `; -exports[`spec-example-5-6-node-property-indicators.yml 2`] = ` +exports[`spec-example-5-6-node-property-indicators.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4439,7 +4439,7 @@ alias: *anchor ================================================================================ `; -exports[`spec-example-5-7-block-scalar-indicators.yml 1`] = ` +exports[`spec-example-5-7-block-scalar-indicators.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4464,7 +4464,7 @@ folded: > ================================================================================ `; -exports[`spec-example-5-7-block-scalar-indicators.yml 2`] = ` +exports[`spec-example-5-7-block-scalar-indicators.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4488,7 +4488,7 @@ folded: > ================================================================================ `; -exports[`spec-example-5-8-quoted-scalar-indicators.yml 1`] = ` +exports[`spec-example-5-8-quoted-scalar-indicators.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4505,7 +4505,7 @@ double: "text" ================================================================================ `; -exports[`spec-example-5-8-quoted-scalar-indicators.yml 2`] = ` +exports[`spec-example-5-8-quoted-scalar-indicators.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4522,7 +4522,7 @@ double: "text" ================================================================================ `; -exports[`spec-example-5-9-directive-indicator.yml 1`] = ` +exports[`spec-example-5-9-directive-indicator.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4540,7 +4540,7 @@ text ================================================================================ `; -exports[`spec-example-5-9-directive-indicator.yml 2`] = ` +exports[`spec-example-5-9-directive-indicator.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4558,7 +4558,7 @@ text ================================================================================ `; -exports[`spec-example-5-12-tabs-and-spaces.yml 1`] = ` +exports[`spec-example-5-12-tabs-and-spaces.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4583,7 +4583,7 @@ block: | ================================================================================ `; -exports[`spec-example-5-12-tabs-and-spaces.yml 2`] = ` +exports[`spec-example-5-12-tabs-and-spaces.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4608,7 +4608,7 @@ block: | ================================================================================ `; -exports[`spec-example-6-1-indentation-spaces.yml 1`] = ` +exports[`spec-example-6-1-indentation-spaces.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4646,7 +4646,7 @@ Not indented: ================================================================================ `; -exports[`spec-example-6-1-indentation-spaces.yml 2`] = ` +exports[`spec-example-6-1-indentation-spaces.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4684,7 +4684,7 @@ Not indented: ================================================================================ `; -exports[`spec-example-6-2-indentation-indicators.yml 1`] = ` +exports[`spec-example-6-2-indentation-indicators.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4705,7 +4705,7 @@ a: ================================================================================ `; -exports[`spec-example-6-2-indentation-indicators.yml 2`] = ` +exports[`spec-example-6-2-indentation-indicators.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4726,7 +4726,7 @@ a: ================================================================================ `; -exports[`spec-example-6-3-separation-spaces.yml 1`] = ` +exports[`spec-example-6-3-separation-spaces.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4745,7 +4745,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-3-separation-spaces.yml 2`] = ` +exports[`spec-example-6-3-separation-spaces.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4764,7 +4764,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-4-line-prefixes.yml 1`] = ` +exports[`spec-example-6-4-line-prefixes.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4791,7 +4791,7 @@ block: | ================================================================================ `; -exports[`spec-example-6-4-line-prefixes.yml 2`] = ` +exports[`spec-example-6-4-line-prefixes.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4816,7 +4816,7 @@ block: | ================================================================================ `; -exports[`spec-example-6-5-empty-lines.yml 1`] = ` +exports[`spec-example-6-5-empty-lines.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4842,7 +4842,7 @@ Chomping: | ================================================================================ `; -exports[`spec-example-6-5-empty-lines.yml 2`] = ` +exports[`spec-example-6-5-empty-lines.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4868,7 +4868,7 @@ Chomping: | ================================================================================ `; -exports[`spec-example-6-6-line-folding.yml 1`] = ` +exports[`spec-example-6-6-line-folding.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4895,7 +4895,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-6-line-folding.yml 2`] = ` +exports[`spec-example-6-6-line-folding.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4921,7 +4921,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-7-block-folding.yml 1`] = ` +exports[`spec-example-6-7-block-folding.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4946,7 +4946,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-7-block-folding.yml 2`] = ` +exports[`spec-example-6-7-block-folding.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4971,7 +4971,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-8-flow-folding.yml 1`] = ` +exports[`spec-example-6-8-flow-folding.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -4998,7 +4998,7 @@ baz ================================================================================ `; -exports[`spec-example-6-8-flow-folding.yml 2`] = ` +exports[`spec-example-6-8-flow-folding.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5025,7 +5025,7 @@ baz ================================================================================ `; -exports[`spec-example-6-9-separated-comment.yml 1`] = ` +exports[`spec-example-6-9-separated-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5042,7 +5042,7 @@ key: # Comment ================================================================================ `; -exports[`spec-example-6-9-separated-comment.yml 2`] = ` +exports[`spec-example-6-9-separated-comment.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5059,7 +5059,7 @@ key: # Comment ================================================================================ `; -exports[`spec-example-6-10-comment-lines.yml 1`] = ` +exports[`spec-example-6-10-comment-lines.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5077,7 +5077,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-10-comment-lines.yml 2`] = ` +exports[`spec-example-6-10-comment-lines.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5095,7 +5095,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-11-multi-line-comments.yml 1`] = ` +exports[`spec-example-6-11-multi-line-comments.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5116,7 +5116,7 @@ key: # Comment ================================================================================ `; -exports[`spec-example-6-11-multi-line-comments.yml 2`] = ` +exports[`spec-example-6-11-multi-line-comments.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5137,7 +5137,7 @@ key: # Comment ================================================================================ `; -exports[`spec-example-6-12-separation-spaces.yml 1`] = ` +exports[`spec-example-6-12-separation-spaces.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5162,7 +5162,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-12-separation-spaces.yml 2`] = ` +exports[`spec-example-6-12-separation-spaces.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5187,7 +5187,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-13-reserved-directives.yml 1`] = ` +exports[`spec-example-6-13-reserved-directives.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5207,7 +5207,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-13-reserved-directives.yml 2`] = ` +exports[`spec-example-6-13-reserved-directives.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5227,7 +5227,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-14-yaml-directive.yml 1`] = ` +exports[`spec-example-6-14-yaml-directive.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5248,7 +5248,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-14-yaml-directive.yml 2`] = ` +exports[`spec-example-6-14-yaml-directive.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5269,7 +5269,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-16-tag-directive.yml 1`] = ` +exports[`spec-example-6-16-tag-directive.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5288,7 +5288,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-16-tag-directive.yml 2`] = ` +exports[`spec-example-6-16-tag-directive.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5307,7 +5307,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-18-primary-tag-handle.yml 1`] = ` +exports[`spec-example-6-18-primary-tag-handle.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5334,7 +5334,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-18-primary-tag-handle.yml 2`] = ` +exports[`spec-example-6-18-primary-tag-handle.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5361,7 +5361,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-19-secondary-tag-handle.yml 1`] = ` +exports[`spec-example-6-19-secondary-tag-handle.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5380,7 +5380,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-19-secondary-tag-handle.yml 2`] = ` +exports[`spec-example-6-19-secondary-tag-handle.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5399,7 +5399,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-20-tag-handles.yml 1`] = ` +exports[`spec-example-6-20-tag-handles.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5418,7 +5418,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-20-tag-handles.yml 2`] = ` +exports[`spec-example-6-20-tag-handles.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5437,7 +5437,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-21-local-tag-prefix.yml 1`] = ` +exports[`spec-example-6-21-local-tag-prefix.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5464,7 +5464,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-21-local-tag-prefix.yml 2`] = ` +exports[`spec-example-6-21-local-tag-prefix.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5491,7 +5491,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-22-global-tag-prefix.yml 1`] = ` +exports[`spec-example-6-22-global-tag-prefix.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5510,7 +5510,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-22-global-tag-prefix.yml 2`] = ` +exports[`spec-example-6-22-global-tag-prefix.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5529,7 +5529,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-23-node-properties.yml 1`] = ` +exports[`spec-example-6-23-node-properties.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5547,7 +5547,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-23-node-properties.yml 2`] = ` +exports[`spec-example-6-23-node-properties.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5565,7 +5565,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-24-verbatim-tags.yml 1`] = ` +exports[`spec-example-6-24-verbatim-tags.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5581,7 +5581,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-24-verbatim-tags.yml 2`] = ` +exports[`spec-example-6-24-verbatim-tags.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5597,7 +5597,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-26-tag-shorthands.yml 1`] = ` +exports[`spec-example-6-26-tag-shorthands.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5620,7 +5620,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-26-tag-shorthands.yml 2`] = ` +exports[`spec-example-6-26-tag-shorthands.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5643,7 +5643,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-28-non-specific-tags.yml 1`] = ` +exports[`spec-example-6-28-non-specific-tags.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5664,7 +5664,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-6-28-non-specific-tags.yml 2`] = ` +exports[`spec-example-6-28-non-specific-tags.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5685,7 +5685,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-6-29-node-anchors.yml 1`] = ` +exports[`spec-example-6-29-node-anchors.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5702,7 +5702,7 @@ Second occurrence: *anchor ================================================================================ `; -exports[`spec-example-6-29-node-anchors.yml 2`] = ` +exports[`spec-example-6-29-node-anchors.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5719,7 +5719,7 @@ Second occurrence: *anchor ================================================================================ `; -exports[`spec-example-7-1-alias-nodes.yml 1`] = ` +exports[`spec-example-7-1-alias-nodes.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5740,7 +5740,7 @@ Reuse anchor: *anchor ================================================================================ `; -exports[`spec-example-7-1-alias-nodes.yml 2`] = ` +exports[`spec-example-7-1-alias-nodes.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5761,7 +5761,7 @@ Reuse anchor: *anchor ================================================================================ `; -exports[`spec-example-7-2-empty-content.yml 1`] = ` +exports[`spec-example-7-2-empty-content.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5779,7 +5779,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-2-empty-content.yml 2`] = ` +exports[`spec-example-7-2-empty-content.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5797,7 +5797,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-7-3-completely-empty-flow-nodes.yml 1`] = ` +exports[`spec-example-7-3-completely-empty-flow-nodes.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5815,7 +5815,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-3-completely-empty-flow-nodes.yml 2`] = ` +exports[`spec-example-7-3-completely-empty-flow-nodes.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5833,7 +5833,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-7-4-double-quoted-implicit-keys.yml 1`] = ` +exports[`spec-example-7-4-double-quoted-implicit-keys.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5850,7 +5850,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-4-double-quoted-implicit-keys.yml 2`] = ` +exports[`spec-example-7-4-double-quoted-implicit-keys.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5867,7 +5867,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-7-5-double-quoted-line-breaks.yml 1`] = ` +exports[`spec-example-7-5-double-quoted-line-breaks.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5890,7 +5890,7 @@ to a line feed, or \\ ================================================================================ `; -exports[`spec-example-7-5-double-quoted-line-breaks.yml 2`] = ` +exports[`spec-example-7-5-double-quoted-line-breaks.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5912,7 +5912,7 @@ to a line feed, or \\ ================================================================================ `; -exports[`spec-example-7-6-double-quoted-lines.yml 1`] = ` +exports[`spec-example-7-6-double-quoted-lines.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5933,7 +5933,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-6-double-quoted-lines.yml 2`] = ` +exports[`spec-example-7-6-double-quoted-lines.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5953,7 +5953,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-7-7-single-quoted-characters.yml 1`] = ` +exports[`spec-example-7-7-single-quoted-characters.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5968,7 +5968,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-7-single-quoted-characters.yml 2`] = ` +exports[`spec-example-7-7-single-quoted-characters.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -5983,7 +5983,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-7-8-single-quoted-implicit-keys.yml 1`] = ` +exports[`spec-example-7-8-single-quoted-implicit-keys.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6000,7 +6000,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-8-single-quoted-implicit-keys.yml 2`] = ` +exports[`spec-example-7-8-single-quoted-implicit-keys.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6017,7 +6017,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-7-9-single-quoted-lines.yml 1`] = ` +exports[`spec-example-7-9-single-quoted-lines.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6038,7 +6038,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-9-single-quoted-lines.yml 2`] = ` +exports[`spec-example-7-9-single-quoted-lines.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6058,7 +6058,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-7-10-plain-characters.yml 1`] = ` +exports[`spec-example-7-10-plain-characters.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6091,7 +6091,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-10-plain-characters.yml 2`] = ` +exports[`spec-example-7-10-plain-characters.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6124,7 +6124,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-7-11-plain-implicit-keys.yml 1`] = ` +exports[`spec-example-7-11-plain-implicit-keys.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6141,7 +6141,7 @@ implicit block key: [implicit flow key: value] ================================================================================ `; -exports[`spec-example-7-11-plain-implicit-keys.yml 2`] = ` +exports[`spec-example-7-11-plain-implicit-keys.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6158,7 +6158,7 @@ implicit block key: [implicit flow key: value] ================================================================================ `; -exports[`spec-example-7-12-plain-lines.yml 1`] = ` +exports[`spec-example-7-12-plain-lines.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6179,7 +6179,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-12-plain-lines.yml 2`] = ` +exports[`spec-example-7-12-plain-lines.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6199,7 +6199,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-7-13-flow-sequence.yml 1`] = ` +exports[`spec-example-7-13-flow-sequence.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6216,7 +6216,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-13-flow-sequence.yml 2`] = ` +exports[`spec-example-7-13-flow-sequence.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6233,7 +6233,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-7-14-flow-sequence-entries.yml 1`] = ` +exports[`spec-example-7-14-flow-sequence-entries.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6264,7 +6264,7 @@ single: pair, ================================================================================ `; -exports[`spec-example-7-14-flow-sequence-entries.yml 2`] = ` +exports[`spec-example-7-14-flow-sequence-entries.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6286,7 +6286,7 @@ single: pair, ================================================================================ `; -exports[`spec-example-7-15-flow-mappings.yml 1`] = ` +exports[`spec-example-7-15-flow-mappings.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6303,7 +6303,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-15-flow-mappings.yml 2`] = ` +exports[`spec-example-7-15-flow-mappings.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6320,7 +6320,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-7-16-flow-mapping-entries.yml 1`] = ` +exports[`spec-example-7-16-flow-mapping-entries.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6339,7 +6339,7 @@ implicit: entry, ================================================================================ `; -exports[`spec-example-7-16-flow-mapping-entries.yml 2`] = ` +exports[`spec-example-7-16-flow-mapping-entries.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6358,7 +6358,7 @@ implicit: entry, ================================================================================ `; -exports[`spec-example-7-17-flow-mapping-separate-values.yml 1`] = ` +exports[`spec-example-7-17-flow-mapping-separate-values.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6378,7 +6378,7 @@ omitted value:, ================================================================================ `; -exports[`spec-example-7-17-flow-mapping-separate-values.yml 2`] = ` +exports[`spec-example-7-17-flow-mapping-separate-values.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6398,7 +6398,7 @@ omitted value:, ================================================================================ `; -exports[`spec-example-7-18-flow-mapping-adjacent-values.yml 1`] = ` +exports[`spec-example-7-18-flow-mapping-adjacent-values.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6417,7 +6417,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-18-flow-mapping-adjacent-values.yml 2`] = ` +exports[`spec-example-7-18-flow-mapping-adjacent-values.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6436,7 +6436,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-7-19-single-pair-flow-mappings.yml 1`] = ` +exports[`spec-example-7-19-single-pair-flow-mappings.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6453,7 +6453,7 @@ foo: bar ================================================================================ `; -exports[`spec-example-7-19-single-pair-flow-mappings.yml 2`] = ` +exports[`spec-example-7-19-single-pair-flow-mappings.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6470,7 +6470,7 @@ foo: bar ================================================================================ `; -exports[`spec-example-7-20-single-pair-explicit-entry.yml 1`] = ` +exports[`spec-example-7-20-single-pair-explicit-entry.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6490,7 +6490,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-20-single-pair-explicit-entry.yml 2`] = ` +exports[`spec-example-7-20-single-pair-explicit-entry.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6508,7 +6508,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-7-21-single-pair-implicit-entries.yml 1`] = ` +exports[`spec-example-7-21-single-pair-implicit-entries.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6527,7 +6527,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-21-single-pair-implicit-entries.yml 2`] = ` +exports[`spec-example-7-21-single-pair-implicit-entries.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6546,7 +6546,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-7-23-flow-content.yml 1`] = ` +exports[`spec-example-7-23-flow-content.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6569,7 +6569,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-23-flow-content.yml 2`] = ` +exports[`spec-example-7-23-flow-content.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6592,7 +6592,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-7-24-flow-nodes.yml 1`] = ` +exports[`spec-example-7-24-flow-nodes.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6615,7 +6615,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-7-24-flow-nodes.yml 2`] = ` +exports[`spec-example-7-24-flow-nodes.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6638,7 +6638,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-8-1-block-scalar-header.yml 1`] = ` +exports[`spec-example-8-1-block-scalar-header.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6669,7 +6669,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-8-1-block-scalar-header.yml 2`] = ` +exports[`spec-example-8-1-block-scalar-header.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6700,7 +6700,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-8-2-block-indentation-indicator.yml 1`] = ` +exports[`spec-example-8-2-block-indentation-indicator.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6735,7 +6735,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-8-2-block-indentation-indicator.yml 2`] = ` +exports[`spec-example-8-2-block-indentation-indicator.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6770,7 +6770,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-8-4-chomping-final-line-break.yml 1`] = ` +exports[`spec-example-8-4-chomping-final-line-break.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6795,7 +6795,7 @@ keep: |+ ================================================================================ `; -exports[`spec-example-8-4-chomping-final-line-break.yml 2`] = ` +exports[`spec-example-8-4-chomping-final-line-break.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6820,7 +6820,7 @@ keep: |+ ================================================================================ `; -exports[`spec-example-8-5-chomping-trailing-lines.yml 1`] = ` +exports[`spec-example-8-5-chomping-trailing-lines.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6870,7 +6870,7 @@ keep: |+ ================================================================================ `; -exports[`spec-example-8-5-chomping-trailing-lines.yml 2`] = ` +exports[`spec-example-8-5-chomping-trailing-lines.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6920,7 +6920,7 @@ keep: |+ ================================================================================ `; -exports[`spec-example-8-6-empty-scalar-chomping.yml 1`] = ` +exports[`spec-example-8-6-empty-scalar-chomping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6945,7 +6945,7 @@ keep: |+ ================================================================================ `; -exports[`spec-example-8-6-empty-scalar-chomping.yml 2`] = ` +exports[`spec-example-8-6-empty-scalar-chomping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6970,7 +6970,7 @@ keep: |+ ================================================================================ `; -exports[`spec-example-8-7-literal-scalar.yml 1`] = ` +exports[`spec-example-8-7-literal-scalar.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -6991,7 +6991,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-8-7-literal-scalar.yml 2`] = ` +exports[`spec-example-8-7-literal-scalar.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7012,7 +7012,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-8-8-literal-content.yml 1`] = ` +exports[`spec-example-8-8-literal-content.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7043,7 +7043,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-8-8-literal-content.yml 2`] = ` +exports[`spec-example-8-8-literal-content.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7074,7 +7074,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-8-9-folded-scalar.yml 1`] = ` +exports[`spec-example-8-9-folded-scalar.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7095,7 +7095,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-8-9-folded-scalar.yml 2`] = ` +exports[`spec-example-8-9-folded-scalar.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7115,7 +7115,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-8-10-folded-lines-8-13-final-empty-lines.yml 1`] = ` +exports[`spec-example-8-10-folded-lines-8-13-final-empty-lines.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7160,7 +7160,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-8-10-folded-lines-8-13-final-empty-lines.yml 2`] = ` +exports[`spec-example-8-10-folded-lines-8-13-final-empty-lines.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7202,7 +7202,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-8-14-block-sequence.yml 1`] = ` +exports[`spec-example-8-14-block-sequence.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7221,7 +7221,7 @@ block sequence: ================================================================================ `; -exports[`spec-example-8-14-block-sequence.yml 2`] = ` +exports[`spec-example-8-14-block-sequence.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7240,7 +7240,7 @@ block sequence: ================================================================================ `; -exports[`spec-example-8-15-block-sequence-entry-types.yml 1`] = ` +exports[`spec-example-8-15-block-sequence-entry-types.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7265,7 +7265,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-8-15-block-sequence-entry-types.yml 2`] = ` +exports[`spec-example-8-15-block-sequence-entry-types.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7290,7 +7290,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-8-16-block-mappings.yml 1`] = ` +exports[`spec-example-8-16-block-mappings.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7307,7 +7307,7 @@ block mapping: ================================================================================ `; -exports[`spec-example-8-16-block-mappings.yml 2`] = ` +exports[`spec-example-8-16-block-mappings.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7324,7 +7324,7 @@ block mapping: ================================================================================ `; -exports[`spec-example-8-17-explicit-block-mapping-entries.yml 1`] = ` +exports[`spec-example-8-17-explicit-block-mapping-entries.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7347,7 +7347,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-8-17-explicit-block-mapping-entries.yml 2`] = ` +exports[`spec-example-8-17-explicit-block-mapping-entries.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7370,7 +7370,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-8-18-implicit-block-mapping-entries.yml 1`] = ` +exports[`spec-example-8-18-implicit-block-mapping-entries.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7391,7 +7391,7 @@ plain key: in-line value ================================================================================ `; -exports[`spec-example-8-18-implicit-block-mapping-entries.yml 2`] = ` +exports[`spec-example-8-18-implicit-block-mapping-entries.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7412,7 +7412,7 @@ plain key: in-line value ================================================================================ `; -exports[`spec-example-8-19-compact-block-mappings.yml 1`] = ` +exports[`spec-example-8-19-compact-block-mappings.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7431,7 +7431,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-8-19-compact-block-mappings.yml 2`] = ` +exports[`spec-example-8-19-compact-block-mappings.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7450,7 +7450,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-8-20-block-node-types.yml 1`] = ` +exports[`spec-example-8-20-block-node-types.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7474,7 +7474,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-8-20-block-node-types.yml 2`] = ` +exports[`spec-example-8-20-block-node-types.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7498,7 +7498,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-8-21-block-scalar-nodes.yml 1`] = ` +exports[`spec-example-8-21-block-scalar-nodes.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7521,7 +7521,7 @@ folded: !foo >1 ================================================================================ `; -exports[`spec-example-8-21-block-scalar-nodes.yml 2`] = ` +exports[`spec-example-8-21-block-scalar-nodes.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7544,7 +7544,7 @@ folded: !foo >1 ================================================================================ `; -exports[`spec-example-8-22-block-collection-nodes.yml 1`] = ` +exports[`spec-example-8-22-block-collection-nodes.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7569,7 +7569,7 @@ mapping: !!map ================================================================================ `; -exports[`spec-example-8-22-block-collection-nodes.yml 2`] = ` +exports[`spec-example-8-22-block-collection-nodes.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7594,7 +7594,7 @@ mapping: !!map ================================================================================ `; -exports[`spec-example-9-2-document-markers.yml 1`] = ` +exports[`spec-example-9-2-document-markers.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7615,7 +7615,7 @@ Document ================================================================================ `; -exports[`spec-example-9-2-document-markers.yml 2`] = ` +exports[`spec-example-9-2-document-markers.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7636,7 +7636,7 @@ Document ================================================================================ `; -exports[`spec-example-9-3-bare-documents.yml 1`] = ` +exports[`spec-example-9-3-bare-documents.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7663,7 +7663,7 @@ document ================================================================================ `; -exports[`spec-example-9-3-bare-documents.yml 2`] = ` +exports[`spec-example-9-3-bare-documents.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7689,7 +7689,7 @@ Bare document ================================================================================ `; -exports[`spec-example-9-4-explicit-documents.yml 1`] = ` +exports[`spec-example-9-4-explicit-documents.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7715,7 +7715,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-9-4-explicit-documents.yml 2`] = ` +exports[`spec-example-9-4-explicit-documents.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7739,7 +7739,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-9-5-directives-documents.yml 1`] = ` +exports[`spec-example-9-5-directives-documents.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7768,7 +7768,7 @@ useTabs: true ================================================================================ `; -exports[`spec-example-9-5-directives-documents.yml 2`] = ` +exports[`spec-example-9-5-directives-documents.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7797,7 +7797,7 @@ proseWrap: "always" ================================================================================ `; -exports[`spec-example-9-6-stream.yml 1`] = ` +exports[`spec-example-9-6-stream.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7824,7 +7824,7 @@ matches %: 20 ================================================================================ `; -exports[`spec-example-9-6-stream.yml 2`] = ` +exports[`spec-example-9-6-stream.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7851,7 +7851,7 @@ matches %: 20 ================================================================================ `; -exports[`tab-after-document-header.yml 1`] = ` +exports[`tab-after-document-header.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7867,7 +7867,7 @@ scalar ================================================================================ `; -exports[`tab-after-document-header.yml 2`] = ` +exports[`tab-after-document-header.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7883,7 +7883,7 @@ scalar ================================================================================ `; -exports[`tab-at-beginning-of-line-followed-by-a-flow-mapping.yml 1`] = ` +exports[`tab-at-beginning-of-line-followed-by-a-flow-mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7898,7 +7898,7 @@ useTabs: true ================================================================================ `; -exports[`tab-at-beginning-of-line-followed-by-a-flow-mapping.yml 2`] = ` +exports[`tab-at-beginning-of-line-followed-by-a-flow-mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7913,7 +7913,7 @@ proseWrap: "always" ================================================================================ `; -exports[`tags-for-block-objects.yml 1`] = ` +exports[`tags-for-block-objects.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7934,7 +7934,7 @@ foo: !!seq ================================================================================ `; -exports[`tags-for-block-objects.yml 2`] = ` +exports[`tags-for-block-objects.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7955,7 +7955,7 @@ foo: !!seq ================================================================================ `; -exports[`tags-for-flow-objects.yml 1`] = ` +exports[`tags-for-flow-objects.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7973,7 +7973,7 @@ useTabs: true ================================================================================ `; -exports[`tags-for-flow-objects.yml 2`] = ` +exports[`tags-for-flow-objects.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -7991,7 +7991,7 @@ proseWrap: "always" ================================================================================ `; -exports[`tags-for-root-objects.yml 1`] = ` +exports[`tags-for-root-objects.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8021,7 +8021,7 @@ e ================================================================================ `; -exports[`tags-for-root-objects.yml 2`] = ` +exports[`tags-for-root-objects.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8050,7 +8050,7 @@ a: b ================================================================================ `; -exports[`tags-in-block-sequence.yml 1`] = ` +exports[`tags-in-block-sequence.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8071,7 +8071,7 @@ useTabs: true ================================================================================ `; -exports[`tags-in-block-sequence.yml 2`] = ` +exports[`tags-in-block-sequence.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8092,7 +8092,7 @@ proseWrap: "always" ================================================================================ `; -exports[`tags-in-explicit-mapping.yml 1`] = ` +exports[`tags-in-explicit-mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8111,7 +8111,7 @@ c: !!str d ================================================================================ `; -exports[`tags-in-explicit-mapping.yml 2`] = ` +exports[`tags-in-explicit-mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8130,7 +8130,7 @@ c: !!str d ================================================================================ `; -exports[`tags-in-implicit-mapping.yml 1`] = ` +exports[`tags-in-implicit-mapping.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8153,7 +8153,7 @@ g: h ================================================================================ `; -exports[`tags-in-implicit-mapping.yml 2`] = ` +exports[`tags-in-implicit-mapping.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8176,7 +8176,7 @@ g: h ================================================================================ `; -exports[`tags-on-empty-scalars.yml 1`] = ` +exports[`tags-on-empty-scalars.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8198,7 +8198,7 @@ useTabs: true ================================================================================ `; -exports[`tags-on-empty-scalars.yml 2`] = ` +exports[`tags-on-empty-scalars.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8220,7 +8220,7 @@ proseWrap: "always" ================================================================================ `; -exports[`three-dashes-and-content-without-space.yml 1`] = ` +exports[`three-dashes-and-content-without-space.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8237,7 +8237,7 @@ word2 ================================================================================ `; -exports[`three-dashes-and-content-without-space.yml 2`] = ` +exports[`three-dashes-and-content-without-space.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8253,7 +8253,7 @@ word2 ================================================================================ `; -exports[`various-combinations-of-tags-and-anchors.yml 1`] = ` +exports[`various-combinations-of-tags-and-anchors.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8312,7 +8312,7 @@ a6: 1 ================================================================================ `; -exports[`various-combinations-of-tags-and-anchors.yml 2`] = ` +exports[`various-combinations-of-tags-and-anchors.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8371,7 +8371,7 @@ a6: 1 ================================================================================ `; -exports[`various-location-of-anchors-in-flow-sequence.yml 1`] = ` +exports[`various-location-of-anchors-in-flow-sequence.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8391,7 +8391,7 @@ useTabs: true ================================================================================ `; -exports[`various-location-of-anchors-in-flow-sequence.yml 2`] = ` +exports[`various-location-of-anchors-in-flow-sequence.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8411,7 +8411,7 @@ proseWrap: "always" ================================================================================ `; -exports[`various-trailing-comments.yml 1`] = ` +exports[`various-trailing-comments.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8455,7 +8455,7 @@ block: > # lala ================================================================================ `; -exports[`various-trailing-comments.yml 2`] = ` +exports[`various-trailing-comments.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8497,7 +8497,7 @@ block: > # lala ================================================================================ `; -exports[`various-trailing-tabs.yml 1`] = ` +exports[`various-trailing-tabs.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8518,7 +8518,7 @@ c: d #X ================================================================================ `; -exports[`various-trailing-tabs.yml 2`] = ` +exports[`various-trailing-tabs.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8539,7 +8539,7 @@ c: d #X ================================================================================ `; -exports[`whitespace-after-scalars-in-flow.yml 1`] = ` +exports[`whitespace-after-scalars-in-flow.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8561,7 +8561,7 @@ useTabs: true ================================================================================ `; -exports[`whitespace-after-scalars-in-flow.yml 2`] = ` +exports[`whitespace-after-scalars-in-flow.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8583,7 +8583,7 @@ proseWrap: "always" ================================================================================ `; -exports[`whitespace-around-colon-in-mappings.yml 1`] = ` +exports[`whitespace-around-colon-in-mappings.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8619,7 +8619,7 @@ top6: ================================================================================ `; -exports[`whitespace-around-colon-in-mappings.yml 2`] = ` +exports[`whitespace-around-colon-in-mappings.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8655,7 +8655,7 @@ top6: ================================================================================ `; -exports[`zero-indented-block-scalar.yml 1`] = ` +exports[`zero-indented-block-scalar.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8677,7 +8677,7 @@ line3 ================================================================================ `; -exports[`zero-indented-block-scalar.yml 2`] = ` +exports[`zero-indented-block-scalar.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8697,7 +8697,7 @@ line3 ================================================================================ `; -exports[`zero-indented-block-scalar-with-line-that-looks-like-a-comment.yml 1`] = ` +exports[`zero-indented-block-scalar-with-line-that-looks-like-a-comment.yml format 1`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 @@ -8719,7 +8719,7 @@ line3 ================================================================================ `; -exports[`zero-indented-block-scalar-with-line-that-looks-like-a-comment.yml 2`] = ` +exports[`zero-indented-block-scalar-with-line-that-looks-like-a-comment.yml format 2`] = ` ====================================options===================================== parsers: ["yaml"] printWidth: 80 diff --git a/tests/yield/__snapshots__/jsfmt.spec.js.snap b/tests/yield/__snapshots__/jsfmt.spec.js.snap index 9a478b7aba..6c703566b2 100644 --- a/tests/yield/__snapshots__/jsfmt.spec.js.snap +++ b/tests/yield/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`arrow.js 1`] = ` +exports[`arrow.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript"] printWidth: 80 @@ -22,7 +22,7 @@ function* f() { ================================================================================ `; -exports[`conditional.js 1`] = ` +exports[`conditional.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript"] printWidth: 80 @@ -72,7 +72,7 @@ async function f3() { ================================================================================ `; -exports[`jsx.js 1`] = ` +exports[`jsx.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript"] printWidth: 80 diff --git a/tests_config/run_spec.js b/tests_config/run_spec.js index f6ab09b611..e88a2116a8 100644 --- a/tests_config/run_spec.js +++ b/tests_config/run_spec.js @@ -69,126 +69,126 @@ global.run_spec = (dirname, parsers, options) => { ) { continue; } + describe(basename, () => { + let rangeStart; + let rangeEnd; + let cursorOffset; - let rangeStart; - let rangeEnd; - let cursorOffset; + const text = fs.readFileSync(filename, "utf8"); - const text = fs.readFileSync(filename, "utf8"); + const source = (TEST_CRLF ? text.replace(/\n/g, "\r\n") : text) + .replace(RANGE_START_PLACEHOLDER, (match, offset) => { + rangeStart = offset; + return ""; + }) + .replace(RANGE_END_PLACEHOLDER, (match, offset) => { + rangeEnd = offset; + return ""; + }); - const source = (TEST_CRLF ? text.replace(/\n/g, "\r\n") : text) - .replace(RANGE_START_PLACEHOLDER, (match, offset) => { - rangeStart = offset; - return ""; - }) - .replace(RANGE_END_PLACEHOLDER, (match, offset) => { - rangeEnd = offset; + const input = source.replace(CURSOR_PLACEHOLDER, (match, offset) => { + cursorOffset = offset; return ""; }); - const input = source.replace(CURSOR_PLACEHOLDER, (match, offset) => { - cursorOffset = offset; - return ""; - }); - - const baseOptions = { - printWidth: 80, - ...options, - rangeStart, - rangeEnd, - cursorOffset, - }; - const mainOptions = { - ...baseOptions, - ...(IS_PARSER_INFERENCE_TESTS - ? { filepath: filename } - : { parser: parsers[0] }), - }; + const baseOptions = { + printWidth: 80, + ...options, + rangeStart, + rangeEnd, + cursorOffset, + }; + const mainOptions = { + ...baseOptions, + ...(IS_PARSER_INFERENCE_TESTS + ? { filepath: filename } + : { parser: parsers[0] }), + }; - const hasEndOfLine = "endOfLine" in mainOptions; + const hasEndOfLine = "endOfLine" in mainOptions; + const output = format(input, filename, mainOptions); + const visualizedOutput = visualizeEndOfLine(output); - const output = format(input, filename, mainOptions); - const visualizedOutput = visualizeEndOfLine(output); - - test(basename, () => { - expect(visualizedOutput).toEqual( - visualizeEndOfLine(consistentEndOfLine(output)) - ); - expect( - raw( - createSnapshot( - hasEndOfLine - ? visualizeEndOfLine( - text - .replace(RANGE_START_PLACEHOLDER, "") - .replace(RANGE_END_PLACEHOLDER, "") - ) - : source, - hasEndOfLine ? visualizedOutput : output, - { ...baseOptions, parsers } + test("format", () => { + expect(visualizedOutput).toEqual( + visualizeEndOfLine(consistentEndOfLine(output)) + ); + expect( + raw( + createSnapshot( + hasEndOfLine + ? visualizeEndOfLine( + text + .replace(RANGE_START_PLACEHOLDER, "") + .replace(RANGE_END_PLACEHOLDER, "") + ) + : source, + hasEndOfLine ? visualizedOutput : output, + { ...baseOptions, parsers } + ) ) - ) - ).toMatchSnapshot(); - }); - - const parsersToVerify = parsers.slice(1); - if (parsers.includes("typescript") && !parsers.includes("babel-ts")) { - parsersToVerify.push("babel-ts"); - } - - if ( - DEEP_COMPARE && - typeof rangeStart === "undefined" && - typeof rangeEnd === "undefined" && - typeof cursorOffset === "undefined" && - !TEST_CRLF - ) { - test(`${basename} second format`, () => { - const secondOutput = format(output, filename, mainOptions); - const isUnstable = unstableTests.get(filename); - if (isUnstable && isUnstable(options || {})) { - // To keep eye on failed tests, this assert never supposed to pass, - // if it fails, just remove the file from `unstableTests` - expect(secondOutput).not.toEqual(output); - } else { - expect(secondOutput).toEqual(output); - } + ).toMatchSnapshot(); }); - } - for (const parser of parsersToVerify) { - const verifyOptions = { ...baseOptions, parser }; + const parsersToVerify = parsers.slice(1); + if (parsers.includes("typescript") && !parsers.includes("babel-ts")) { + parsersToVerify.push("babel-ts"); + } - test(`${basename} - ${parser}-verify`, () => { - if ( - parser === "babel-ts" && - options && - (options.disableBabelTS === true || - (Array.isArray(options.disableBabelTS) && - options.disableBabelTS.includes(basename))) - ) { - expect(() => { - format(input, filename, verifyOptions); - }).toThrow(TEST_STANDALONE ? undefined : SyntaxError); - } else { - const verifyOutput = format(input, filename, verifyOptions); - expect(visualizeEndOfLine(verifyOutput)).toEqual(visualizedOutput); - } - }); - } + if ( + DEEP_COMPARE && + typeof rangeStart === "undefined" && + typeof rangeEnd === "undefined" && + typeof cursorOffset === "undefined" && + !TEST_CRLF + ) { + test("second format", () => { + const secondOutput = format(output, filename, mainOptions); + const isUnstable = unstableTests.get(filename); + if (isUnstable && isUnstable(options || {})) { + // To keep eye on failed tests, this assert never supposed to pass, + // if it fails, just remove the file from `unstableTests` + expect(secondOutput).not.toEqual(output); + } else { + expect(secondOutput).toEqual(output); + } + }); + } - if (AST_COMPARE) { - const formatted = output.replace(CURSOR_PLACEHOLDER, ""); + for (const parser of parsersToVerify) { + const verifyOptions = { ...baseOptions, parser }; - if (formatted !== input) { - test(`${basename} parse`, () => { - const { cursorOffset, ...parseOptions } = mainOptions; - const originalAst = parse(input, parseOptions); - const formattedAst = parse(formatted, parseOptions); - expect(originalAst).toEqual(formattedAst); + test(`verify (${parser})`, () => { + if ( + parser === "babel-ts" && + options && + (options.disableBabelTS === true || + (Array.isArray(options.disableBabelTS) && + options.disableBabelTS.includes(basename))) + ) { + expect(() => { + format(input, filename, verifyOptions); + }).toThrow(TEST_STANDALONE ? undefined : SyntaxError); + } else { + const verifyOutput = format(input, filename, verifyOptions); + expect(visualizeEndOfLine(verifyOutput)).toEqual(visualizedOutput); + } }); } - } + + if (AST_COMPARE) { + const formatted = output.replace(CURSOR_PLACEHOLDER, ""); + + if (formatted !== input) { + test("compare AST", () => { + const { cursorOffset, ...parseOptions } = mainOptions; + const originalAst = parse(input, parseOptions); + const formattedAst = parse(formatted, parseOptions); + expect(originalAst).toEqual(formattedAst); + }); + } + } + }); } }; From 28b2c650973d290c198af85faadbc850a39d2261 Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Fri, 10 Apr 2020 13:53:42 +0300 Subject: [PATCH 0028/2034] deduplicate yarn.lock --- yarn.lock | 158 ++---------------------------------------------------- 1 file changed, 5 insertions(+), 153 deletions(-) diff --git a/yarn.lock b/yarn.lock index b647ea61e2..02c882a606 100644 --- a/yarn.lock +++ b/yarn.lock @@ -114,16 +114,7 @@ "@babel/traverse" "^7.8.3" "@babel/types" "^7.8.3" -"@babel/helper-function-name@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz#eeeb665a01b1f11068e9fb86ad56a1cb1a824cca" - integrity sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA== - dependencies: - "@babel/helper-get-function-arity" "^7.8.3" - "@babel/template" "^7.8.3" - "@babel/types" "^7.8.3" - -"@babel/helper-function-name@^7.9.5": +"@babel/helper-function-name@^7.8.3", "@babel/helper-function-name@^7.9.5": version "7.9.5" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.9.5.tgz#2b53820d35275120e1874a82e5aabe1376920a5c" integrity sha512-JVcQZeXM59Cd1qanDUxv9fgJpt3NeKUaqBqUEvfmQ+BCOKq2xUgaWZW2hr0dkbyJgezYuplEoh5knmrnS68efw== @@ -857,16 +848,6 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd" integrity sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw== -"@jest/console@^25.2.6": - version "25.2.6" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-25.2.6.tgz#f594847ec8aef3cf27f448abe97e76e491212e97" - integrity sha512-bGp+0PicZVCEhb+ifnW9wpKWONNdkhtJsRE7ap729hiAfTvCN6VhGx0s/l/V/skA2pnyqq+N/7xl9ZWfykDpsg== - dependencies: - "@jest/source-map" "^25.2.6" - chalk "^3.0.0" - jest-util "^25.2.6" - slash "^3.0.0" - "@jest/console@^25.3.0": version "25.3.0" resolved "https://registry.yarnpkg.com/@jest/console/-/console-25.3.0.tgz#33b56b81238427bf3ebe3f7b3378d2f79cdbd409" @@ -971,16 +952,6 @@ graceful-fs "^4.2.3" source-map "^0.6.0" -"@jest/test-result@^25.2.6": - version "25.2.6" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-25.2.6.tgz#f6082954955313eb96f6cabf9fb14f8017826916" - integrity sha512-gmGgcF4qz/pkBzyfJuVHo2DA24kIgVQ5Pf/VpW4QbyMLSegi8z+9foSZABfIt5se6k0fFj/3p/vrQXdaOgit0w== - dependencies: - "@jest/console" "^25.2.6" - "@jest/types" "^25.2.6" - "@types/istanbul-lib-coverage" "^2.0.0" - collect-v8-coverage "^1.0.0" - "@jest/test-result@^25.3.0": version "25.3.0" resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-25.3.0.tgz#137fab5e5c6fed36e5d40735d1eb029325e3bf06" @@ -1023,16 +994,6 @@ source-map "^0.6.1" write-file-atomic "^3.0.0" -"@jest/types@^25.2.6": - version "25.2.6" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-25.2.6.tgz#c12f44af9bed444438091e4b59e7ed05f8659cb6" - integrity sha512-myJTTV37bxK7+3NgKc4Y/DlQ5q92/NOwZsZ+Uch7OXdElxOg61QYc72fPYNAjlvbnJ2YvbXLamIsa9tj48BmyQ== - dependencies: - "@types/istanbul-lib-coverage" "^2.0.0" - "@types/istanbul-reports" "^1.1.1" - "@types/yargs" "^15.0.0" - chalk "^3.0.0" - "@jest/types@^25.3.0": version "25.3.0" resolved "https://registry.yarnpkg.com/@jest/types/-/types-25.3.0.tgz#88f94b277a1d028fd7117bc1f74451e0fc2131e7" @@ -3383,18 +3344,6 @@ expand-brackets@^2.1.4: snapdragon "^0.8.1" to-regex "^3.0.1" -expect@^25.2.7: - version "25.2.7" - resolved "https://registry.yarnpkg.com/expect/-/expect-25.2.7.tgz#509b79f47502835f4071ff3ecc401f2eaecca709" - integrity sha512-yA+U2Ph0MkMsJ9N8q5hs9WgWI6oJYfecdXta6LkP/alY/jZZL1MHlJ2wbLh60Ucqf3G+51ytbqV3mlGfmxkpNw== - dependencies: - "@jest/types" "^25.2.6" - ansi-styles "^4.0.0" - jest-get-type "^25.2.6" - jest-matcher-utils "^25.2.7" - jest-message-util "^25.2.6" - jest-regex-util "^25.2.6" - expect@^25.3.0: version "25.3.0" resolved "https://registry.yarnpkg.com/expect/-/expect-25.3.0.tgz#5fd36e51befd05afb7184bc954f8a4792d184c71" @@ -4540,17 +4489,7 @@ jest-config@^25.3.0: pretty-format "^25.3.0" realpath-native "^2.0.0" -jest-diff@^25.1.0, jest-diff@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-25.2.6.tgz#a6d70a9ab74507715ea1092ac513d1ab81c1b5e7" - integrity sha512-KuadXImtRghTFga+/adnNrv9s61HudRMR7gVSbP35UKZdn4IK2/0N0PpGZIqtmllK9aUyye54I3nu28OYSnqOg== - dependencies: - chalk "^3.0.0" - diff-sequences "^25.2.6" - jest-get-type "^25.2.6" - pretty-format "^25.2.6" - -jest-diff@^25.3.0: +jest-diff@^25.1.0, jest-diff@^25.3.0: version "25.3.0" resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-25.3.0.tgz#0d7d6f5d6171e5dacde9e05be47b3615e147c26f" integrity sha512-vyvs6RPoVdiwARwY4kqFWd4PirPLm2dmmkNzKqo38uZOzJvLee87yzDjIZLmY1SjM3XR5DwsUH+cdQ12vgqi1w== @@ -4657,16 +4596,6 @@ jest-leak-detector@^25.3.0: jest-get-type "^25.2.6" pretty-format "^25.3.0" -jest-matcher-utils@^25.2.7: - version "25.2.7" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-25.2.7.tgz#53fad3c11fc42e92e374306df543026712c957a3" - integrity sha512-jNYmKQPRyPO3ny0KY1I4f0XW4XnpJ3Nx5ovT4ik0TYDOYzuXJW40axqOyS61l/voWbVT9y9nZ1THL1DlpaBVpA== - dependencies: - chalk "^3.0.0" - jest-diff "^25.2.6" - jest-get-type "^25.2.6" - pretty-format "^25.2.6" - jest-matcher-utils@^25.3.0: version "25.3.0" resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-25.3.0.tgz#76765788a26edaa8bc5f0100aea52ae383559648" @@ -4677,19 +4606,6 @@ jest-matcher-utils@^25.3.0: jest-get-type "^25.2.6" pretty-format "^25.3.0" -jest-message-util@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-25.2.6.tgz#9d5523bebec8cd9cdef75f0f3069d6ec9a2252df" - integrity sha512-Hgg5HbOssSqOuj+xU1mi7m3Ti2nwSQJQf/kxEkrz2r2rp2ZLO1pMeKkz2WiDUWgSR+APstqz0uMFcE5yc0qdcg== - dependencies: - "@babel/code-frame" "^7.0.0" - "@jest/types" "^25.2.6" - "@types/stack-utils" "^1.0.1" - chalk "^3.0.0" - micromatch "^4.0.2" - slash "^3.0.0" - stack-utils "^1.0.1" - jest-message-util@^25.3.0: version "25.3.0" resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-25.3.0.tgz#e3836826fe5ca538a337b87d9bd2648190867f85" @@ -4729,18 +4645,6 @@ jest-resolve-dependencies@^25.3.0: jest-regex-util "^25.2.6" jest-snapshot "^25.3.0" -jest-resolve@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-25.2.6.tgz#84694ead5da13c2890ac04d4a78699ba937f3896" - integrity sha512-7O61GVdcAXkLz/vNGKdF+00A80/fKEAA47AEXVNcZwj75vEjPfZbXDaWFmAQCyXj4oo9y9dC9D+CLA11t8ieGw== - dependencies: - "@jest/types" "^25.2.6" - browser-resolve "^1.11.3" - chalk "^3.0.0" - jest-pnp-resolver "^1.2.1" - realpath-native "^2.0.0" - resolve "^1.15.1" - jest-resolve@^25.3.0: version "25.3.0" resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-25.3.0.tgz#cb90a5bbea54a02eccdbbf4126a819595dcf91d6" @@ -4827,27 +4731,7 @@ jest-snapshot-serializer-raw@1.1.0: resolved "https://registry.yarnpkg.com/jest-snapshot-serializer-raw/-/jest-snapshot-serializer-raw-1.1.0.tgz#1d7f09c02f3dbbc3ae70b5b7598fb2f45e37d6c8" integrity sha512-OL3bXRCnSn7Kur3YTGYj+A3Hwh2eyb5QL5VLQ9OSsPBOva7r3sCB0Jf1rOT/KN3ypzH42hrkDz96lpbiMo+AlQ== -jest-snapshot@^25.1.0: - version "25.2.7" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-25.2.7.tgz#7eeafeef4dcbda1c47c8503d2bf5212b6430aac6" - integrity sha512-Rm8k7xpGM4tzmYhB6IeRjsOMkXaU8/FOz5XlU6oYwhy53mq6txVNqIKqN1VSiexzpC80oWVxVDfUDt71M6XPOA== - dependencies: - "@babel/types" "^7.0.0" - "@jest/types" "^25.2.6" - "@types/prettier" "^1.19.0" - chalk "^3.0.0" - expect "^25.2.7" - jest-diff "^25.2.6" - jest-get-type "^25.2.6" - jest-matcher-utils "^25.2.7" - jest-message-util "^25.2.6" - jest-resolve "^25.2.6" - make-dir "^3.0.0" - natural-compare "^1.4.0" - pretty-format "^25.2.6" - semver "^6.3.0" - -jest-snapshot@^25.3.0: +jest-snapshot@^25.1.0, jest-snapshot@^25.3.0: version "25.3.0" resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-25.3.0.tgz#d4feb457494f4aaedcc83fbbf1ca21808fc3df71" integrity sha512-GGpR6Oro2htJPKh5RX4PR1xwo5jCEjtvSPLW1IS7N85y+2bWKbiknHpJJRKSdGXghElb5hWaeQASJI4IiRayGg== @@ -4867,16 +4751,6 @@ jest-snapshot@^25.3.0: pretty-format "^25.3.0" semver "^6.3.0" -jest-util@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-25.2.6.tgz#3c1c95cdfd653126728b0ed861a86610e30d569c" - integrity sha512-gpXy0H5ymuQ0x2qgl1zzHg7LYHZYUmDEq6F7lhHA8M0eIwDB2WteOcCnQsohl9c/vBKZ3JF2r4EseipCZz3s4Q== - dependencies: - "@jest/types" "^25.2.6" - chalk "^3.0.0" - is-ci "^2.0.0" - make-dir "^3.0.0" - jest-util@^25.3.0: version "25.3.0" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-25.3.0.tgz#e3b0064165818f10d78514696fd25efba82cf049" @@ -4912,19 +4786,7 @@ jest-watch-typeahead@0.5.0: string-length "^3.1.0" strip-ansi "^6.0.0" -jest-watcher@^25.2.4: - version "25.2.7" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-25.2.7.tgz#01db4332d34d14c03c9ef22255125a3b07f997bc" - integrity sha512-RdHuW+f49tahWtluTnUdZ2iPliebleROI2L/J5phYrUS6DPC9RB3SuUtqYyYhGZJsbvRSuLMIlY/cICJ+PIecw== - dependencies: - "@jest/test-result" "^25.2.6" - "@jest/types" "^25.2.6" - ansi-escapes "^4.2.1" - chalk "^3.0.0" - jest-util "^25.2.6" - string-length "^3.1.0" - -jest-watcher@^25.3.0: +jest-watcher@^25.2.4, jest-watcher@^25.3.0: version "25.3.0" resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-25.3.0.tgz#fd03fd5ca52f02bd3161ab177466bf1bfdd34e5c" integrity sha512-dtFkfidFCS9Ucv8azOg2hkiY3sgJEHeTLtGFHS+jfBEE7eRtrO6+2r1BokyDkaG2FOD7485r/SgpC1MFAENfeA== @@ -6154,17 +6016,7 @@ prettier@2.0.4: resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.4.tgz#2d1bae173e355996ee355ec9830a7a1ee05457ef" integrity sha512-SVJIQ51spzFDvh4fIbCLvciiDMCrRhlN3mbZvv/+ycjvmF5E73bKdGfU8QDLNmjYJf+lsGnDBC4UUnvTe5OO0w== -pretty-format@^25.1.0, pretty-format@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-25.2.6.tgz#542a1c418d019bbf1cca2e3620443bc1323cb8d7" - integrity sha512-DEiWxLBaCHneffrIT4B+TpMvkV9RNvvJrd3lY9ew1CEQobDzEXmYT1mg0hJhljZty7kCc10z13ohOFAE8jrUDg== - dependencies: - "@jest/types" "^25.2.6" - ansi-regex "^5.0.0" - ansi-styles "^4.0.0" - react-is "^16.12.0" - -pretty-format@^25.3.0: +pretty-format@^25.1.0, pretty-format@^25.3.0: version "25.3.0" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-25.3.0.tgz#d0a4f988ff4a6cd350342fdabbb809aeb4d49ad5" integrity sha512-wToHwF8bkQknIcFkBqNfKu4+UZqnrLn/Vr+wwKQwwvPzkBfDDKp/qIabFqdgtoi5PEnM8LFByVsOrHoa3SpTVA== From 68e60843a6d341ff63dfc6ddc02302400542eee1 Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Fri, 10 Apr 2020 14:24:15 +0300 Subject: [PATCH 0029/2034] spellcheck --- cspell.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cspell.json b/cspell.json index 67771de6e4..b223deba33 100644 --- a/cspell.json +++ b/cspell.json @@ -199,6 +199,7 @@ "keyof", "Khatri", "koba", + "lcov", "libdef", "linearize", "linebreak", @@ -210,6 +211,7 @@ "lowercased", "lowercasing", "lydell", + "macos", "malcolmsgroves", "Marek", "Masad", @@ -325,6 +327,7 @@ "scandir", "schemastore", "serializer", + "serializers", "serviceworker", "setlocal", "setq", @@ -362,6 +365,7 @@ "tdeekens", "templating", "tempy", + "testname", "tgriesser", "tidelift", "tidelift’s", From 7e8b6b761781833fba91d713f374456c65462b67 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Fri, 10 Apr 2020 20:07:07 +0800 Subject: [PATCH 0030/2034] Skip `DEEP_COMPARE` test if code didn't change (#7982) * Skip `DEEP_COMPARE` if code didn't change * Check stable --- tests_config/run_spec.js | 59 ++++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/tests_config/run_spec.js b/tests_config/run_spec.js index e88a2116a8..35db4ffa4a 100644 --- a/tests_config/run_spec.js +++ b/tests_config/run_spec.js @@ -135,26 +135,6 @@ global.run_spec = (dirname, parsers, options) => { parsersToVerify.push("babel-ts"); } - if ( - DEEP_COMPARE && - typeof rangeStart === "undefined" && - typeof rangeEnd === "undefined" && - typeof cursorOffset === "undefined" && - !TEST_CRLF - ) { - test("second format", () => { - const secondOutput = format(output, filename, mainOptions); - const isUnstable = unstableTests.get(filename); - if (isUnstable && isUnstable(options || {})) { - // To keep eye on failed tests, this assert never supposed to pass, - // if it fails, just remove the file from `unstableTests` - expect(secondOutput).not.toEqual(output); - } else { - expect(secondOutput).toEqual(output); - } - }); - } - for (const parser of parsersToVerify) { const verifyOptions = { ...baseOptions, parser }; @@ -176,17 +156,36 @@ global.run_spec = (dirname, parsers, options) => { }); } - if (AST_COMPARE) { - const formatted = output.replace(CURSOR_PLACEHOLDER, ""); + const formatted = output.replace(CURSOR_PLACEHOLDER, ""); + const isUnstable = unstableTests.get(filename); + const isUnstableTest = isUnstable && isUnstable(options || {}); + if ( + DEEP_COMPARE && + (formatted !== input || isUnstableTest) && + typeof rangeStart === "undefined" && + typeof rangeEnd === "undefined" && + typeof cursorOffset === "undefined" && + !TEST_CRLF + ) { + test("second format", () => { + const secondOutput = format(formatted, filename, mainOptions); + if (isUnstableTest) { + // To keep eye on failed tests, this assert never supposed to pass, + // if it fails, just remove the file from `unstableTests` + expect(secondOutput).not.toEqual(output); + } else { + expect(secondOutput).toEqual(output); + } + }); + } - if (formatted !== input) { - test("compare AST", () => { - const { cursorOffset, ...parseOptions } = mainOptions; - const originalAst = parse(input, parseOptions); - const formattedAst = parse(formatted, parseOptions); - expect(originalAst).toEqual(formattedAst); - }); - } + if (AST_COMPARE && formatted !== input) { + test("compare AST", () => { + const { cursorOffset, ...parseOptions } = mainOptions; + const originalAst = parse(input, parseOptions); + const formattedAst = parse(formatted, parseOptions); + expect(originalAst).toEqual(formattedAst); + }); } }); } From cf6f251b3cdede3631b8e771f88f3c0c74a8619d Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Fri, 10 Apr 2020 20:27:25 +0800 Subject: [PATCH 0031/2034] `graphql`: Allow interfaces to implement other interfaces (#8007) * `graphql`: Allow interfaces to implement other interfaces * Add changelog --- changelog_unreleased/graphql/pr-8007.md | 24 +++++++ src/language-graphql/printer-graphql.js | 7 +- .../__snapshots__/jsfmt.spec.js.snap | 72 +++++++++++++++++++ tests/graphql_interface/interface.graphql | 39 ++++++++++ 4 files changed, 141 insertions(+), 1 deletion(-) create mode 100644 changelog_unreleased/graphql/pr-8007.md diff --git a/changelog_unreleased/graphql/pr-8007.md b/changelog_unreleased/graphql/pr-8007.md new file mode 100644 index 0000000000..686257173c --- /dev/null +++ b/changelog_unreleased/graphql/pr-8007.md @@ -0,0 +1,24 @@ +#### Allow interfaces to implement other interfaces ([#8007](https://github.com/prettier/prettier/pull/8007) by [@fisker](https://github.com/fisker)) + +See ["RFC: Allow interfaces to implement other interfaces"](https://github.com/graphql/graphql-spec/pull/373) + + +```graphql +# Input +interface Resource implements Node { + id: ID! + url: String +} + +# Prettier stable +interface Resource { + id: ID! + url: String +} + +# Prettier master +interface Resource implements Node { + id: ID! + url: String +} +``` diff --git a/src/language-graphql/printer-graphql.js b/src/language-graphql/printer-graphql.js index 6d9fcea11a..8daa521602 100644 --- a/src/language-graphql/printer-graphql.js +++ b/src/language-graphql/printer-graphql.js @@ -506,8 +506,13 @@ function genericPrint(path, options, print) { n.kind === "InterfaceTypeExtension" ? "extend " : "", "interface ", path.call(print, "name"), + n.interfaces.length > 0 + ? concat([ + " implements ", + concat(printInterfaces(path, options, print)), + ]) + : "", printDirectives(path, print, n), - n.fields.length > 0 ? concat([ " {", diff --git a/tests/graphql_interface/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_interface/__snapshots__/jsfmt.spec.js.snap index 64047f412b..cd136b49d3 100644 --- a/tests/graphql_interface/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_interface/__snapshots__/jsfmt.spec.js.snap @@ -6,17 +6,89 @@ parsers: ["graphql"] printWidth: 80 | printWidth =====================================input====================================== +# https://github.com/graphql/graphql-spec/blob/master/spec/Section%203%20--%20Type%20System.md#interfaces + interface Actor { id: ID name: String } +interface Resource implements Node +{ + id: ID! + url: String +} + +interface Resource implements +Node { + id: ID! + url: String +} + +interface Image implements Resource +& Node { + id: ID! + url: String + thumbnail: String +} + +interface Node implements Named & +Node { + id: ID! + name: String +} + +interface Named implements +Node & Named { + id: ID! + name: String +} + +# \`InterfaceTypeExtension\` +extend interface Bar implements +A, B & C { + two(argument: InputType!): Type +} + =====================================output===================================== +# https://github.com/graphql/graphql-spec/blob/master/spec/Section%203%20--%20Type%20System.md#interfaces + interface Actor { id: ID name: String } +interface Resource implements Node { + id: ID! + url: String +} + +interface Resource implements Node { + id: ID! + url: String +} + +interface Image implements Resource & Node { + id: ID! + url: String + thumbnail: String +} + +interface Node implements Named & Node { + id: ID! + name: String +} + +interface Named implements Node & Named { + id: ID! + name: String +} + +# \`InterfaceTypeExtension\` +extend interface Bar implements A, B & C { + two(argument: InputType!): Type +} + ================================================================================ `; diff --git a/tests/graphql_interface/interface.graphql b/tests/graphql_interface/interface.graphql index 987b297b71..d20ac0f2d3 100644 --- a/tests/graphql_interface/interface.graphql +++ b/tests/graphql_interface/interface.graphql @@ -1,4 +1,43 @@ +# https://github.com/graphql/graphql-spec/blob/master/spec/Section%203%20--%20Type%20System.md#interfaces + interface Actor { id: ID name: String } + +interface Resource implements Node +{ + id: ID! + url: String +} + +interface Resource implements +Node { + id: ID! + url: String +} + +interface Image implements Resource +& Node { + id: ID! + url: String + thumbnail: String +} + +interface Node implements Named & +Node { + id: ID! + name: String +} + +interface Named implements +Node & Named { + id: ID! + name: String +} + +# `InterfaceTypeExtension` +extend interface Bar implements +A, B & C { + two(argument: InputType!): Type +} From eca28c70c615c3f4aaf339fbb555ab33aae07307 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Fri, 10 Apr 2020 21:09:54 +0800 Subject: [PATCH 0032/2034] Fix `graphql` comments between interfaces (#8006) --- changelog_unreleased/graphql/pr-8006.md | 33 +++++++++++++++++++ src/language-graphql/printer-graphql.js | 29 +++++++--------- .../__snapshots__/jsfmt.spec.js.snap | 26 +++++++++++++++ tests/graphql_comments/interfaces.graphql | 7 ++++ .../__snapshots__/jsfmt.spec.js.snap | 9 +++-- tests_config/run_spec.js | 1 - 6 files changed, 84 insertions(+), 21 deletions(-) create mode 100644 changelog_unreleased/graphql/pr-8006.md create mode 100644 tests/graphql_comments/interfaces.graphql diff --git a/changelog_unreleased/graphql/pr-8006.md b/changelog_unreleased/graphql/pr-8006.md new file mode 100644 index 0000000000..29892f7248 --- /dev/null +++ b/changelog_unreleased/graphql/pr-8006.md @@ -0,0 +1,33 @@ +#### Fix comments between interfaces ([#8006](https://github.com/prettier/prettier/pull/8006) by [@fisker](https://github.com/fisker)) + + +```graphql +# Input +type Type1 implements + A & +# comment 1 + B +# comment 2 + & C {a: a} + +# Prettier stable +type Type1 implements A & # comment 1 +B & # comment 2 +C { + a: a +} + +# Prettier stable (Second format) +type Type1 implements A & B & C { # comment 1 # comment 2 + a: a +} + +# Prettier master +type Type1 implements A & +# comment 1 +B & +# comment 2 +C { + a: a +} +``` diff --git a/src/language-graphql/printer-graphql.js b/src/language-graphql/printer-graphql.js index 8daa521602..5da58a97b0 100644 --- a/src/language-graphql/printer-graphql.js +++ b/src/language-graphql/printer-graphql.js @@ -662,14 +662,6 @@ function printComment(commentPath) { throw new Error("Not a comment: " + JSON.stringify(comment)); } -function determineInterfaceSeparatorBetween(first, second, options) { - const textBetween = options.originalText - .slice(first.loc.end, second.loc.start) - .replace(/#.*/g, "") - .trim(); - - return textBetween === "," ? ", " : " & "; -} function printInterfaces(path, options, print) { const node = path.getNode(); const parts = []; @@ -678,18 +670,21 @@ function printInterfaces(path, options, print) { for (let index = 0; index < interfaces.length; index++) { const interfaceNode = interfaces[index]; - if (index > 0) { - parts.push( - determineInterfaceSeparatorBetween( - interfaces[index - 1], - interfaceNode, - options - ) + parts.push(printed[index]); + const nextInterfaceNode = interfaces[index + 1]; + if (nextInterfaceNode) { + const textBetween = options.originalText.slice( + interfaceNode.loc.end, + nextInterfaceNode.loc.start ); - } + const hasComment = textBetween.includes("#"); + const separator = textBetween.replace(/#.*/g, "").trim(); - parts.push(printed[index]); + parts.push(separator === "," ? "," : " &"); + parts.push(hasComment ? line : " "); + } } + return parts; } diff --git a/tests/graphql_comments/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_comments/__snapshots__/jsfmt.spec.js.snap index 3f1dc01f78..14163614a7 100644 --- a/tests/graphql_comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_comments/__snapshots__/jsfmt.spec.js.snap @@ -45,6 +45,32 @@ query { ================================================================================ `; +exports[`interfaces.graphql format 1`] = ` +====================================options===================================== +parsers: ["graphql"] +printWidth: 80 + | printWidth +=====================================input====================================== +type Type1 +implements +A & B & +# comment 1 + C & D & +# comment 2 + E {a: a} + +=====================================output===================================== +type Type1 implements A & B & +# comment 1 +C & D & +# comment 2 +E { + a: a +} + +================================================================================ +`; + exports[`tokens.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] diff --git a/tests/graphql_comments/interfaces.graphql b/tests/graphql_comments/interfaces.graphql new file mode 100644 index 0000000000..4698822df5 --- /dev/null +++ b/tests/graphql_comments/interfaces.graphql @@ -0,0 +1,7 @@ +type Type1 +implements +A & B & +# comment 1 + C & D & +# comment 2 + E {a: a} diff --git a/tests/graphql_interface/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_interface/__snapshots__/jsfmt.spec.js.snap index cd136b49d3..19dd8a7cf0 100644 --- a/tests/graphql_interface/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_interface/__snapshots__/jsfmt.spec.js.snap @@ -305,19 +305,22 @@ type Type2 implements A, B, C, D { a: a } -type Type3 implements A, # &&&&&&&& comment line 1 +type Type3 implements A, +# &&&&&&&& comment line 1 # &&&&&&&& comment line 2 B & C, D { a: a } -type Type4 implements A, # &&&&&&&& comment line 1 +type Type4 implements A, +# &&&&&&&& comment line 1 # &&&&&&&& comment line 2 B & C, D { a: a } -type Type5 implements A, # &&&&&&&& comment line 1 +type Type5 implements A, +# &&&&&&&& comment line 1 # &&&&&&&& comment line 2 B & C, D { a: a diff --git a/tests_config/run_spec.js b/tests_config/run_spec.js index 35db4ffa4a..81d811b5ee 100644 --- a/tests_config/run_spec.js +++ b/tests_config/run_spec.js @@ -28,7 +28,6 @@ const unstableTests = new Map( "comments/return-statement.js", "comments/tagged-template-literal.js", "comments_closure_typecast/iife.js", - "graphql_interface/separator-detection.graphql", "markdown_footnoteDefinition/multiline.md", "markdown_spec/example-234.md", "markdown_spec/example-235.md", From 1221598304158efccf95fba9c83e0477b6139210 Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Fri, 10 Apr 2020 16:11:52 +0300 Subject: [PATCH 0033/2034] copy webstorm.md changes to versioned_docs --- .../versioned_docs/version-stable/webstorm.md | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/website/versioned_docs/version-stable/webstorm.md b/website/versioned_docs/version-stable/webstorm.md index b5bd9b9f50..c05f5e024a 100644 --- a/website/versioned_docs/version-stable/webstorm.md +++ b/website/versioned_docs/version-stable/webstorm.md @@ -4,19 +4,23 @@ title: WebStorm Setup original_id: webstorm --- -## WebStorm 2018.1 and above +## Using Prettier in WebStorm Use the `Reformat with Prettier` action (`Alt-Shift-Cmd-P` on macOS or `Alt-Shift-Ctrl-P` on Windows and Linux) to format the selected code, a file, or a whole directory. -Don't forget to install `prettier` first. +To run Prettier on save in WebStorm 2020.1 or above, open _Preferences | Languages & Frameworks | JavaScript | Prettier_ and enable the option `Run on save for files`. + +By default, only JavaScript and TypeScript files will be formatted automatically. You can further configure what files will be updated using the [glob pattern](https://github.com/isaacs/node-glob#glob-primer). + +Don't forget to install Prettier first. To use Prettier in IntelliJ IDEA, PhpStorm, PyCharm, and other JetBrains IDEs, please install this [plugin](https://plugins.jetbrains.com/plugin/10456-prettier). -For older IDE versions, please follow the instructions below. +To run Prettier on save in older IDE versions, you can set up a file watcher following the instructions below. ## Running Prettier on save using File Watcher -To automatically format your files using `prettier` on save, you can use a [File Watcher](https://plugins.jetbrains.com/plugin/7177-file-watchers). +To automatically format your files using Prettier on save in WebStorm 2019.\* or earlier, you can use a [File Watcher](https://plugins.jetbrains.com/plugin/7177-file-watchers). Go to _Preferences | Tools | File Watchers_ and click **+** to add a new watcher. @@ -25,26 +29,24 @@ In Webstorm 2018.2, select Prettier from the list, review the configuration, add In older IDE versions, select Custom and do the following configuration: - **Name**: _Prettier_ or any other name -- **File Type**: _JavaScript_ (or _Any_ if you want to run `prettier` on all files) +- **File Type**: _JavaScript_ (or _Any_ if you want to run Prettier on all files) - **Scope**: _Project Files_ - **Program**: full path to `.bin/prettier` or `.bin\prettier.cmd` in the project's `node_module` folder. Or, if Prettier is installed globally, select `prettier` on macOS and Linux or `C:\Users\user_name\AppData\Roaming\npm\prettier.cmd` on Windows (or whatever `npm prefix -g` returns). - **Arguments**: `--write [other options] $FilePathRelativeToProjectRoot$` - **Output paths to refresh**: `$FilePathRelativeToProjectRoot$` - **Working directory**: `$ProjectFileDir$` -- **Environment variables**: add `COMPILE_PARTIAL=true` if you want to run `prettier` on partials (like `_component.scss`) +- **Environment variables**: add `COMPILE_PARTIAL=true` if you want to run Prettier on partials (like `_component.scss`) - **Auto-save edited files to trigger the watcher**: Uncheck to reformat on Save only. ![Example](/docs/assets/webstorm/file-watcher-prettier.png) -## WebStorm 2017.3 or earlier - -### Using Prettier with ESLint +## Using Prettier with ESLint If you are using ESLint with [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier), use the `Fix ESLint Problems` action to reformat the current file – find it using _Find Action_ (`Cmd/Ctrl-Shift-A`) or [add a keyboard shortcut](https://www.jetbrains.com/help/webstorm/configuring-keyboard-shortcuts.html) to it in _Preferences | Keymap_ and then use it. Make sure that the ESLint integration is enabled in _Preferences | Languages & Frameworks | JavaScript | Code Quality Tools | ESLint_. -### Using Prettier as External Tool +## Using Prettier as External Tool Go to _Preferences | Tools | External Tools_ and click **+** to add a new tool. Let’s name it **Prettier**. @@ -58,6 +60,6 @@ Go to _Preferences | Tools | External Tools_ and click **+** to add a new tool. Press `Cmd/Ctrl-Shift-A` (_Find Action_), search for _Prettier_, and then hit `Enter`. -It will run `prettier` for the current file. +It will run Prettier for the current file. You can [add a keyboard shortcut](https://www.jetbrains.com/help/webstorm/configuring-keyboard-shortcuts.html) to run this External tool configuration in _Preferences | Keymap_. From f0207e68505e29419adb5d4a52279bb95cf98835 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Fri, 10 Apr 2020 21:20:40 +0800 Subject: [PATCH 0034/2034] Enable `unicorn/better-regex` (#7991) * Enable `unicorn/better-regex` * Spellcheck ignore regex --- .editorconfig | 1 + .eslintrc.yml | 1 + cspell.json | 3 ++- scripts/draft-blog-post.js | 4 ++-- scripts/lint-changelog.js | 4 ++-- scripts/release/steps/update-version.js | 2 +- src/common/util.js | 8 ++++---- src/document/doc-printer.js | 4 ++-- src/language-css/clean.js | 6 +++--- src/language-css/parser-postcss.js | 4 ++-- src/language-css/printer-postcss.js | 8 ++++---- src/language-css/utils.js | 4 ++-- src/language-graphql/pragma.js | 2 +- src/language-handlebars/printer-glimmer.js | 4 ++-- src/language-html/conditional-comment.js | 6 +++--- src/language-html/constants.evaluate.js | 2 +- src/language-html/parser-html.js | 4 ++-- src/language-html/preprocess.js | 4 ++-- src/language-html/printer-html.js | 4 ++-- src/language-html/syntax-vue.js | 6 +++--- src/language-js/comments.js | 2 +- src/language-js/embed.js | 8 ++++---- src/language-js/printer-estree.js | 4 ++-- src/language-js/utils.js | 2 +- src/language-markdown/embed.js | 2 +- src/language-markdown/parser-markdown.js | 2 +- src/language-markdown/printer-markdown.js | 8 ++++---- src/language-markdown/utils.js | 2 +- src/language-yaml/pragma.js | 2 +- src/language-yaml/utils.js | 2 +- tests_integration/__tests__/patterns-dirs.js | 2 +- 31 files changed, 60 insertions(+), 57 deletions(-) diff --git a/.editorconfig b/.editorconfig index 49a6d74cdd..1cbc8fe300 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,6 +10,7 @@ insert_final_newline = true [cspell.json] indent_size = 4 +insert_final_newline = false [website/blog/*.md] trim_trailing_whitespace = false diff --git a/.eslintrc.yml b/.eslintrc.yml index 28d4f88f0a..8b89ff8484 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -56,6 +56,7 @@ rules: - error - never - exceptRange: true + unicorn/better-regex: error unicorn/new-for-builtins: error unicorn/prefer-includes: error unicorn/prefer-set-has: error diff --git a/cspell.json b/cspell.json index b223deba33..399366bf98 100644 --- a/cspell.json +++ b/cspell.json @@ -431,7 +431,8 @@ "\\[@\\w+?\\]", "\\[`\\w+`\\]", "ve{2,}r{2,}y", - "ve+r+y+long\\w*" + "ve+r+y+long\\w*", + "\\/.*?\\/" ], "ignorePaths": [ "**/node_modules/**", diff --git a/scripts/draft-blog-post.js b/scripts/draft-blog-post.js index bce3c86d9d..28adf7e20e 100644 --- a/scripts/draft-blog-post.js +++ b/scripts/draft-blog-post.js @@ -67,9 +67,9 @@ for (const dir of dirs) { highlight: title.includes("[HIGHLIGHT]"), content: [ title - .replace(/\[(BREAKING|HIGHLIGHT)\]/g, "") + .replace(/\[(BREAKING|HIGHLIGHT)]/g, "") .replace(/\s+/g, " ") - .replace(/^#### [a-z]/, (s) => s.toUpperCase()), + .replace(/^#{4} [a-z]/, (s) => s.toUpperCase()), ...rest, ].join("\n"), }; diff --git a/scripts/lint-changelog.js b/scripts/lint-changelog.js index 26ff1c20a0..c69f92e2fa 100644 --- a/scripts/lint-changelog.js +++ b/scripts/lint-changelog.js @@ -52,14 +52,14 @@ for (const file of [ } } -const authorRegex = /by \[@(.*?)\]\(https:\/\/github\.com\/\1\)/; +const authorRegex = /by \[@(.*?)]\(https:\/\/github\.com\/\1\)/; const titleRegex = /^#{4} (.*?)\(\[#\d{4,}]/; const template = fs.readFileSync( path.join(CHANGELOG_ROOT, TEMPLATE_FILE), "utf8" ); -const [templateComment] = template.match(//); +const [templateComment] = template.match(//); const [templateAuthorLink] = template.match(authorRegex); for (const category of CHANGELOG_CATEGORIES) { diff --git a/scripts/release/steps/update-version.js b/scripts/release/steps/update-version.js index 6f01681685..0818207656 100644 --- a/scripts/release/steps/update-version.js +++ b/scripts/release/steps/update-version.js @@ -21,7 +21,7 @@ async function bump({ version }) { // Update unpkg link in docs processFile("docs/browser.md", (content) => - content.replace(/(\/\/unpkg\.com\/prettier@)(?:.*?)\//g, `$1${version}/`) + content.replace(/(\/\/unpkg\.com\/prettier@).*?\//g, `$1${version}/`) ); await execa("yarn", ["update-stable-docs"], { diff --git a/src/common/util.js b/src/common/util.js index 51ab3a1dce..0de284663e 100644 --- a/src/common/util.js +++ b/src/common/util.js @@ -73,7 +73,7 @@ const skipToLineEnd = skip(",; \t"); /** * @type {(text: string, index: number | false, opts?: SkipOptions) => number | false} */ -const skipEverythingButNewLine = skip(/[^\r\n]/); +const skipEverythingButNewLine = skip(/[^\n\r]/); /** * @param {string} text @@ -520,7 +520,7 @@ function getIndentSize(value, tabWidth) { return getAlignmentSize( // All the leading whitespaces - value.slice(lastNewlineIndex + 1).match(/^[ \t]*/)[0], + value.slice(lastNewlineIndex + 1).match(/^[\t ]*/)[0], tabWidth ); } @@ -624,7 +624,7 @@ function makeString(rawContent, enclosingQuote, unescapeUnnecessaryEscapes) { const otherQuote = enclosingQuote === '"' ? "'" : '"'; // Matches _any_ escape and unescaped quotes (both single and double). - const regex = /\\([\s\S])|(['"])/g; + const regex = /\\([\S\s])|(["'])/g; // Escape and unescape single and double quotes as needed to be able to // enclose `rawContent` with `enclosingQuote`. @@ -650,7 +650,7 @@ function makeString(rawContent, enclosingQuote, unescapeUnnecessaryEscapes) { // Unescape any unnecessarily escaped character. // Adapted from https://github.com/eslint/eslint/blob/de0b4ad7bd820ade41b1f606008bea68683dc11a/lib/rules/no-useless-escape.js#L27 return unescapeUnnecessaryEscapes && - /^[^\\nrvtbfux\r\n\u2028\u2029"'0-7]$/.test(escaped) + /^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(escaped) ? escaped : "\\" + escaped; }); diff --git a/src/document/doc-printer.js b/src/document/doc-printer.js index 737532fb3a..4f27b04443 100644 --- a/src/document/doc-printer.js +++ b/src/document/doc-printer.js @@ -121,13 +121,13 @@ function trim(out) { while ( out.length > 0 && typeof out[out.length - 1] === "string" && - out[out.length - 1].match(/^[ \t]*$/) + out[out.length - 1].match(/^[\t ]*$/) ) { trimCount += out.pop().length; } if (out.length && typeof out[out.length - 1] === "string") { - const trimmed = out[out.length - 1].replace(/[ \t]*$/, ""); + const trimmed = out[out.length - 1].replace(/[\t ]*$/, ""); trimCount += out[out.length - 1].length - trimmed.length; out[out.length - 1] = trimmed; } diff --git a/src/language-css/clean.js b/src/language-css/clean.js index 0bc1016c41..452834d48c 100644 --- a/src/language-css/clean.js +++ b/src/language-css/clean.js @@ -113,7 +113,7 @@ function clean(ast, newObj, parent) { } if (newObj.value) { - newObj.value = newObj.value.trim().replace(/^['"]|['"]$/g, ""); + newObj.value = newObj.value.trim().replace(/^["']|["']$/g, ""); delete newObj.quoted; } } @@ -129,7 +129,7 @@ function clean(ast, newObj, parent) { newObj.value ) { newObj.value = newObj.value.replace( - /([\d.eE+-]+)([a-zA-Z]*)/g, + /([\d+.Ee-]+)([A-Za-z]*)/g, (match, numStr, unit) => { const num = Number(numStr); return isNaN(num) ? match : num + unit.toLowerCase(); @@ -157,7 +157,7 @@ function clean(ast, newObj, parent) { } function cleanCSSStrings(value) { - return value.replace(/'/g, '"').replace(/\\([^a-fA-F\d])/g, "$1"); + return value.replace(/'/g, '"').replace(/\\([^\dA-Fa-f])/g, "$1"); } module.exports = clean; diff --git a/src/language-css/parser-postcss.js b/src/language-css/parser-postcss.js index cd3fb3c65b..e3603a60d9 100644 --- a/src/language-css/parser-postcss.js +++ b/src/language-css/parser-postcss.js @@ -464,7 +464,7 @@ function parseNestedCSS(node, options) { } if (name === "at-root") { - if (/^\(\s*(without|with)\s*:[\s\S]+\)$/.test(params)) { + if (/^\(\s*(without|with)\s*:[\S\s]+\)$/.test(params)) { node.params = parseValue(params); } else { node.selector = parseSelector(params); @@ -500,7 +500,7 @@ function parseNestedCSS(node, options) { ].includes(name) ) { // Remove unnecessary spaces in SCSS variable arguments - params = params.replace(/(\$\S+?)\s+?\.\.\./, "$1..."); + params = params.replace(/(\$\S+?)\s+?\.{3}/, "$1..."); // Remove unnecessary spaces before SCSS control, mixin and function directives params = params.replace(/^(?!if)(\S+)\s+\(/, "$1("); diff --git a/src/language-css/printer-postcss.js b/src/language-css/printer-postcss.js index ed7cc9627f..1fe079f77e 100644 --- a/src/language-css/printer-postcss.js +++ b/src/language-css/printer-postcss.js @@ -974,10 +974,10 @@ function printNodeSequence(path, options, print) { return concat(parts); } -const STRING_REGEX = /(['"])(?:(?!\1)[^\\]|\\[\s\S])*\1/g; -const NUMBER_REGEX = /(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?/g; -const STANDARD_UNIT_REGEX = /[a-zA-Z]+/g; -const WORD_PART_REGEX = /[$@]?[a-zA-Z_\u0080-\uFFFF][\w\-\u0080-\uFFFF]*/g; +const STRING_REGEX = /(["'])(?:(?!\1)[^\\]|\\[\S\s])*\1/g; +const NUMBER_REGEX = /(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g; +const STANDARD_UNIT_REGEX = /[A-Za-z]+/g; +const WORD_PART_REGEX = /[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g; const ADJUST_NUMBERS_REGEX = new RegExp( STRING_REGEX.source + "|" + diff --git a/src/language-css/utils.js b/src/language-css/utils.js index 1328dd2563..f0bd1cc389 100644 --- a/src/language-css/utils.js +++ b/src/language-css/utils.js @@ -60,7 +60,7 @@ function getPropOfDeclNode(path) { function isSCSS(parser, text) { const hasExplicitParserChoice = parser === "less" || parser === "scss"; - const IS_POSSIBLY_SCSS = /(\w\s*:\s*[^}:]+|#){|@import[^\n]+(?:url|,)/; + const IS_POSSIBLY_SCSS = /(\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/; return hasExplicitParserChoice ? parser === "scss" : IS_POSSIBLY_SCSS.test(text); @@ -385,7 +385,7 @@ function isLessParser(options) { } function lastLineHasInlineComment(text) { - return /\/\//.test(text.split(/[\r\n]/).pop()); + return /\/\//.test(text.split(/[\n\r]/).pop()); } module.exports = { diff --git a/src/language-graphql/pragma.js b/src/language-graphql/pragma.js index d41219dc7a..af174a325f 100644 --- a/src/language-graphql/pragma.js +++ b/src/language-graphql/pragma.js @@ -1,7 +1,7 @@ "use strict"; function hasPragma(text) { - return /^\s*#[^\n\S]*@(format|prettier)\s*(\n|$)/.test(text); + return /^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(text); } function insertPragma(text) { diff --git a/src/language-handlebars/printer-glimmer.js b/src/language-handlebars/printer-glimmer.js index 6327e43d70..eca75b26fd 100644 --- a/src/language-handlebars/printer-glimmer.js +++ b/src/language-handlebars/printer-glimmer.js @@ -493,14 +493,14 @@ function countNewLines(string) { function countLeadingNewLines(string) { /* istanbul ignore next */ string = typeof string === "string" ? string : ""; - const newLines = (string.match(/^([^\S\r\n]*[\r\n])+/g) || [])[0] || ""; + const newLines = (string.match(/^([^\S\n\r]*[\n\r])+/g) || [])[0] || ""; return countNewLines(newLines); } function countTrailingNewLines(string) { /* istanbul ignore next */ string = typeof string === "string" ? string : ""; - const newLines = (string.match(/([\r\n][^\S\r\n]*)+$/g) || [])[0] || ""; + const newLines = (string.match(/([\n\r][^\S\n\r]*)+$/g) || [])[0] || ""; return countNewLines(newLines); } diff --git a/src/language-html/conditional-comment.js b/src/language-html/conditional-comment.js index 55199c87b9..267b86eac3 100644 --- a/src/language-html/conditional-comment.js +++ b/src/language-html/conditional-comment.js @@ -3,11 +3,11 @@ // https://css-tricks.com/how-to-create-an-ie-only-stylesheet // -const IE_CONDITIONAL_START_END_COMMENT_REGEX = /^(\[if([^\]]*?)\]>)([\s\S]*?))([\S\s]*?) -const IE_CONDITIONAL_START_COMMENT_REGEX = /^\[if([^\]]*?)\]> -const IE_CONDITIONAL_END_COMMENT_REGEX = /^ htmlStyle.selectorText .split(",") .map((selector) => selector.trim()) - .filter((selector) => /^[a-zA-Z0-9]+$/.test(selector)) + .filter((selector) => /^[\dA-Za-z]+$/.test(selector)) .map((tagName) => [tagName, htmlStyle.style[property]]) ) ) diff --git a/src/language-html/parser-html.js b/src/language-html/parser-html.js index ad9207cf38..ce88a50101 100644 --- a/src/language-html/parser-html.js +++ b/src/language-html/parser-html.js @@ -93,7 +93,7 @@ function ngHtmlParser( attr.value = null; } else { attr.value = attr.valueSpan.toString(); - if (/['"]/.test(attr.value[0])) { + if (/["']/.test(attr.value[0])) { attr.value = attr.value.slice(1, -1); } } @@ -204,7 +204,7 @@ function _parse(text, options, parserOptions, shouldParseFrontMatter = true) { const parseSubHtml = (subContent, startSpan) => { const { offset } = startSpan; - const fakeContent = text.slice(0, offset).replace(/[^\r\n]/g, " "); + const fakeContent = text.slice(0, offset).replace(/[^\n\r]/g, " "); const realContent = subContent; const subAst = _parse( fakeContent + realContent, diff --git a/src/language-html/preprocess.js b/src/language-html/preprocess.js index 537ebd7517..956b82d43f 100644 --- a/src/language-html/preprocess.js +++ b/src/language-html/preprocess.js @@ -232,7 +232,7 @@ function extractInterpolation(ast, options) { return ast; } - const interpolationRegex = /\{\{([\s\S]+?)\}\}/g; + const interpolationRegex = /{{([\S\s]+?)}}/g; return ast.map((node) => { if (!canHaveInterpolation(node)) { return node; @@ -337,7 +337,7 @@ function extractWhitespaces(ast /*, options*/) { const localChildren = []; const [, leadingSpaces, text, trailingSpaces] = child.value.match( - /^(\s*)([\s\S]*?)(\s*)$/ + /^(\s*)([\S\s]*?)(\s*)$/ ); if (leadingSpaces) { diff --git a/src/language-html/printer-html.js b/src/language-html/printer-html.js index 721e07e7a0..8baaaff21d 100644 --- a/src/language-html/printer-html.js +++ b/src/language-html/printer-html.js @@ -120,7 +120,7 @@ function embed(path, print, textToDoc, options) { // lwc: html`` if (options.parser === "lwc") { - const interpolationRegex = /^\{[\s\S]*\}$/; + const interpolationRegex = /^{[\S\s]*}$/; if ( interpolationRegex.test( options.originalText.slice( @@ -1100,7 +1100,7 @@ function printEmbeddedAttributeValue(node, originalTextToDoc, options) { ); } - const interpolationRegex = /\{\{([\s\S]+?)\}\}/g; + const interpolationRegex = /{{([\S\s]+?)}}/g; const value = getValue(); if (interpolationRegex.test(value)) { const parts = []; diff --git a/src/language-html/syntax-vue.js b/src/language-html/syntax-vue.js index 4d5e44e2ea..f028eb7e7d 100644 --- a/src/language-html/syntax-vue.js +++ b/src/language-html/syntax-vue.js @@ -29,7 +29,7 @@ function printVueFor(value, textToDoc) { // modified from https://github.com/vuejs/vue/blob/v2.5.17/src/compiler/parser/index.js#L370-L387 function parseVueFor(value) { const forAliasRE = /([^]*?)\s+(in|of)\s+([^]*)/; - const forIteratorRE = /,([^,}\]]*)(?:,([^,}\]]*))?$/; + const forIteratorRE = /,([^,\]}]*)(?:,([^,\]}]*))?$/; const stripParensRE = /^\(|\)$/g; const inMatch = value.match(forAliasRE); @@ -69,9 +69,9 @@ function printVueSlotScope(value, textToDoc) { function isVueEventBindingExpression(eventBindingValue) { // https://github.com/vuejs/vue/blob/v2.5.17/src/compiler/codegen/events.js#L3-L4 // arrow function or anonymous function - const fnExpRE = /^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/; + const fnExpRE = /^([\w$]+|\([^)]*?\))\s*=>|^function\s*\(/; // simple member expression chain (a, a.b, a['b'], a["b"], a[0], a[b]) - const simplePathRE = /^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/; + const simplePathRE = /^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/; // https://github.com/vuejs/vue/blob/v2.5.17/src/compiler/helpers.js#L104 const value = eventBindingValue.trim(); diff --git a/src/language-js/comments.js b/src/language-js/comments.js index 50aa349873..0044d54b89 100644 --- a/src/language-js/comments.js +++ b/src/language-js/comments.js @@ -951,7 +951,7 @@ function getGapRegex(enclosingNode) { ) { // Support degenerate single-element unions and intersections. // E.g.: `type A = /* 1 */ & B` - return /^[\s(&|]*$/; + return /^[\s&(|]*$/; } } diff --git a/src/language-js/embed.js b/src/language-js/embed.js index 679c9d6b37..55fde90212 100644 --- a/src/language-js/embed.js +++ b/src/language-js/embed.js @@ -94,11 +94,11 @@ function embed(path, print, textToDoc, options) { lines[numLines - 2].trim() === ""; const commentsAndWhitespaceOnly = lines.every((line) => - /^\s*(?:#[^\r\n]*)?$/.test(line) + /^\s*(?:#[^\n\r]*)?$/.test(line) ); // Bail out if an interpolation occurs within a comment. - if (!isLast && /#[^\r\n]*$/.test(lines[numLines - 1])) { + if (!isLast && /#[^\n\r]*$/.test(lines[numLines - 1])) { return null; } @@ -204,7 +204,7 @@ function getIndentation(str) { } function uncook(cookedValue) { - return cookedValue.replace(/([\\`]|\$\{)/g, "\\$1"); + return cookedValue.replace(/([\\`]|\${)/g, "\\$1"); } function escapeTemplateCharacters(doc, raw) { @@ -292,7 +292,7 @@ function replacePlaceholders(quasisDoc, expressionDocs) { const placeholder = parts[atPlaceholderIndex]; const rest = parts.slice(atPlaceholderIndex + 1); const placeholderMatch = placeholder.match( - /@prettier-placeholder-(.+)-id([\s\S]*)/ + /@prettier-placeholder-(.+)-id([\S\s]*)/ ); const placeholderID = placeholderMatch[1]; // When the expression has a suffix appended, like: diff --git a/src/language-js/printer-estree.js b/src/language-js/printer-estree.js index 750a069244..5d4298d585 100644 --- a/src/language-js/printer-estree.js +++ b/src/language-js/printer-estree.js @@ -3641,7 +3641,7 @@ function printPathNoParens(path, options, print, args) { ) ); case "NGMicrosyntaxKey": - return /^[a-z_$][a-z0-9_$]*(-[a-z_$][a-z0-9_$])*$/i.test(n.name) + return /^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(n.name) ? n.name : JSON.stringify(n.name); case "NGMicrosyntaxExpression": @@ -5114,7 +5114,7 @@ function printMemberChain(path, options, print) { // letter or just a sequence of _$. The rationale is that they are // likely to be factories. function isFactory(name) { - return /^[A-Z]|^[_$]+$/.test(name); + return /^[A-Z]|^[$_]+$/.test(name); } // In case the Identifier is shorter than tab width, we can keep the diff --git a/src/language-js/utils.js b/src/language-js/utils.js index 78cd6277df..9aec30eeec 100644 --- a/src/language-js/utils.js +++ b/src/language-js/utils.js @@ -731,7 +731,7 @@ function isJestEachTemplateLiteral(node, parentNode) { * * Ref: https://github.com/facebook/jest/pull/6102 */ - const jestEachTriggerRegex = /^[xf]?(describe|it|test)$/; + const jestEachTriggerRegex = /^[fx]?(describe|it|test)$/; return ( parentNode.type === "TaggedTemplateExpression" && parentNode.quasi === node && diff --git a/src/language-markdown/embed.js b/src/language-markdown/embed.js index 2919ffce43..fe5e2bcf2b 100644 --- a/src/language-markdown/embed.js +++ b/src/language-markdown/embed.js @@ -13,7 +13,7 @@ function embed(path, print, textToDoc, options) { if (node.type === "code" && node.lang !== null) { // only look for the first string so as to support [markdown-preview-enhanced](https://shd101wyy.github.io/markdown-preview-enhanced/#/code-chunk) - const langMatch = node.lang.match(/^[A-Za-z0-9_-]+/); + const langMatch = node.lang.match(/^[\w-]+/); const lang = langMatch ? langMatch[0] : ""; const parser = getParserName(lang); if (parser) { diff --git a/src/language-markdown/parser-markdown.js b/src/language-markdown/parser-markdown.js index a9e4f61836..67a352a362 100644 --- a/src/language-markdown/parser-markdown.js +++ b/src/language-markdown/parser-markdown.js @@ -80,7 +80,7 @@ function liquid() { proto.inlineTokenizers.liquid = tokenizer; function tokenizer(eat, value) { - const match = value.match(/^({%[\s\S]*?%}|{{[\s\S]*?}})/); + const match = value.match(/^({%[\S\s]*?%}|{{[\S\s]*?}})/); if (match) { return eat(match[0])({ diff --git a/src/language-markdown/printer-markdown.js b/src/language-markdown/printer-markdown.js index c2cd2f40c9..fa4c566b52 100644 --- a/src/language-markdown/printer-markdown.js +++ b/src/language-markdown/printer-markdown.js @@ -81,7 +81,7 @@ function genericPrint(path, options, print) { return printChildren(path, options, print); case "word": return node.value - .replace(/[*$]/g, "\\$&") // escape all `*` and `$` (math) + .replace(/[$*]/g, "\\$&") // escape all `*` and `$` (math) .replace( new RegExp( [ @@ -103,7 +103,7 @@ function genericPrint(path, options, print) { const proseWrap = // leading char that may cause different syntax - nextNode && /^>|^([-+*]|#{1,6}|[0-9]+[.)])$/.test(nextNode.value) + nextNode && /^>|^([*+-]|#{1,6}|\d+[).])$/.test(nextNode.value) ? "never" : options.proseWrap; @@ -236,7 +236,7 @@ function genericPrint(path, options, print) { privateUtil.getLast(parentNode.children) === node ? node.value.trimEnd() : node.value; - const isHtmlComment = /^$/.test(value); + const isHtmlComment = /^$/.test(value); return concat( replaceEndOfLineWith( value, @@ -951,7 +951,7 @@ function clean(ast, newObj, parent) { } if (ast.type === "inlineCode") { - newObj.value = ast.value.replace(/[ \t\n]+/g, " "); + newObj.value = ast.value.replace(/[\t\n ]+/g, " "); } // for insert pragma diff --git a/src/language-markdown/utils.js b/src/language-markdown/utils.js index 05abf00fc1..a7a6dde8dd 100644 --- a/src/language-markdown/utils.js +++ b/src/language-markdown/utils.js @@ -52,7 +52,7 @@ function splitText(text, options) { ? text : text.replace(new RegExp(`(${cjkPattern})\n(${cjkPattern})`, "g"), "$1$2") ) - .split(/([ \t\n]+)/) + .split(/([\t\n ]+)/) .forEach((token, index, tokens) => { // whitespace if (index % 2 === 1) { diff --git a/src/language-yaml/pragma.js b/src/language-yaml/pragma.js index 56225a0d33..f65ca0dd21 100644 --- a/src/language-yaml/pragma.js +++ b/src/language-yaml/pragma.js @@ -5,7 +5,7 @@ function isPragma(text) { } function hasPragma(text) { - return /^\s*#[^\n\S]*@(prettier|format)\s*?(\n|$)/.test(text); + return /^\s*#[^\S\n]*@(prettier|format)\s*?(\n|$)/.test(text); } function insertPragma(text) { diff --git a/src/language-yaml/utils.js b/src/language-yaml/utils.js index 0ff8f6ed79..c4bb86426f 100644 --- a/src/language-yaml/utils.js +++ b/src/language-yaml/utils.js @@ -246,7 +246,7 @@ function getBlockValueLineContents( : options.originalText .slice(node.position.start.offset, node.position.end.offset) // exclude open line `>` or `|` - .match(/^[^\n]*?\n([\s\S]*)$/)[1]; + .match(/^[^\n]*?\n([\S\s]*)$/)[1]; const leadingSpaceCount = node.indent === null diff --git a/tests_integration/__tests__/patterns-dirs.js b/tests_integration/__tests__/patterns-dirs.js index 0f7b25b23e..0818ab93bf 100644 --- a/tests_integration/__tests__/patterns-dirs.js +++ b/tests_integration/__tests__/patterns-dirs.js @@ -95,7 +95,7 @@ function testPatterns(namePrefix, cliArgs, expected = {}) { (namePrefix ? namePrefix + ": " : "") + "prettier " + cliArgs - .map((arg) => (/^[\w.=/-]+$/.test(arg) ? arg : `'${arg}'`)) + .map((arg) => (/^[\w./=-]+$/.test(arg) ? arg : `'${arg}'`)) .join(" "); describe(testName, () => { From aeeb2ff7a8231e2f3a0b2474fd35b4419fe0d97a Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Fri, 10 Apr 2020 21:27:50 +0800 Subject: [PATCH 0035/2034] Throw original error when loading external config (#7973) --- src/config/resolve-config.js | 10 ++-------- .../__tests__/__snapshots__/config-invalid.js.snap | 14 +++++++++----- tests_integration/__tests__/config-invalid.js | 11 +++++++++++ .../package.json | 3 +++ .../syntax-error.js | 3 +++ 5 files changed, 28 insertions(+), 13 deletions(-) create mode 100644 tests_integration/cli/config-external-config-syntax-error/package.json create mode 100644 tests_integration/cli/config-external-config-syntax-error/syntax-error.js diff --git a/src/config/resolve-config.js b/src/config/resolve-config.js index 3203c0156f..c32067876d 100644 --- a/src/config/resolve-config.js +++ b/src/config/resolve-config.js @@ -18,14 +18,8 @@ const getExplorerMemoized = mem( if (result && result.config) { if (typeof result.config === "string") { const dir = path.dirname(result.filepath); - try { - const modulePath = resolve(result.config, { paths: [dir] }); - result.config = eval("require")(modulePath); - } catch (error) { - // Original message contains `__filename`, can't pass tests - error.message = `Cannot find module '${result.config}' from '${dir}'`; - throw error; - } + const modulePath = resolve(result.config, { paths: [dir] }); + result.config = eval("require")(modulePath); } if (typeof result.config !== "object") { diff --git a/tests_integration/__tests__/__snapshots__/config-invalid.js.snap b/tests_integration/__tests__/__snapshots__/config-invalid.js.snap index 3c5f74c75e..f6713ed298 100644 --- a/tests_integration/__tests__/__snapshots__/config-invalid.js.snap +++ b/tests_integration/__tests__/__snapshots__/config-invalid.js.snap @@ -1,5 +1,14 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`resolves external configuration from package.json (stderr) 1`] = ` +"[error] Invalid configuration file \`syntax-error.js\`: THIS ERROR MESSAGE MUST COME FROM THIS syntax-error.js FILE +" +`; + +exports[`resolves external configuration from package.json (stdout) 1`] = `""`; + +exports[`resolves external configuration from package.json (write) 1`] = `Array []`; + exports[`show warning with kebab-case option key (stderr) 1`] = ` "[warn] Ignored unknown option { \\"print-width\\": 3 }. Did you mean printWidth? " @@ -27,11 +36,6 @@ exports[`throw error for unsupported extension (stdout) 1`] = `""`; exports[`throw error for unsupported extension (write) 1`] = `Array []`; -exports[`throw error with invalid config format (stderr) 1`] = ` -"[error] Invalid configuration file \`/tests_integration/cli/config/invalid\`: Cannot find module '--invalid--' from '/tests_integration/cli/config/invalid/file' -" -`; - exports[`throw error with invalid config format (stdout) 1`] = `""`; exports[`throw error with invalid config format (write) 1`] = `Array []`; diff --git a/tests_integration/__tests__/config-invalid.js b/tests_integration/__tests__/config-invalid.js index a7a2646153..f5054b8fb7 100644 --- a/tests_integration/__tests__/config-invalid.js +++ b/tests_integration/__tests__/config-invalid.js @@ -16,6 +16,9 @@ describe("throw error for unsupported extension", () => { describe("throw error with invalid config format", () => { runPrettier("cli/config/invalid", ["--config", "file/.prettierrc"]).test({ status: "non-zero", + stderr: expect.stringMatching( + /Cannot (?:resolve|find) module '--invalid--' from/ + ), }); }); @@ -49,6 +52,14 @@ describe("throw error with invalid config precedence option (configPrecedence)", }); }); +describe("resolves external configuration from package.json", () => { + runPrettier("cli/config-external-config-syntax-error", [ + "syntax-error.js", + ]).test({ + status: 2, + }); +}); + // Tests below require --parser to prevent an error (no parser/filepath specified) describe("show warning with unknown option", () => { diff --git a/tests_integration/cli/config-external-config-syntax-error/package.json b/tests_integration/cli/config-external-config-syntax-error/package.json new file mode 100644 index 0000000000..6cc7c0d423 --- /dev/null +++ b/tests_integration/cli/config-external-config-syntax-error/package.json @@ -0,0 +1,3 @@ +{ + "prettier": "./syntax-error" +} diff --git a/tests_integration/cli/config-external-config-syntax-error/syntax-error.js b/tests_integration/cli/config-external-config-syntax-error/syntax-error.js new file mode 100644 index 0000000000..5eb40cfcff --- /dev/null +++ b/tests_integration/cli/config-external-config-syntax-error/syntax-error.js @@ -0,0 +1,3 @@ +"use strict"; + +throw new SyntaxError("THIS ERROR MESSAGE MUST COME FROM THIS syntax-error.js FILE"); From 8557ea69af830cdaa8a887a472aca35a66a44c82 Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Sat, 11 Apr 2020 15:18:21 +0300 Subject: [PATCH 0036/2034] Enable GitHub Actions for a patch-release branch (#8009) --- .github/workflows/dev-test.yml | 1 + .github/workflows/lint.yml | 1 + .github/workflows/prod-test.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/dev-test.yml b/.github/workflows/dev-test.yml index 3a4dd0bd50..a6b5707221 100644 --- a/.github/workflows/dev-test.yml +++ b/.github/workflows/dev-test.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - patch-release pull_request: jobs: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d392d06f03..6d4ca22a6e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - patch-release pull_request: jobs: diff --git a/.github/workflows/prod-test.yml b/.github/workflows/prod-test.yml index d144ba3d6c..e49fe70d0d 100644 --- a/.github/workflows/prod-test.yml +++ b/.github/workflows/prod-test.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - patch-release pull_request: jobs: From 6daa7e199e2d71cee66f5ebee3b2efe4648d7b99 Mon Sep 17 00:00:00 2001 From: fisker Date: Sat, 11 Apr 2020 21:02:27 +0800 Subject: [PATCH 0037/2034] Quote branch names --- .github/workflows/dev-test.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/prod-test.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dev-test.yml b/.github/workflows/dev-test.yml index a6b5707221..89bf79c23b 100644 --- a/.github/workflows/dev-test.yml +++ b/.github/workflows/dev-test.yml @@ -4,7 +4,7 @@ on: push: branches: - master - - patch-release + - "patch-release" pull_request: jobs: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6d4ca22a6e..faf875d1ca 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,7 +4,7 @@ on: push: branches: - master - - patch-release + - "patch-release" pull_request: jobs: diff --git a/.github/workflows/prod-test.yml b/.github/workflows/prod-test.yml index e49fe70d0d..fb9e9623f5 100644 --- a/.github/workflows/prod-test.yml +++ b/.github/workflows/prod-test.yml @@ -4,7 +4,7 @@ on: push: branches: - master - - patch-release + - "patch-release" pull_request: jobs: From b77e73a3c5a17762bc3922c7002e31f7b224ed57 Mon Sep 17 00:00:00 2001 From: fisker Date: Sat, 11 Apr 2020 21:14:46 +0800 Subject: [PATCH 0038/2034] Revert workflow changes --- .github/workflows/dev-test.yml | 1 - .github/workflows/lint.yml | 1 - .github/workflows/prod-test.yml | 1 - 3 files changed, 3 deletions(-) diff --git a/.github/workflows/dev-test.yml b/.github/workflows/dev-test.yml index 89bf79c23b..3a4dd0bd50 100644 --- a/.github/workflows/dev-test.yml +++ b/.github/workflows/dev-test.yml @@ -4,7 +4,6 @@ on: push: branches: - master - - "patch-release" pull_request: jobs: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index faf875d1ca..d392d06f03 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,7 +4,6 @@ on: push: branches: - master - - "patch-release" pull_request: jobs: diff --git a/.github/workflows/prod-test.yml b/.github/workflows/prod-test.yml index fb9e9623f5..d144ba3d6c 100644 --- a/.github/workflows/prod-test.yml +++ b/.github/workflows/prod-test.yml @@ -4,7 +4,6 @@ on: push: branches: - master - - "patch-release" pull_request: jobs: From 5569e3306ed9b760b44ae48aea8f5626130afa26 Mon Sep 17 00:00:00 2001 From: Robson Roberto Souza Peixoto <124390+robsonpeixoto@users.noreply.github.com> Date: Sat, 11 Apr 2020 12:12:21 -0300 Subject: [PATCH 0039/2034] Use yaml formatter to format ansible files (#7992) The Ansible[1] extension define a new language for yaml files that describe ansible playbooks and because of that is not possible use the prettier extension with ansible files. 1 - https://marketplace.visualstudio.com/items?itemName=vscoss.vscode-ansible --- cspell.json | 1 + src/language-yaml/index.js | 2 +- .../__snapshots__/jsfmt.spec.js.snap | 65 +++++++++++++++++++ tests/yaml_ansible/jsfmt.spec.js | 1 + tests/yaml_ansible/playbook.yml | 26 ++++++++ .../__snapshots__/support-info.js.snap | 2 +- 6 files changed, 95 insertions(+), 2 deletions(-) create mode 100644 tests/yaml_ansible/__snapshots__/jsfmt.spec.js.snap create mode 100644 tests/yaml_ansible/jsfmt.spec.js create mode 100644 tests/yaml_ansible/playbook.yml diff --git a/cspell.json b/cspell.json index 399366bf98..484e550b6d 100644 --- a/cspell.json +++ b/cspell.json @@ -6,6 +6,7 @@ "Amjad", "Andrey", "animationend", + "ansible", "apos", "aquibm", "arduner", diff --git a/src/language-yaml/index.js b/src/language-yaml/index.js index ef771ec579..6e7414b6c4 100644 --- a/src/language-yaml/index.js +++ b/src/language-yaml/index.js @@ -8,7 +8,7 @@ const languages = [ createLanguage(require("linguist-languages/data/YAML"), (data) => ({ since: "1.14.0", parsers: ["yaml"], - vscodeLanguageIds: ["yaml"], + vscodeLanguageIds: ["yaml", "ansible"], // yarn.lock is not YAML: https://github.com/yarnpkg/yarn/issues/5629 filenames: data.filenames.filter((filename) => filename !== "yarn.lock"), })), diff --git a/tests/yaml_ansible/__snapshots__/jsfmt.spec.js.snap b/tests/yaml_ansible/__snapshots__/jsfmt.spec.js.snap new file mode 100644 index 0000000000..d09684908e --- /dev/null +++ b/tests/yaml_ansible/__snapshots__/jsfmt.spec.js.snap @@ -0,0 +1,65 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`playbook.yml format 1`] = ` +====================================options===================================== +parsers: ["yaml"] +printWidth: 80 + | printWidth +=====================================input====================================== +--- +- hosts: webservers + vars: + http_port: 80 + max_clients: 200 + remote_user: root + tasks: + - name: ensure apache is at the latest version + yum: + name: httpd + state: latest + - name: write the apache config file + template: + src: /srv/httpd.j2 + dest: /etc/httpd.conf + notify: + - restart apache + - name: ensure apache is running + service: + name: httpd + state: started + handlers: + - name: restart apache + service: + name: httpd + state: restarted + +=====================================output===================================== +--- +- hosts: webservers + vars: + http_port: 80 + max_clients: 200 + remote_user: root + tasks: + - name: ensure apache is at the latest version + yum: + name: httpd + state: latest + - name: write the apache config file + template: + src: /srv/httpd.j2 + dest: /etc/httpd.conf + notify: + - restart apache + - name: ensure apache is running + service: + name: httpd + state: started + handlers: + - name: restart apache + service: + name: httpd + state: restarted + +================================================================================ +`; diff --git a/tests/yaml_ansible/jsfmt.spec.js b/tests/yaml_ansible/jsfmt.spec.js new file mode 100644 index 0000000000..89d18c0073 --- /dev/null +++ b/tests/yaml_ansible/jsfmt.spec.js @@ -0,0 +1 @@ +run_spec(__dirname, ["yaml"]); diff --git a/tests/yaml_ansible/playbook.yml b/tests/yaml_ansible/playbook.yml new file mode 100644 index 0000000000..1d10cfae81 --- /dev/null +++ b/tests/yaml_ansible/playbook.yml @@ -0,0 +1,26 @@ +--- +- hosts: webservers + vars: + http_port: 80 + max_clients: 200 + remote_user: root + tasks: + - name: ensure apache is at the latest version + yum: + name: httpd + state: latest + - name: write the apache config file + template: + src: /srv/httpd.j2 + dest: /etc/httpd.conf + notify: + - restart apache + - name: ensure apache is running + service: + name: httpd + state: started + handlers: + - name: restart apache + service: + name: httpd + state: restarted diff --git a/tests_integration/__tests__/__snapshots__/support-info.js.snap b/tests_integration/__tests__/__snapshots__/support-info.js.snap index e6f1794be1..d9ec6b8ffb 100644 --- a/tests_integration/__tests__/__snapshots__/support-info.js.snap +++ b/tests_integration/__tests__/__snapshots__/support-info.js.snap @@ -684,7 +684,7 @@ exports[`CLI --support-info (stdout) 1`] = ` \\"since\\": \\"1.14.0\\", \\"tmScope\\": \\"source.yaml\\", \\"type\\": \\"data\\", - \\"vscodeLanguageIds\\": [\\"yaml\\"] + \\"vscodeLanguageIds\\": [\\"yaml\\", \\"ansible\\"] } ], \\"options\\": [ From f475a5bd43053379e571d4b2cb76b5fa7d4615ac Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Sun, 12 Apr 2020 01:19:00 +0800 Subject: [PATCH 0040/2034] Update spellcheck config and scripts (#8012) Co-authored-by: Georgii Dolzhykov --- cspell.json | 138 ++++++------------ package.json | 2 +- scripts/clean-cspell.js | 49 +++++++ tests_integration/__tests__/early-exit.js | 6 +- .../level3-glob/shouldNotBeFormat.js | 2 +- .../level1-glob/shouldNotBeIgnored.js | 2 +- .../level1/level2/level3/shouldNotBeFormat.js | 2 +- .../shouldNotBeIgnored.js | 2 +- 8 files changed, 106 insertions(+), 97 deletions(-) create mode 100644 scripts/clean-cspell.js diff --git a/cspell.json b/cspell.json index 484e550b6d..da17222576 100644 --- a/cspell.json +++ b/cspell.json @@ -8,7 +8,6 @@ "animationend", "ansible", "apos", - "aquibm", "arduner", "arrayify", "Artem", @@ -24,15 +23,14 @@ "autogenerated", "autolink", "autolinks", + "autoload", + "autoloaded", "autoloading", "Azzola", "backport", "backticks", - "bakkot", "behaviour", "Bekkelund", - "belochub", - "benjie", "Bento", "bigint", "binaryish", @@ -41,8 +39,7 @@ "blenda", "blockquote's", "bookmarklet", - "bopomofo", - "brainkim", + "Bopomofo", "Breakell", "Brevik", "bugfix", @@ -55,7 +52,6 @@ "chrzosel", "Clemmons", "cliify", - "cloudflare", "cmds", "codebases", "codeblock", @@ -70,15 +66,15 @@ "cond", "cosmiconfig", "CRLFs", + "crossorigin", "daleroy", "danez", - "dangmai", "Dara", "dashify", - "dcyriller", "declarators", "dedent", "defun", + "deltice", "deopt", "deps", "destructured", @@ -86,10 +82,13 @@ "devs", "docblock", "docblocks", + "doctag", + "Docusaurus's", "Dodds", "Dolzhykov", "dotfile", "dotfiles", + "downlevel", "duailibe", "Duperron", "editorconfig", @@ -97,59 +96,51 @@ "elektronik", "Eneman", "ENOENT", - "ericsakmar", "Ericsburgh", "errored", "Esben", "esbenp", - "eslint's", "eslump", "esproposal", "estree", "esutils", "eval", - "evilebottnawi", "execa", "fbglyph", + "FBID", "Ficarra", "filepath", "Filipe", "finalizer", "Fiorini", - "flxwu", "fnames", "formatprg", "Friedly", + "frobble", "fuzzer", - "gavinjoyce", "Georgii", "gettin", "git's", "gitattributes", "githook", - "gitignore", "gitkeep", - "Gitter", + "gitter", "glimmerjs", "globbing", "globby", "gofmt", - "googlegroups", - "googlemaps", "Gregor", - "hackily", - "haggholm", + "gtag", "Hampus", "hardcoded", "hardline", "hardlines", - "harel", "hashbang", "Hawken", "Hengles", "Hersevoort", + "hljs", "hlsson", - "hongrich", "Horky", "hotpink", "hsla", @@ -160,15 +151,14 @@ "iarna", "ICSS", "idempotence", - "IIFE", + "iife", "IIFEs", "ikatyang", "Ilya", "impltype", "importee", "importmap", - "indentable", - "indexof", + "Indentable", "infc", "instanceof", "Intelli", @@ -176,55 +166,40 @@ "jackyho", "Jakefile", "jakegavin", - "jbrown", "jetbrains", "jlongster", - "jnwng", "Joar", "josephfrazier", - "Joun", - "jounqin", - "jridgewell", - "jscodefmt", "jsesc", "jsfmt", "JSXs", - "junit", - "jwbay", - "kachkaev", "kalmanb", "Karimov", "Kassens", "Kasturi", "Kearney", - "keyof", "Khatri", - "koba", "lcov", "libdef", "linearize", "linebreak", "linebreaks", "literalline", - "literallines", - "lockfile", + "Literallines", "loglevel", "lowercased", "lowercasing", "lydell", "macos", - "malcolmsgroves", "Marek", "Masad", "Matejka", "Mateusz", - "mattiaerre", - "matzkoh", - "MDAST", - "memberish", + "mdast", + "Memberish", "memoized", "Michał", - "microsyntax", + "Microsyntax", "Mikael", "minimise", "miniprettier", @@ -238,23 +213,24 @@ "mousedown", "mouseup", "mprettier", + "msapplication", "multiparser", "Muntean", "nargs", + "navbutton", "neoclide", "neoformat", "neovim", + "netrc", "nicolo", "nnoremap", - "nodir", "noncharacters", "nonenumerable", - "nonspacing", + "Nonspacing", "noopener", "noreferrer", "normalise", "normalised", - "nrvtbfux", "nullability", "nullish", "Nuno", @@ -262,8 +238,6 @@ "octicon", "Okazaki", "Okonetchnikov", - "oneth", - "onurtemizkan", "onwarn", "Oopsy", "overparenthesization", @@ -271,7 +245,6 @@ "packagejson", "Panasenko", "Pangsakulyanont", - "papayawhip", "paren", "parens", "parentless", @@ -279,25 +252,23 @@ "pcss", "Pierzchała", "Pieter", - "pomber", "postprocess", "postprocessor", "precache", "precommit", "prefetch", "preorder", - "Prettier's", + "prettier's", "Prettier’s", "prettierformatsource", "prettiergetsupportinfo", "prettierignore", "prettierrc", - "prettylint", + "probot", "progid", "promisify", "proto", "quasis", - "quux", "Raghuvir", "Rasmus", "Rattray", @@ -307,19 +278,18 @@ "readlines", "rebalance", "rebeccapurple", + "Rects", "recurse", "recurses", "refmt", "regexes", - "reimplement", - "repo", + "Reimplement", "repo's", + "REPONAME", "repos", - "reselect", "rhengles", "ribaudo", - "roadmap", - "rreverser", + "Roadmap", "ruleset", "rulesets", "sandhose", @@ -327,49 +297,37 @@ "sbdchd", "scandir", "schemastore", - "serializer", - "serializers", - "serviceworker", + "Serializers", "setlocal", "setq", - "shellscape", "shellsession", "Shigeaki", - "Shinigami", "Simen", - "simonhaenisch", "singleline", "skratchdot", - "smirea", "socio", "softline", "softlines", "Sorin", - "sosukesuzuki", - "squidfunk", "srcset", "Stachowiak", "staged's", "standalones", "Stankiewicz", - "stringify", - "stubailo", + "starturl", "styleguides", "stylelint", "stylelintrc", + "subfolder", "subvalue", "suchipi", "superset", "supertypes", - "swac", - "systemjs", - "tdeekens", "templating", "tempy", "testname", - "tgriesser", "tidelift", - "tidelift’s", + "Tidelift’s", "tldr", "Tomasek", "Tradeshift", @@ -377,31 +335,26 @@ "TSAs", "tsep", "TSJS", - "Typeahead", + "typeahead", "typecasted", "typecheck", "typeof", - "udbff", - "udfff", "ufffe", "uffff", "Umidbek", "unaries", - "uncheck", + "Uncheck", "uncook", + "unibeautify", "unignore", - "uniqby", "unist", - "unmount", + "Unmount", "unparenthesised", "unparenthesized", "unparseable", "unpause", - "unpkg", - "unrestrict", - "unstage", + "Unrestrict", "unstaged", - "untracked", "valourous", "Vanderwerff", "vanguarding", @@ -414,31 +367,34 @@ "Vue's", "Wadler", "Wadler's", - "warrenseine", "webstorm", "whitespaces", "xargs", "yamafaktory", "Yatharth", - "youtube", - "yuchi", "Zatorski", - "Zeit", - "zimme", "Zosel" ], "ignoreRegExpList": [ "\\n(`{3,})\\w*\\n[\\s\\S]+?\\1", - "\\[@\\w+?\\]", + "\\[(\\*{2})?@\\w+?\\1\\]", "\\[`\\w+`\\]", "ve{2,}r{2,}y", "ve+r+y+long\\w*", "\\/.*?\\/" ], "ignorePaths": [ + "cspell.json", "**/node_modules/**", + "**/yarn.lock", + "{coverage,dist,.cache,.git,.vscode,.DS_Store,tests}/**/*", + "!tests/**/jsfmt.spec.js", + "*.{log,svg,snap}", + "test.*", + "website/data/users.yml", "website/build/**", "website/playground/codeSamples.js", + "website/pages/googlefe164a33bda4034b.html", "website/static/lib/**", "website/static/playground.js" ] diff --git a/package.json b/package.json index 1c8d548c89..2b086417cc 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,7 @@ "lint:changelog": "node ./scripts/lint-changelog.js", "lint:prettier": "prettier \"**/*.{md,json,yml,html,css}\" --check", "lint:dist": "eslint --no-eslintrc --no-ignore --env=es6,browser --parser-options=ecmaVersion:2016 \"dist/!(bin-prettier|index|third-party).js\"", - "lint:spellcheck": "cspell {bin,scripts,src,website}/**/*.js {docs,website/blog,changelog_unreleased}/**/*.md", + "lint:spellcheck": "cspell \"**/*\" \".github/**/*\"", "lint:deps": "node ./scripts/check-deps.js", "build": "node --max-old-space-size=3072 ./scripts/build/build.js", "build-docs": "node ./scripts/build-docs.js" diff --git a/scripts/clean-cspell.js b/scripts/clean-cspell.js new file mode 100644 index 0000000000..df35776490 --- /dev/null +++ b/scripts/clean-cspell.js @@ -0,0 +1,49 @@ +#!/usr/bin/env node + +"use strict"; + +const fs = require("fs"); +const path = require("path"); +const execa = require("execa"); + +const CSPELL_CONFIG_FILE = path.join(__dirname, "../cspell.json"); + +const updateConfig = (config) => + fs.writeFileSync(CSPELL_CONFIG_FILE, JSON.stringify(config, undefined, 4)); + +(async () => { + console.log("Empty words ..."); + const config = JSON.parse(fs.readFileSync(CSPELL_CONFIG_FILE, "utf8")); + updateConfig({ ...config, words: [] }); + + console.log("Running spellcheck with empty words ..."); + try { + await execa("yarn lint:spellcheck"); + } catch ({ stdout }) { + let words = [...stdout.matchAll(/ - Unknown word \((.*?)\)/g)].map( + ([, word]) => word + ); + // Unique + words = [...new Set(words)]; + // Remove upper case word, if lower case one already exists + words = words.filter((word) => { + const lowerCased = word.toLowerCase(); + return lowerCased === word || !words.includes(lowerCased); + }); + // Compare function from https://github.com/streetsidesoftware/vscode-spell-checker/blob/2fde3bc5c658ee51da5a56580aa1370bf8174070/packages/client/src/settings/CSpellSettings.ts#L78 + words = words.sort((a, b) => + a.toLowerCase().localeCompare(b.toLowerCase()) + ); + config.words = words; + } + + console.log("Updating words ..."); + updateConfig(config); + + console.log("Running spellcheck with new words ..."); + const subprocess = execa("yarn lint:spellcheck"); + subprocess.stdout.pipe(process.stdout); + await subprocess; + + console.log("CSpell config file updated."); +})(); diff --git a/tests_integration/__tests__/early-exit.js b/tests_integration/__tests__/early-exit.js index 0e1372fa0a..4554d2eefe 100644 --- a/tests_integration/__tests__/early-exit.js +++ b/tests_integration/__tests__/early-exit.js @@ -51,7 +51,11 @@ describe("throw error with --help not-found", () => { }); describe("show warning with --help not-found (typo)", () => { - runPrettier("cli", ["--help", "parserr"]).test({ + runPrettier("cli", [ + "--help", + // cspell:disable-next-line + "parserr", + ]).test({ status: 0, }); }); diff --git a/tests_integration/cli/ignore-relative-path/level1-glob/level2-glob/level3-glob/shouldNotBeFormat.js b/tests_integration/cli/ignore-relative-path/level1-glob/level2-glob/level3-glob/shouldNotBeFormat.js index bfb31636f8..3bef913c9f 100644 --- a/tests_integration/cli/ignore-relative-path/level1-glob/level2-glob/level3-glob/shouldNotBeFormat.js +++ b/tests_integration/cli/ignore-relative-path/level1-glob/level2-glob/level3-glob/shouldNotBeFormat.js @@ -1 +1 @@ -var x = 'this should not be formatterd'; +var x = 'this should not be formatted'; diff --git a/tests_integration/cli/ignore-relative-path/level1-glob/shouldNotBeIgnored.js b/tests_integration/cli/ignore-relative-path/level1-glob/shouldNotBeIgnored.js index 1be88ca76b..1d3de68155 100644 --- a/tests_integration/cli/ignore-relative-path/level1-glob/shouldNotBeIgnored.js +++ b/tests_integration/cli/ignore-relative-path/level1-glob/shouldNotBeIgnored.js @@ -1,2 +1,2 @@ -var x = 'this should be formatterd'; +var x = 'this should be formatted'; diff --git a/tests_integration/cli/ignore-relative-path/level1/level2/level3/shouldNotBeFormat.js b/tests_integration/cli/ignore-relative-path/level1/level2/level3/shouldNotBeFormat.js index bfb31636f8..3bef913c9f 100644 --- a/tests_integration/cli/ignore-relative-path/level1/level2/level3/shouldNotBeFormat.js +++ b/tests_integration/cli/ignore-relative-path/level1/level2/level3/shouldNotBeFormat.js @@ -1 +1 @@ -var x = 'this should not be formatterd'; +var x = 'this should not be formatted'; diff --git a/tests_integration/cli/ignore-relative-path/shouldNotBeIgnored.js b/tests_integration/cli/ignore-relative-path/shouldNotBeIgnored.js index 1be88ca76b..1d3de68155 100644 --- a/tests_integration/cli/ignore-relative-path/shouldNotBeIgnored.js +++ b/tests_integration/cli/ignore-relative-path/shouldNotBeIgnored.js @@ -1,2 +1,2 @@ -var x = 'this should be formatterd'; +var x = 'this should be formatted'; From 22d149b9f6122f3a416e25216dc064851ae059a4 Mon Sep 17 00:00:00 2001 From: Kevin Gibbons Date: Sat, 11 Apr 2020 10:22:44 -0700 Subject: [PATCH 0041/2034] Add --embedded-language-formatting={auto,off} option (#7875) --- changelog_unreleased/javascript/pr-7875.md | 27 ++++++ docs/options.md | 19 ++++ src/language-js/printer-estree.js | 4 +- src/main/core-options.js | 19 ++++ src/main/multiparser.js | 2 +- .../in-html/__snapshots__/jsfmt.spec.js.snap | 55 +++++++++++ .../in-html/jsfmt.spec.js | 2 + .../in-html/test.html | 5 + .../__snapshots__/jsfmt.spec.js.snap | 94 +++++++++++++++++++ .../in-javascript/jsfmt.spec.js | 2 + .../in-javascript/test.js | 13 +++ .../__snapshots__/jsfmt.spec.js.snap | 38 ++++++++ .../in-markdown/jsfmt.spec.js | 2 + .../in-markdown/test.md | 3 + .../in-vue/__snapshots__/jsfmt.spec.js.snap | 54 +++++++++++ .../in-vue/in.vue | 7 ++ .../in-vue/jsfmt.spec.js | 2 + .../__snapshots__/early-exit.js.snap | 6 ++ .../__snapshots__/help-options.js.snap | 18 ++++ .../plugin-options-string.js.snap | 6 +- .../__snapshots__/plugin-options.js.snap | 6 +- .../__tests__/__snapshots__/schema.js.snap | 18 ++++ .../__snapshots__/support-info.js.snap | 27 ++++++ 23 files changed, 420 insertions(+), 9 deletions(-) create mode 100644 changelog_unreleased/javascript/pr-7875.md create mode 100644 tests/embedded_language_formatting/in-html/__snapshots__/jsfmt.spec.js.snap create mode 100644 tests/embedded_language_formatting/in-html/jsfmt.spec.js create mode 100644 tests/embedded_language_formatting/in-html/test.html create mode 100644 tests/embedded_language_formatting/in-javascript/__snapshots__/jsfmt.spec.js.snap create mode 100644 tests/embedded_language_formatting/in-javascript/jsfmt.spec.js create mode 100644 tests/embedded_language_formatting/in-javascript/test.js create mode 100644 tests/embedded_language_formatting/in-markdown/__snapshots__/jsfmt.spec.js.snap create mode 100644 tests/embedded_language_formatting/in-markdown/jsfmt.spec.js create mode 100644 tests/embedded_language_formatting/in-markdown/test.md create mode 100644 tests/embedded_language_formatting/in-vue/__snapshots__/jsfmt.spec.js.snap create mode 100644 tests/embedded_language_formatting/in-vue/in.vue create mode 100644 tests/embedded_language_formatting/in-vue/jsfmt.spec.js diff --git a/changelog_unreleased/javascript/pr-7875.md b/changelog_unreleased/javascript/pr-7875.md new file mode 100644 index 0000000000..a81510f05c --- /dev/null +++ b/changelog_unreleased/javascript/pr-7875.md @@ -0,0 +1,27 @@ +#### Add --embedded-language-formatting={auto,off} option ([#7875](https://github.com/prettier/prettier/pull/7875) by [@bakkot](https://github.com/bakkot)) + +When Prettier identifies cases where it looks like you've placed some code it knows how to format within a string in another file, like in a tagged template in JavaScript with a tag named `html` or in code blocks in Markdown, it will by default try to format that code. + +Sometimes this behavior is undesirable, since it can change the behavior of your code. This option allows you to switch between the default behavior (`auto`) and disabling this feature entirely (`off`). It applies to all languages where Prettier recognizes embedded code, not just JavaScript. + + +```js +// Input +html` +

    +I am expecting this to come out exactly like it went in. +`; + +// using --embedded-language-formatting=auto (or omitting this option) +html` +

    + I am expecting this to come out exactly like it went in. +

    +`; + +// using --embedded-language-formatting=off +html` +

    +I am expecting this to come out exactly like it went in. +`; +``` diff --git a/docs/options.md b/docs/options.md index 5176e2544f..b8173c0c19 100644 --- a/docs/options.md +++ b/docs/options.md @@ -364,3 +364,22 @@ Valid options: | Default | CLI Override | API Override | | ------- | ----------------------------------------------------------- | ---------------------------------------------------------- | | `"lf"` | --end-of-line | endOfLine: "" | + +## Embedded Language Formatting + +_First available in v2.1.0_ + +Control whether Prettier formats quoted code embedded in the file. + +When Prettier identifies cases where it looks like you've placed some code it knows how to format within a string in another file, like in a tagged template in JavaScript with a tag named `html` or in code blocks in Markdown, it will by default try to format that code. + +Sometimes this behavior is undesirable, particularly in cases where you might not have intended the string to be interpreted as code. This option allows you to switch between the default behavior (`auto`) and disabling this feature entirely (`off`). + +Valid options: + +- `"auto"` – Format embedded code if Prettier can automatically identify it. +- `"off"` - Never automatically format embedded code. + +| Default | CLI Override | API Override | +| -------- | ------------------------------------ | ----------------------------------- | +| `"auto"` | `--embedded-language-formatting=off` | `embeddedLanguageFormatting: "off"` | diff --git a/src/language-js/printer-estree.js b/src/language-js/printer-estree.js index 5d4298d585..c76b67755d 100644 --- a/src/language-js/printer-estree.js +++ b/src/language-js/printer-estree.js @@ -2528,14 +2528,14 @@ function printPathNoParens(path, options, print, args) { return concat(parts); } - // These types are unprintable because they serve as abstract - // supertypes for other (printable) types. case "TaggedTemplateExpression": return concat([ path.call(print, "tag"), path.call(print, "typeParameters"), path.call(print, "quasi"), ]); + // These types are unprintable because they serve as abstract + // supertypes for other (printable) types. case "Node": case "Printable": case "SourceLocation": diff --git a/src/main/core-options.js b/src/main/core-options.js index 1721817c8c..f7bf94c91b 100644 --- a/src/main/core-options.js +++ b/src/main/core-options.js @@ -246,6 +246,25 @@ const options = { default: false, description: "Indent with tabs instead of spaces.", }, + embeddedLanguageFormatting: { + since: "2.1.0", + category: CATEGORY_GLOBAL, + type: "choice", + default: [{ since: "2.1.0", value: "auto" }], + description: + "Control how Prettier formats quoted code embedded in the file.", + choices: [ + { + value: "auto", + description: + "Format embedded code if Prettier can automatically identify it.", + }, + { + value: "off", + description: "Never automatically format embedded code.", + }, + ], + }, }; module.exports = { diff --git a/src/main/multiparser.js b/src/main/multiparser.js index aedf52b046..5ed4f65cc6 100644 --- a/src/main/multiparser.js +++ b/src/main/multiparser.js @@ -4,7 +4,7 @@ const { normalize } = require("./options"); const comments = require("./comments"); function printSubtree(path, print, options, printAstToDoc) { - if (options.printer.embed) { + if (options.printer.embed && options.embeddedLanguageFormatting === "auto") { return options.printer.embed( path, print, diff --git a/tests/embedded_language_formatting/in-html/__snapshots__/jsfmt.spec.js.snap b/tests/embedded_language_formatting/in-html/__snapshots__/jsfmt.spec.js.snap new file mode 100644 index 0000000000..5a32c83195 --- /dev/null +++ b/tests/embedded_language_formatting/in-html/__snapshots__/jsfmt.spec.js.snap @@ -0,0 +1,55 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`test.html format 1`] = ` +====================================options===================================== +parsers: ["html"] +printWidth: 80 + | printWidth +=====================================input====================================== + + + + + + +=====================================output===================================== + + + + + + +================================================================================ +`; + +exports[`test.html format 2`] = ` +====================================options===================================== +embeddedLanguageFormatting: "off" +parsers: ["html"] +printWidth: 80 + | printWidth +=====================================input====================================== + + + + + + +=====================================output===================================== + + + + + + +================================================================================ +`; diff --git a/tests/embedded_language_formatting/in-html/jsfmt.spec.js b/tests/embedded_language_formatting/in-html/jsfmt.spec.js new file mode 100644 index 0000000000..e625c05f78 --- /dev/null +++ b/tests/embedded_language_formatting/in-html/jsfmt.spec.js @@ -0,0 +1,2 @@ +run_spec(__dirname, ["html"]); +run_spec(__dirname, ["html"], { embeddedLanguageFormatting: "off" }); diff --git a/tests/embedded_language_formatting/in-html/test.html b/tests/embedded_language_formatting/in-html/test.html new file mode 100644 index 0000000000..c048359caa --- /dev/null +++ b/tests/embedded_language_formatting/in-html/test.html @@ -0,0 +1,5 @@ + + + + + diff --git a/tests/embedded_language_formatting/in-javascript/__snapshots__/jsfmt.spec.js.snap b/tests/embedded_language_formatting/in-javascript/__snapshots__/jsfmt.spec.js.snap new file mode 100644 index 0000000000..e8f6220dba --- /dev/null +++ b/tests/embedded_language_formatting/in-javascript/__snapshots__/jsfmt.spec.js.snap @@ -0,0 +1,94 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`test.js format 1`] = ` +====================================options===================================== +parsers: ["babel"] +printWidth: 80 + | printWidth +=====================================input====================================== +css\`a { }\` + +md\`\` + +graphql(\`{id}\`) + +html\`\` + +@Component({ + template: \`\`, + styles: [\`a { }\`] +}) +class TestComponent {} + +=====================================output===================================== +css\` + a { + } +\`; + +md\` + +\`; + +graphql( + \` + { + id + } + \` +); + +html\`\`; + +@Component({ + template: \`\`, + styles: [ + \` + a { + } + \`, + ], +}) +class TestComponent {} + +================================================================================ +`; + +exports[`test.js format 2`] = ` +====================================options===================================== +embeddedLanguageFormatting: "off" +parsers: ["babel"] +printWidth: 80 + | printWidth +=====================================input====================================== +css\`a { }\` + +md\`\` + +graphql(\`{id}\`) + +html\`\` + +@Component({ + template: \`\`, + styles: [\`a { }\`] +}) +class TestComponent {} + +=====================================output===================================== +css\`a { }\`; + +md\`\`; + +graphql(\`{id}\`); + +html\`\`; + +@Component({ + template: \`\`, + styles: [\`a { }\`], +}) +class TestComponent {} + +================================================================================ +`; diff --git a/tests/embedded_language_formatting/in-javascript/jsfmt.spec.js b/tests/embedded_language_formatting/in-javascript/jsfmt.spec.js new file mode 100644 index 0000000000..aac1ee77e6 --- /dev/null +++ b/tests/embedded_language_formatting/in-javascript/jsfmt.spec.js @@ -0,0 +1,2 @@ +run_spec(__dirname, ["babel"]); +run_spec(__dirname, ["babel"], { embeddedLanguageFormatting: "off" }); diff --git a/tests/embedded_language_formatting/in-javascript/test.js b/tests/embedded_language_formatting/in-javascript/test.js new file mode 100644 index 0000000000..0b2868ee87 --- /dev/null +++ b/tests/embedded_language_formatting/in-javascript/test.js @@ -0,0 +1,13 @@ +css`a { }` + +md`` + +graphql(`{id}`) + +html`` + +@Component({ + template: ``, + styles: [`a { }`] +}) +class TestComponent {} diff --git a/tests/embedded_language_formatting/in-markdown/__snapshots__/jsfmt.spec.js.snap b/tests/embedded_language_formatting/in-markdown/__snapshots__/jsfmt.spec.js.snap new file mode 100644 index 0000000000..29754a1368 --- /dev/null +++ b/tests/embedded_language_formatting/in-markdown/__snapshots__/jsfmt.spec.js.snap @@ -0,0 +1,38 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`test.md format 1`] = ` +====================================options===================================== +parsers: ["markdown"] +printWidth: 80 + | printWidth +=====================================input====================================== +\`\`\`js +1 + 2 +\`\`\` + +=====================================output===================================== +\`\`\`js +1 + 2; +\`\`\` + +================================================================================ +`; + +exports[`test.md format 2`] = ` +====================================options===================================== +embeddedLanguageFormatting: "off" +parsers: ["markdown"] +printWidth: 80 + | printWidth +=====================================input====================================== +\`\`\`js +1 + 2 +\`\`\` + +=====================================output===================================== +\`\`\`js +1 + 2 +\`\`\` + +================================================================================ +`; diff --git a/tests/embedded_language_formatting/in-markdown/jsfmt.spec.js b/tests/embedded_language_formatting/in-markdown/jsfmt.spec.js new file mode 100644 index 0000000000..9e28612c98 --- /dev/null +++ b/tests/embedded_language_formatting/in-markdown/jsfmt.spec.js @@ -0,0 +1,2 @@ +run_spec(__dirname, ["markdown"]); +run_spec(__dirname, ["markdown"], { embeddedLanguageFormatting: "off" }); diff --git a/tests/embedded_language_formatting/in-markdown/test.md b/tests/embedded_language_formatting/in-markdown/test.md new file mode 100644 index 0000000000..211d943bc6 --- /dev/null +++ b/tests/embedded_language_formatting/in-markdown/test.md @@ -0,0 +1,3 @@ +```js +1 + 2 +``` diff --git a/tests/embedded_language_formatting/in-vue/__snapshots__/jsfmt.spec.js.snap b/tests/embedded_language_formatting/in-vue/__snapshots__/jsfmt.spec.js.snap new file mode 100644 index 0000000000..22e00f772a --- /dev/null +++ b/tests/embedded_language_formatting/in-vue/__snapshots__/jsfmt.spec.js.snap @@ -0,0 +1,54 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`in.vue format 1`] = ` +====================================options===================================== +parsers: ["vue"] +printWidth: 80 + | printWidth +=====================================input====================================== + + + + +=====================================output===================================== + + + + +================================================================================ +`; + +exports[`in.vue format 2`] = ` +====================================options===================================== +embeddedLanguageFormatting: "off" +parsers: ["vue"] +printWidth: 80 + | printWidth +=====================================input====================================== + + + + +=====================================output===================================== + + + + +================================================================================ +`; diff --git a/tests/embedded_language_formatting/in-vue/in.vue b/tests/embedded_language_formatting/in-vue/in.vue new file mode 100644 index 0000000000..06d49eb04f --- /dev/null +++ b/tests/embedded_language_formatting/in-vue/in.vue @@ -0,0 +1,7 @@ + + + diff --git a/tests/embedded_language_formatting/in-vue/jsfmt.spec.js b/tests/embedded_language_formatting/in-vue/jsfmt.spec.js new file mode 100644 index 0000000000..a553d17cb0 --- /dev/null +++ b/tests/embedded_language_formatting/in-vue/jsfmt.spec.js @@ -0,0 +1,2 @@ +run_spec(__dirname, ["vue"]); +run_spec(__dirname, ["vue"], { embeddedLanguageFormatting: "off" }); diff --git a/tests_integration/__tests__/__snapshots__/early-exit.js.snap b/tests_integration/__tests__/__snapshots__/early-exit.js.snap index fca642abe3..5472deb7a0 100644 --- a/tests_integration/__tests__/__snapshots__/early-exit.js.snap +++ b/tests_integration/__tests__/__snapshots__/early-exit.js.snap @@ -71,6 +71,9 @@ Format options: Include parentheses around a sole arrow function parameter. Defaults to always. --no-bracket-spacing Do not print spaces between brackets. + --embedded-language-formatting + Control how Prettier formats quoted code embedded in the file. + Defaults to auto. --end-of-line Which end of line characters to apply. Defaults to lf. @@ -227,6 +230,9 @@ Format options: Include parentheses around a sole arrow function parameter. Defaults to always. --no-bracket-spacing Do not print spaces between brackets. + --embedded-language-formatting + Control how Prettier formats quoted code embedded in the file. + Defaults to auto. --end-of-line Which end of line characters to apply. Defaults to lf. diff --git a/tests_integration/__tests__/__snapshots__/help-options.js.snap b/tests_integration/__tests__/__snapshots__/help-options.js.snap index d249b98d2e..343e366011 100644 --- a/tests_integration/__tests__/__snapshots__/help-options.js.snap +++ b/tests_integration/__tests__/__snapshots__/help-options.js.snap @@ -114,6 +114,24 @@ Default: true exports[`show detailed usage with --help editorconfig (write) 1`] = `Array []`; +exports[`show detailed usage with --help embedded-language-formatting (stderr) 1`] = `""`; + +exports[`show detailed usage with --help embedded-language-formatting (stdout) 1`] = ` +"--embedded-language-formatting + + Control how Prettier formats quoted code embedded in the file. + +Valid options: + + auto Format embedded code if Prettier can automatically identify it. + off Never automatically format embedded code. + +Default: auto +" +`; + +exports[`show detailed usage with --help embedded-language-formatting (write) 1`] = `Array []`; + exports[`show detailed usage with --help end-of-line (stderr) 1`] = `""`; exports[`show detailed usage with --help end-of-line (stdout) 1`] = ` diff --git a/tests_integration/__tests__/__snapshots__/plugin-options-string.js.snap b/tests_integration/__tests__/__snapshots__/plugin-options-string.js.snap index 87144ea3a6..cf0d60aa19 100644 --- a/tests_integration/__tests__/__snapshots__/plugin-options-string.js.snap +++ b/tests_integration/__tests__/__snapshots__/plugin-options-string.js.snap @@ -5,9 +5,9 @@ exports[` 1`] = ` - First value + Second value -@@ -17,10 +17,12 @@ - Defaults to always. - --no-bracket-spacing Do not print spaces between brackets. +@@ -20,10 +20,12 @@ + Control how Prettier formats quoted code embedded in the file. + Defaults to auto. --end-of-line Which end of line characters to apply. Defaults to lf. diff --git a/tests_integration/__tests__/__snapshots__/plugin-options.js.snap b/tests_integration/__tests__/__snapshots__/plugin-options.js.snap index d3f524fda8..9176e067a2 100644 --- a/tests_integration/__tests__/__snapshots__/plugin-options.js.snap +++ b/tests_integration/__tests__/__snapshots__/plugin-options.js.snap @@ -5,9 +5,9 @@ exports[` 1`] = ` - First value + Second value -@@ -17,10 +17,12 @@ - Defaults to always. - --no-bracket-spacing Do not print spaces between brackets. +@@ -20,10 +20,12 @@ + Control how Prettier formats quoted code embedded in the file. + Defaults to auto. --end-of-line Which end of line characters to apply. Defaults to lf. diff --git a/tests_integration/__tests__/__snapshots__/schema.js.snap b/tests_integration/__tests__/__snapshots__/schema.js.snap index bd6f7cb44b..de96bf43fc 100644 --- a/tests_integration/__tests__/__snapshots__/schema.js.snap +++ b/tests_integration/__tests__/__snapshots__/schema.js.snap @@ -35,6 +35,24 @@ Object { This option cannot be used with --range-start and --range-end.", "type": "integer", }, + "embeddedLanguageFormatting": Object { + "default": "auto", + "description": "Control how Prettier formats quoted code embedded in the file.", + "oneOf": Array [ + Object { + "description": "Format embedded code if Prettier can automatically identify it.", + "enum": Array [ + "auto", + ], + }, + Object { + "description": "Never automatically format embedded code.", + "enum": Array [ + "off", + ], + }, + ], + }, "endOfLine": Object { "default": "lf", "description": "Which end of line characters to apply.", diff --git a/tests_integration/__tests__/__snapshots__/support-info.js.snap b/tests_integration/__tests__/__snapshots__/support-info.js.snap index d9ec6b8ffb..f3c2b8449a 100644 --- a/tests_integration/__tests__/__snapshots__/support-info.js.snap +++ b/tests_integration/__tests__/__snapshots__/support-info.js.snap @@ -94,6 +94,14 @@ Object { }, "type": "int", }, + "embeddedLanguageFormatting": Object { + "choices": Array [ + "auto", + "off", + ], + "default": "auto", + "type": "choice", + }, "endOfLine": Object { "choices": Array [ "lf", @@ -727,6 +735,25 @@ exports[`CLI --support-info (stdout) 1`] = ` \\"since\\": \\"1.4.0\\", \\"type\\": \\"int\\" }, + { + \\"category\\": \\"Global\\", + \\"choices\\": [ + { + \\"description\\": \\"Format embedded code if Prettier can automatically identify it.\\", + \\"value\\": \\"auto\\" + }, + { + \\"description\\": \\"Never automatically format embedded code.\\", + \\"value\\": \\"off\\" + } + ], + \\"default\\": \\"auto\\", + \\"description\\": \\"Control how Prettier formats quoted code embedded in the file.\\", + \\"name\\": \\"embeddedLanguageFormatting\\", + \\"pluginDefaults\\": {}, + \\"since\\": \\"2.1.0\\", + \\"type\\": \\"choice\\" + }, { \\"category\\": \\"Global\\", \\"choices\\": [ From 5d9963431f5affaf4758accee5ee7052cc3bc578 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Sun, 12 Apr 2020 02:58:39 +0800 Subject: [PATCH 0042/2034] Enable GitHub Actions for a patch-release branch (#8024) Co-authored-by: Georgii Dolzhykov --- .github/workflows/dev-test.yml | 1 + .github/workflows/lint.yml | 1 + .github/workflows/prod-test.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/dev-test.yml b/.github/workflows/dev-test.yml index 3a4dd0bd50..a6b5707221 100644 --- a/.github/workflows/dev-test.yml +++ b/.github/workflows/dev-test.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - patch-release pull_request: jobs: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d392d06f03..6d4ca22a6e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - patch-release pull_request: jobs: diff --git a/.github/workflows/prod-test.yml b/.github/workflows/prod-test.yml index d144ba3d6c..e49fe70d0d 100644 --- a/.github/workflows/prod-test.yml +++ b/.github/workflows/prod-test.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - patch-release pull_request: jobs: From 9133ad92f1320725b219cb445b68dec1b9a37e1f Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sun, 12 Apr 2020 01:38:16 +0300 Subject: [PATCH 0043/2034] Bump cspell from 4.0.55 to 4.0.56 (#8020) Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 4.0.55 to 4.0.56. - [Release notes](https://github.com/streetsidesoftware/cspell/releases) - [Commits](https://github.com/streetsidesoftware/cspell/compare/cspell@4.0.55...cspell@4.0.56) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 2b086417cc..25b51e4c09 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "builtin-modules": "3.1.0", "codecov": "3.6.5", "cross-env": "7.0.2", - "cspell": "4.0.55", + "cspell": "4.0.56", "eslint": "6.8.0", "eslint-config-prettier": "6.10.1", "eslint-formatter-friendly": "7.0.0", diff --git a/yarn.lock b/yarn.lock index 02c882a606..a07c61c432 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2618,10 +2618,10 @@ cspell-io@^4.0.20: iconv-lite "^0.4.24" iterable-to-stream "^1.0.1" -cspell-lib@^4.1.21: - version "4.1.21" - resolved "https://registry.yarnpkg.com/cspell-lib/-/cspell-lib-4.1.21.tgz#7321652e5bb8d5a1b0a1372d42d125dc275f4161" - integrity sha512-mcbYQRO9GeLjUU3fTrJEwD17pF/t4YlgYoEqVQkLgR0kCQ5exMFlj8II4UQHgNevx8GMJGpqQ9+fM6ZhCYKIzQ== +cspell-lib@^4.1.22: + version "4.1.22" + resolved "https://registry.yarnpkg.com/cspell-lib/-/cspell-lib-4.1.22.tgz#86437fa61687fbd18932348a92c05e2c2bd7f214" + integrity sha512-O+BcCLYce9mKKgzp49cE4hHvIDb3w9GJ0FcoFrERNfxKt0ciPLmNdflnxjEo/lXr9s+aXmjRVFm+BI6sDpDZvw== dependencies: comment-json "^1.1.3" configstore "^5.0.1" @@ -2651,7 +2651,7 @@ cspell-lib@^4.1.21: cspell-dict-typescript "^1.0.3" cspell-io "^4.0.20" cspell-trie-lib "^4.1.8" - cspell-util-bundle "^4.0.9" + cspell-util-bundle "^4.0.10" fs-extra "^8.1.0" gensequence "^3.0.3" vscode-uri "^2.1.1" @@ -2663,21 +2663,21 @@ cspell-trie-lib@^4.1.8: dependencies: gensequence "^3.0.3" -cspell-util-bundle@^4.0.9: - version "4.0.9" - resolved "https://registry.yarnpkg.com/cspell-util-bundle/-/cspell-util-bundle-4.0.9.tgz#9e6a7f3dcd4aef1b9c6743d33d09379cf94ecd08" - integrity sha512-+xhIGJAkPxD7aKl97S0E34B5dF+HSTSoEL6M2f6Y46tusFGc9VdhA/iIZQooZZx2RQy4WaHw/ABfsRfxtnFVLw== +cspell-util-bundle@^4.0.10: + version "4.0.10" + resolved "https://registry.yarnpkg.com/cspell-util-bundle/-/cspell-util-bundle-4.0.10.tgz#22aa483645dc92abbec8829cb5cf20017898cc97" + integrity sha512-XpBNIwVfJz9OVLR/ztW4BG75UbqmlBh31R5CpmNFxNF7QeiQwIrU8QMYzjtSnIwmOe6t0Hsx+X1UC2KUqMhRtA== -cspell@4.0.55: - version "4.0.55" - resolved "https://registry.yarnpkg.com/cspell/-/cspell-4.0.55.tgz#4295b88c9cb7b1bf7290027212913203be5f3f9d" - integrity sha512-LmBk2VNrBSXFPOpmhJalqYGdDF1x68H4wI3c7RDMRLfG/zOaFoZUEuJUYOC07tFXDosczXMu38Qt9cnEVZmrAA== +cspell@4.0.56: + version "4.0.56" + resolved "https://registry.yarnpkg.com/cspell/-/cspell-4.0.56.tgz#d26b7da80ff01ee3c8b6fb15d79765fdff302931" + integrity sha512-5lbuNnXOdh06+Zi1+p/iZLQDECtC/T4Kr/La3NSWdGIOLKDExA7/g0T6YHlGZnVwdNozo5Dvm0hbiC9qxmSGMQ== dependencies: chalk "^2.4.2" commander "^2.20.3" comment-json "^1.1.3" cspell-glob "^0.1.17" - cspell-lib "^4.1.21" + cspell-lib "^4.1.22" fs-extra "^8.1.0" gensequence "^3.0.3" get-stdin "^7.0.0" From 44489cdaedd089ad5d4a089d1842574a1d74516a Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sun, 12 Apr 2020 01:38:26 +0300 Subject: [PATCH 0044/2034] Bump rollup from 2.4.0 to 2.6.0 (#8021) Bumps [rollup](https://github.com/rollup/rollup) from 2.4.0 to 2.6.0. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v2.4.0...v2.6.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 25b51e4c09..a68087ab79 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "jest-watch-typeahead": "0.5.0", "prettier": "2.0.4", "rimraf": "3.0.2", - "rollup": "2.4.0", + "rollup": "2.6.0", "rollup-plugin-babel": "4.4.0", "rollup-plugin-node-globals": "1.4.0", "rollup-plugin-terser": "5.3.0", diff --git a/yarn.lock b/yarn.lock index a07c61c432..547f19b6ad 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6551,10 +6551,10 @@ rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.8.1, rollup-pluginutils@^2.8.2: dependencies: estree-walker "^0.6.1" -rollup@2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.4.0.tgz#b136a4d701d24dd79ec9551ee0330e7f632ee9d2" - integrity sha512-dYE2ZKl9+kxuFKDaaSuauZjIPa8hcKDqI7WrOq1pTXYG4GJw+6ypLifGIvCKw5yJpSmuFohuimYpg0wfRXTCLw== +rollup@2.6.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.6.0.tgz#e69d50dc2217af23ab5f6df9a48e45df4ab56df1" + integrity sha512-qbvQ9ZbvbhBdtRBZ/A4g+9z3iJQ1rHAtjinn3FiN+j5tfz8xiNyTE1JEEMcFWqlH7+NHadI9ieeqKdp8HwYLnQ== optionalDependencies: fsevents "~2.1.2" From 73e0351fddb0c96aacbfa1242ad8f646bb27f9eb Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sun, 12 Apr 2020 01:38:38 +0300 Subject: [PATCH 0045/2034] Bump semver from 7.2.1 to 7.2.2 (#8019) Bumps [semver](https://github.com/npm/node-semver) from 7.2.1 to 7.2.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v7.2.1...v7.2.2) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index a68087ab79..cf1f946988 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "regexp-util": "1.2.2", "remark-math": "1.0.6", "remark-parse": "5.0.0", - "semver": "7.2.1", + "semver": "7.2.2", "srcset": "2.0.1", "string-width": "4.2.0", "typescript": "3.8.3", diff --git a/yarn.lock b/yarn.lock index 547f19b6ad..4ac6e58d74 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6672,10 +6672,10 @@ semver@7.0.0: resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -semver@7.2.1, semver@^7.1.3: - version "7.2.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.2.1.tgz#d997aa36bdbb00b501ae4ac4c7d17e9f7a587ae5" - integrity sha512-aHhm1pD02jXXkyIpq25qBZjr3CQgg8KST8uX0OWXch3xE6jw+1bfbWnCjzMwojsTquroUmKFHNzU6x26mEiRxw== +semver@7.2.2, semver@^7.1.3: + version "7.2.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.2.2.tgz#d01432d74ed3010a20ffaf909d63a691520521cd" + integrity sha512-Zo84u6o2PebMSK3zjJ6Zp5wi8VnQZnEaCP13Ul/lt1ANsLACxnJxq4EEm1PY94/por1Hm9+7xpIswdS5AkieMA== semver@^6.0.0, semver@^6.1.2, semver@^6.3.0: version "6.3.0" From f4bdd83733286627693f71d0bff58c0b0e3b4898 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Sun, 12 Apr 2020 10:29:27 +0800 Subject: [PATCH 0046/2034] Use `jest@24` to collect coverage (#8026) --- .github/workflows/dev-test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/dev-test.yml b/.github/workflows/dev-test.yml index a6b5707221..a8f9464c29 100644 --- a/.github/workflows/dev-test.yml +++ b/.github/workflows/dev-test.yml @@ -46,6 +46,12 @@ jobs: - name: Install Dependencies run: yarn install --frozen-lockfile + # TODO: remove this task when/if this fixed + # https://github.com/facebook/jest/issues/9457 + - name: Install jest@24 + if: matrix.ENABLE_CODE_COVERAGE + run: yarn upgrade jest@24 + - name: Run Tests (macOS) if: matrix.os == 'macos-latest' run: yarn test --maxWorkers=4 From 048726b4be2e11706eb59f90b6fff85fcbd9e063 Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Sun, 12 Apr 2020 17:02:20 +0300 Subject: [PATCH 0047/2034] chore: update .gitignore and tsconfig.json - I often find myself testing formatting on more than one test file, so now files like `test2.js` in the root are ignored. - Coverage reports contain JS files. `tsc` should ignore them. --- .gitignore | 2 +- tsconfig.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 460258fdee..7a9a181d7c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ /scripts/release/node_modules *.log /errors -/test.* +/test*.* /.vscode /dist /website/node_modules diff --git a/tsconfig.json b/tsconfig.json index ccfd00e920..15feff23bd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,6 +10,7 @@ "strict": false }, "exclude": [ + "coverage/", // [TBD] JavaScript sources *not* affected by src/language-*: "src/main/ast-to-doc.js", "src/main/core.js", From 4c2167d9aab9d0f09c555eba4a456f5696667b2b Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2020 12:39:46 +0300 Subject: [PATCH 0048/2034] Bump eslint-plugin-prettier from 3.1.2 to 3.1.3 (#8037) Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.1.2 to 3.1.3. - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/eslint-plugin-prettier/commits) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index cf1f946988..2b926b6063 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "eslint-config-prettier": "6.10.1", "eslint-formatter-friendly": "7.0.0", "eslint-plugin-import": "2.20.2", - "eslint-plugin-prettier": "3.1.2", + "eslint-plugin-prettier": "3.1.3", "eslint-plugin-react": "7.19.0", "eslint-plugin-unicorn": "18.0.1", "execa": "4.0.0", diff --git a/yarn.lock b/yarn.lock index 4ac6e58d74..be6ca3a57f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3084,10 +3084,10 @@ eslint-plugin-import@2.20.2: read-pkg-up "^2.0.0" resolve "^1.12.0" -eslint-plugin-prettier@3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.2.tgz#432e5a667666ab84ce72f945c72f77d996a5c9ba" - integrity sha512-GlolCC9y3XZfv3RQfwGew7NnuFDKsfI4lbvRK+PIIo23SFH+LemGs4cKwzAaRa+Mdb+lQO/STaIayno8T5sJJA== +eslint-plugin-prettier@3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.3.tgz#ae116a0fc0e598fdae48743a4430903de5b4e6ca" + integrity sha512-+HG5jmu/dN3ZV3T6eCD7a4BlAySdN7mLIbJYo0z1cFQuI+r2DiTJEFeF68ots93PsnrMxbzIZ2S/ieX+mkrBeQ== dependencies: prettier-linter-helpers "^1.0.0" From e651404d36b55f316fcd333cf7ed25aaba6756f6 Mon Sep 17 00:00:00 2001 From: Bilawal Hameed Date: Mon, 13 Apr 2020 11:41:22 +0200 Subject: [PATCH 0049/2034] added spotify to users (#8029) --- website/data/users.yml | 3 +++ website/static/images/users/used_by_spotify.svg | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 website/static/images/users/used_by_spotify.svg diff --git a/website/data/users.yml b/website/data/users.yml index 314cf10e03..e6f50a589d 100644 --- a/website/data/users.yml +++ b/website/data/users.yml @@ -47,6 +47,9 @@ image: /images/users/zeit-200x100.png greyImage: /images/users/used_by_zeit.svg infoLink: https://zeit.co +- caption: Spotify + image: /images/users/used_by_spotify.svg + infoLink: https://spotify.github.io - caption: PayPal image: /images/users/paypal-200x100.png infoLink: https://github.com/paypal/ diff --git a/website/static/images/users/used_by_spotify.svg b/website/static/images/users/used_by_spotify.svg new file mode 100644 index 0000000000..fc3a68bd46 --- /dev/null +++ b/website/static/images/users/used_by_spotify.svg @@ -0,0 +1,4 @@ + + + + From 1e44901326e0d8f8d6534b13cc90d8ed2bc43da7 Mon Sep 17 00:00:00 2001 From: Eemeli Aro Date: Mon, 13 Apr 2020 12:42:43 +0300 Subject: [PATCH 0050/2034] docs: add prettier-plugin-properties to community plugins (#7994) Co-authored-by: fisker Cheung --- docs/plugins.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/plugins.md b/docs/plugins.md index 710aec1437..3d44220c0c 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -52,6 +52,7 @@ Providing at least one path to `--plugin-search-dir`/`pluginSearchDirs` turns of - [`prettier-plugin-package`](https://github.com/shellscape/prettier-plugin-package) by [**@shellscape**](https://github.com/shellscape) - [`prettier-plugin-packagejson`](https://github.com/matzkoh/prettier-plugin-packagejson) by [**@matzkoh**](https://github.com/matzkoh) - [`prettier-plugin-pg`](https://github.com/benjie/prettier-plugin-pg) by [**@benjie**](https://github.com/benjie) +- [`prettier-plugin-properties`](https://github.com/eemeli/prettier-plugin-properties) by [**@eemeli**](https://github.com/eemeli) - [`prettier-plugin-solidity`](https://github.com/prettier-solidity/prettier-plugin-solidity) by [**@mattiaerre**](https://github.com/mattiaerre) - [`prettier-plugin-svelte`](https://github.com/UnwrittenFun/prettier-plugin-svelte) by [**@UnwrittenFun**](https://github.com/UnwrittenFun) - [`prettier-plugin-toml`](https://github.com/bd82/toml-tools/tree/master/packages/prettier-plugin-toml) by [**@bd82**](https://github.com/bd82) From df63712703e98eb7a595c24ae54aeffe4d312865 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2020 13:37:04 +0300 Subject: [PATCH 0051/2034] Bump rollup from 2.6.0 to 2.6.1 (#8033) Bumps [rollup](https://github.com/rollup/rollup) from 2.6.0 to 2.6.1. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v2.6.0...v2.6.1) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 2b926b6063..74875793f3 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "jest-watch-typeahead": "0.5.0", "prettier": "2.0.4", "rimraf": "3.0.2", - "rollup": "2.6.0", + "rollup": "2.6.1", "rollup-plugin-babel": "4.4.0", "rollup-plugin-node-globals": "1.4.0", "rollup-plugin-terser": "5.3.0", diff --git a/yarn.lock b/yarn.lock index be6ca3a57f..e06f22e845 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6551,10 +6551,10 @@ rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.8.1, rollup-pluginutils@^2.8.2: dependencies: estree-walker "^0.6.1" -rollup@2.6.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.6.0.tgz#e69d50dc2217af23ab5f6df9a48e45df4ab56df1" - integrity sha512-qbvQ9ZbvbhBdtRBZ/A4g+9z3iJQ1rHAtjinn3FiN+j5tfz8xiNyTE1JEEMcFWqlH7+NHadI9ieeqKdp8HwYLnQ== +rollup@2.6.1: + version "2.6.1" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.6.1.tgz#8354e67caa7b8bf24c2488d9e2f64da2be62eebe" + integrity sha512-1RhFDRJeg027YjBO6+JxmVWkEZY0ASztHhoEUEWxOwkh4mjO58TFD6Uo7T7Y3FbmDpRTfKhM5NVxJyimCn0Elg== optionalDependencies: fsevents "~2.1.2" From 00165fdbcd7f43dd9c1c4911e7173b5dcb4b717d Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2020 13:37:46 +0300 Subject: [PATCH 0052/2034] Bump @rollup/plugin-commonjs from 11.0.2 to 11.1.0 (#8036) Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 11.0.2 to 11.1.0. - [Release notes](https://github.com/rollup/plugins/releases) - [Commits](https://github.com/rollup/plugins/compare/commonjs-v11.0.2...commonjs-v11.1.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 22 +++++++++++++--------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 74875793f3..47e1df0ddc 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "@babel/core": "7.9.0", "@babel/preset-env": "7.9.5", "@rollup/plugin-alias": "3.0.1", - "@rollup/plugin-commonjs": "11.0.2", + "@rollup/plugin-commonjs": "11.1.0", "@rollup/plugin-json": "4.0.2", "@rollup/plugin-node-resolve": "7.1.1", "@rollup/plugin-replace": "2.3.1", diff --git a/yarn.lock b/yarn.lock index e06f22e845..9cd6322f9c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1032,13 +1032,15 @@ dependencies: slash "^3.0.0" -"@rollup/plugin-commonjs@11.0.2": - version "11.0.2" - resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-11.0.2.tgz#837cc6950752327cb90177b608f0928a4e60b582" - integrity sha512-MPYGZr0qdbV5zZj8/2AuomVpnRVXRU5XKXb3HVniwRoRCreGlf5kOE081isNWeiLIi6IYkwTX9zE0/c7V8g81g== +"@rollup/plugin-commonjs@11.1.0": + version "11.1.0" + resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-11.1.0.tgz#60636c7a722f54b41e419e1709df05c7234557ef" + integrity sha512-Ycr12N3ZPN96Fw2STurD21jMqzKwL9QuFhms3SD7KKRK7oaXUsBU9Zt0jL/rOPHiPYisI21/rXGO3jr9BnLHUA== dependencies: - "@rollup/pluginutils" "^3.0.0" + "@rollup/pluginutils" "^3.0.8" + commondir "^1.0.1" estree-walker "^1.0.1" + glob "^7.1.2" is-reference "^1.1.2" magic-string "^0.25.2" resolve "^1.11.0" @@ -1069,12 +1071,14 @@ "@rollup/pluginutils" "^3.0.4" magic-string "^0.25.5" -"@rollup/pluginutils@^3.0.0", "@rollup/pluginutils@^3.0.4", "@rollup/pluginutils@^3.0.6": - version "3.0.8" - resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.0.8.tgz#4e94d128d94b90699e517ef045422960d18c8fde" - integrity sha512-rYGeAc4sxcZ+kPG/Tw4/fwJODC3IXHYDH4qusdN/b6aLw5LPUbzpecYbEJh4sVQGPFJxd2dBU4kc1H3oy9/bnw== +"@rollup/pluginutils@^3.0.4", "@rollup/pluginutils@^3.0.6", "@rollup/pluginutils@^3.0.8": + version "3.0.9" + resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.0.9.tgz#aa6adca2c45e5a1b950103a999e3cddfe49fd775" + integrity sha512-TLZavlfPAZYI7v33wQh4mTP6zojne14yok3DNSLcjoG/Hirxfkonn6icP5rrNWRn8nZsirJBFFpijVOJzkUHDg== dependencies: + "@types/estree" "0.0.39" estree-walker "^1.0.1" + micromatch "^4.0.2" "@simple-dom/interface@^1.4.0": version "1.4.0" From e9b3c7e47acd8c4b1d608affe006b3fd60e205e7 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2020 14:58:50 +0300 Subject: [PATCH 0053/2034] Bump mem from 6.0.1 to 6.1.0 (#8038) Bumps [mem](https://github.com/sindresorhus/mem) from 6.0.1 to 6.1.0. - [Release notes](https://github.com/sindresorhus/mem/releases) - [Commits](https://github.com/sindresorhus/mem/compare/v6.0.1...v6.1.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 47e1df0ddc..85469c351c 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "lines-and-columns": "1.1.6", "linguist-languages": "7.9.0", "lodash": "4.17.15", - "mem": "6.0.1", + "mem": "6.1.0", "minimatch": "3.0.4", "minimist": "1.2.5", "n-readlines": "1.0.0", diff --git a/yarn.lock b/yarn.lock index 9cd6322f9c..d0f2fd0e71 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5199,10 +5199,10 @@ md5.js@^1.3.4: inherits "^2.0.1" safe-buffer "^5.1.2" -mem@6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/mem/-/mem-6.0.1.tgz#3f8ad1b0f8c4e00daf07f104e95b9d78131d7908" - integrity sha512-uIRYASflIsXqvKe+7aXbLrydaRzz4qiK6amqZDQI++eRtW3UoKtnDcGeCAOREgll7YMxO5E4VB9+3B0LFmy96g== +mem@6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/mem/-/mem-6.1.0.tgz#846eca0bd4708a8f04b9c3f3cd769e194ae63c5c" + integrity sha512-RlbnLQgRHk5lwqTtpEkBTQ2ll/CG/iB+J4Hy2Wh97PjgZgXgWJWrFF+XXujh3UUVLvR4OOTgZzcWMMwnehlEUg== dependencies: map-age-cleaner "^0.1.3" mimic-fn "^3.0.0" From 442b33115f112c074b7100ba04a7535439cfb8b4 Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Mon, 13 Apr 2020 14:59:49 +0300 Subject: [PATCH 0054/2034] playground: update libs, enable code folding for debug panels (#8039) --- cspell.json | 2 ++ website/pages/playground/index.html | 44 ++++++++++++++++++----------- website/playground/panels.js | 5 ++++ website/static/service-worker.js | 42 +++++++++++++++------------ 4 files changed, 58 insertions(+), 35 deletions(-) diff --git a/cspell.json b/cspell.json index da17222576..b7e355d93f 100644 --- a/cspell.json +++ b/cspell.json @@ -114,6 +114,7 @@ "finalizer", "Fiorini", "fnames", + "foldgutter", "formatprg", "Friedly", "frobble", @@ -184,6 +185,7 @@ "linearize", "linebreak", "linebreaks", + "linenumbers", "literalline", "Literallines", "loglevel", diff --git a/website/pages/playground/index.html b/website/pages/playground/index.html index fe111e8fc4..b35bde91ca 100644 --- a/website/pages/playground/index.html +++ b/website/pages/playground/index.html @@ -32,27 +32,37 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - + + diff --git a/website/playground/panels.js b/website/playground/panels.js index 5abbe92290..02587dc213 100644 --- a/website/playground/panels.js +++ b/website/playground/panels.js @@ -21,6 +21,10 @@ class CodeMirrorPanel extends React.Component { options.rulers = [makeRuler(this.props)]; + if (options.foldGutter) { + options.gutters = ["CodeMirror-linenumbers", "CodeMirror-foldgutter"]; + } + this._codeMirror = CodeMirror.fromTextArea( this._textareaRef.current, options @@ -181,6 +185,7 @@ export function DebugPanel({ value }) { diff --git a/website/static/service-worker.js b/website/static/service-worker.js index ebb2dcdaf7..1fb4f14ee0 100644 --- a/website/static/service-worker.js +++ b/website/static/service-worker.js @@ -21,25 +21,31 @@ toolbox.precache([ "playground.js", "https://unpkg.com/sw-toolbox@3.6.0/sw-toolbox.js", - // CodeMirror - "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.36.0/codemirror.css", - "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.36.0/codemirror.js", - "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.36.0/mode/javascript/javascript.js", - "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.36.0/mode/xml/xml.js", - "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.36.0/mode/jsx/jsx.js", - "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.36.0/mode/css/css.js", - "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.36.0/mode/markdown/markdown.js", - "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.36.0/addon/display/rulers.js", - "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.36.0/addon/search/searchcursor.js", - "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.36.0/addon/edit/matchbrackets.js", - "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.36.0/addon/edit/closebrackets.js", - "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.36.0/addon/comment/comment.js", - "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.36.0/addon/wrap/hardwrap.js", - "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.36.0/keymap/sublime.js", - "https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js", + // CodeMirror; keep this in sync with website/pages/playground/index.html + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/codemirror.min.css", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/fold/foldgutter.min.css", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/codemirror.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/mode/javascript/javascript.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/mode/xml/xml.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/mode/jsx/jsx.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/mode/css/css.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/mode/markdown/markdown.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/display/placeholder.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/display/rulers.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/search/searchcursor.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/edit/matchbrackets.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/edit/closebrackets.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/comment/comment.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/wrap/hardwrap.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/fold/foldcode.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/fold/foldgutter.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/fold/brace-fold.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/keymap/sublime.min.js", + + "https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js", "https://cdnjs.cloudflare.com/ajax/libs/lz-string/1.4.4/lz-string.min.js", - "https://cdnjs.cloudflare.com/ajax/libs/react/16.3.1/umd/react.production.min.js", - "https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.3.1/umd/react-dom.production.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/react/16.13.1/umd/react.production.min.js", + "https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.13.1/umd/react-dom.production.min.js", // Images "/prettier.png", From 743ff8ab25e264ad08dfed2974dff935afb2df58 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2020 16:19:07 +0300 Subject: [PATCH 0055/2034] Bump @rollup/plugin-node-resolve from 7.1.1 to 7.1.3 (#8035) Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 7.1.1 to 7.1.3. - [Release notes](https://github.com/rollup/plugins/releases) - [Commits](https://github.com/rollup/plugins/compare/node-resolve-v7.1.1...node-resolve-v7.1.3) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 85469c351c..7603904160 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "@rollup/plugin-alias": "3.0.1", "@rollup/plugin-commonjs": "11.1.0", "@rollup/plugin-json": "4.0.2", - "@rollup/plugin-node-resolve": "7.1.1", + "@rollup/plugin-node-resolve": "7.1.3", "@rollup/plugin-replace": "2.3.1", "babel-loader": "8.1.0", "benchmark": "2.1.4", diff --git a/yarn.lock b/yarn.lock index d0f2fd0e71..3bbe4e43c8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1052,12 +1052,12 @@ dependencies: "@rollup/pluginutils" "^3.0.4" -"@rollup/plugin-node-resolve@7.1.1": - version "7.1.1" - resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-7.1.1.tgz#8c6e59c4b28baf9d223028d0e450e06a485bb2b7" - integrity sha512-14ddhD7TnemeHE97a4rLOhobfYvUVcaYuqTnL8Ti7Jxi9V9Jr5LY7Gko4HZ5k4h4vqQM0gBQt6tsp9xXW94WPA== +"@rollup/plugin-node-resolve@7.1.3": + version "7.1.3" + resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-7.1.3.tgz#80de384edfbd7bfc9101164910f86078151a3eca" + integrity sha512-RxtSL3XmdTAE2byxekYLnx+98kEUOrPHF/KRVjLH+DEIHy6kjIw7YINQzn+NXiH/NTrQLAwYs0GWB+csWygA9Q== dependencies: - "@rollup/pluginutils" "^3.0.6" + "@rollup/pluginutils" "^3.0.8" "@types/resolve" "0.0.8" builtin-modules "^3.1.0" is-module "^1.0.0" @@ -1071,7 +1071,7 @@ "@rollup/pluginutils" "^3.0.4" magic-string "^0.25.5" -"@rollup/pluginutils@^3.0.4", "@rollup/pluginutils@^3.0.6", "@rollup/pluginutils@^3.0.8": +"@rollup/pluginutils@^3.0.4", "@rollup/pluginutils@^3.0.8": version "3.0.9" resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.0.9.tgz#aa6adca2c45e5a1b950103a999e3cddfe49fd775" integrity sha512-TLZavlfPAZYI7v33wQh4mTP6zojne14yok3DNSLcjoG/Hirxfkonn6icP5rrNWRn8nZsirJBFFpijVOJzkUHDg== From e6f6cf262de7fabb5a9d680826fce8c7d9802c0a Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2020 16:59:42 +0300 Subject: [PATCH 0056/2034] Bump @rollup/plugin-alias from 3.0.1 to 3.1.0 (#8034) Bumps [@rollup/plugin-alias](https://github.com/rollup/plugins) from 3.0.1 to 3.1.0. - [Release notes](https://github.com/rollup/plugins/releases) - [Commits](https://github.com/rollup/plugins/compare/alias-v3.0.1...alias-v3.1.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 7603904160..3290770059 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "devDependencies": { "@babel/core": "7.9.0", "@babel/preset-env": "7.9.5", - "@rollup/plugin-alias": "3.0.1", + "@rollup/plugin-alias": "3.1.0", "@rollup/plugin-commonjs": "11.1.0", "@rollup/plugin-json": "4.0.2", "@rollup/plugin-node-resolve": "7.1.3", diff --git a/yarn.lock b/yarn.lock index 3bbe4e43c8..c88a725108 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1025,10 +1025,10 @@ "@nodelib/fs.scandir" "2.1.3" fastq "^1.6.0" -"@rollup/plugin-alias@3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@rollup/plugin-alias/-/plugin-alias-3.0.1.tgz#eb0549da7177a09e2d6d9d852e4cc5058f3e2104" - integrity sha512-ReSy6iPl3GsWLMNeshXAfgItZFMoMOTYC7MZQQM5va4pqxiGgwl1xZUZfHW6zGyZPK+k8TBadxx+kdmepiUa+g== +"@rollup/plugin-alias@3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@rollup/plugin-alias/-/plugin-alias-3.1.0.tgz#4f7bc9d15e030d75da9224aaa5105129c54a3ffd" + integrity sha512-IzoejtAqdfwAvx4D0bztAJFoL5Js36kJgnbO00zfI1B9jf9G80vWysyG0C4+E6w5uG5hz0EeetPpoBWKdNktCQ== dependencies: slash "^3.0.0" From a522b1e556a7c02529d786da3dadddf59db1bf4e Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Tue, 14 Apr 2020 18:19:13 +0800 Subject: [PATCH 0057/2034] Add ability to test errors (#8025) --- .../graphql/__snapshots__/jsfmt.spec.js.snap | 12 ++++++++++ tests/errors/graphql/jsfmt.spec.js | 1 + tests/errors/graphql/type-interfaces.graphql | 7 ++++++ .../js/__snapshots__/jsfmt.spec.js.snap | 21 ++++++++++++++++ tests/errors/js/jsfmt.spec.js | 1 + tests/errors/js/partial-template-strings.js | 9 +++++++ ...mport-source-should-not-has-extra-token.js | 4 ++++ tests_config/run_spec.js | 24 ++++++++++++++++++- 8 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 tests/errors/graphql/__snapshots__/jsfmt.spec.js.snap create mode 100644 tests/errors/graphql/jsfmt.spec.js create mode 100644 tests/errors/graphql/type-interfaces.graphql create mode 100644 tests/errors/js/__snapshots__/jsfmt.spec.js.snap create mode 100644 tests/errors/js/jsfmt.spec.js create mode 100644 tests/errors/js/partial-template-strings.js create mode 100644 tests/errors/js/static-import-source-should-not-has-extra-token.js diff --git a/tests/errors/graphql/__snapshots__/jsfmt.spec.js.snap b/tests/errors/graphql/__snapshots__/jsfmt.spec.js.snap new file mode 100644 index 0000000000..b76ad98e9e --- /dev/null +++ b/tests/errors/graphql/__snapshots__/jsfmt.spec.js.snap @@ -0,0 +1,12 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`type-interfaces.graphql error test 1`] = ` +"Syntax Error: Unexpected \\"|\\". (5:21) + 3 | # which will break seperator detection added in #7305 + 4 | +> 5 | type A implements A | B { + | ^ + 6 | a: a + 7 | } + 8 | " +`; diff --git a/tests/errors/graphql/jsfmt.spec.js b/tests/errors/graphql/jsfmt.spec.js new file mode 100644 index 0000000000..4612e6ac50 --- /dev/null +++ b/tests/errors/graphql/jsfmt.spec.js @@ -0,0 +1 @@ +run_spec(__dirname, ["graphql"]); diff --git a/tests/errors/graphql/type-interfaces.graphql b/tests/errors/graphql/type-interfaces.graphql new file mode 100644 index 0000000000..7ccfab2766 --- /dev/null +++ b/tests/errors/graphql/type-interfaces.graphql @@ -0,0 +1,7 @@ +# This test to grantee `graphql` parser won't allow +# something like `|` as seperator +# which will break seperator detection added in #7305 + +type A implements A | B { + a: a +} diff --git a/tests/errors/js/__snapshots__/jsfmt.spec.js.snap b/tests/errors/js/__snapshots__/jsfmt.spec.js.snap new file mode 100644 index 0000000000..4e1fe84c06 --- /dev/null +++ b/tests/errors/js/__snapshots__/jsfmt.spec.js.snap @@ -0,0 +1,21 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`partial-template-strings.js error test 1`] = ` +"Unexpected token (6:42) + 4 | + 5 | const Diagnostics = { +> 6 | unexpected_token: \`Unexpected token: \${?}\`, + | ^ + 7 | name_not_found: \`'\${?}' not found.\` + 8 | }; + 9 | Diagnostics.name_not_found(\\"foo\\"); // \\"'foo' not found.\\"" +`; + +exports[`static-import-source-should-not-has-extra-token.js error test 1`] = ` +"Unexpected token (4:16) + 2 | // be parenthesized, that accidentally break #8016 + 3 | +> 4 | import {} from (('a')); + | ^ + 5 | " +`; diff --git a/tests/errors/js/jsfmt.spec.js b/tests/errors/js/jsfmt.spec.js new file mode 100644 index 0000000000..8382eddeb1 --- /dev/null +++ b/tests/errors/js/jsfmt.spec.js @@ -0,0 +1 @@ +run_spec(__dirname, ["babel"]); diff --git a/tests/errors/js/partial-template-strings.js b/tests/errors/js/partial-template-strings.js new file mode 100644 index 0000000000..9bff507ccd --- /dev/null +++ b/tests/errors/js/partial-template-strings.js @@ -0,0 +1,9 @@ +// partial template strings is not supported by babel yet +// If parsers supported, should remove this and open a issue about this +// Proposal: https://github.com/tc39/proposal-partial-application/blob/master/README.md#proposal + +const Diagnostics = { + unexpected_token: `Unexpected token: ${?}`, + name_not_found: `'${?}' not found.` +}; +Diagnostics.name_not_found("foo"); // "'foo' not found." diff --git a/tests/errors/js/static-import-source-should-not-has-extra-token.js b/tests/errors/js/static-import-source-should-not-has-extra-token.js new file mode 100644 index 0000000000..bd0fd25fb5 --- /dev/null +++ b/tests/errors/js/static-import-source-should-not-has-extra-token.js @@ -0,0 +1,4 @@ +// This test to grantee parsers won't allow static import source to +// be parenthesized, that accidentally break #8016 + +import {} from (('a')); diff --git a/tests_config/run_spec.js b/tests_config/run_spec.js index 81d811b5ee..37c86d1788 100644 --- a/tests_config/run_spec.js +++ b/tests_config/run_spec.js @@ -46,9 +46,21 @@ const unstableTests = new Map( }) ); +const isTestDirectory = (dirname, name) => + dirname.startsWith(path.join(__dirname, "../tests", name)); + global.run_spec = (dirname, parsers, options) => { // `IS_PARSER_INFERENCE_TESTS` mean to test `inferParser` on `standalone` - const IS_PARSER_INFERENCE_TESTS = dirname.endsWith("parser-inference"); + const IS_PARSER_INFERENCE_TESTS = isTestDirectory( + dirname, + "parser-inference" + ); + + // `IS_ERROR_TESTS` mean to watch errors like: + // - syntax parser hasn't supported yet + // - syntax errors that should throws + const IS_ERROR_TESTS = isTestDirectory(dirname, "errors"); + if (IS_PARSER_INFERENCE_TESTS) { parsers = []; } else if (!parsers || !parsers.length) { @@ -105,6 +117,16 @@ global.run_spec = (dirname, parsers, options) => { }; const hasEndOfLine = "endOfLine" in mainOptions; + + if (IS_ERROR_TESTS) { + test("error test", () => { + expect(() => { + format(input, filename, mainOptions); + }).toThrowErrorMatchingSnapshot(); + }); + return; + } + const output = format(input, filename, mainOptions); const visualizedOutput = visualizeEndOfLine(output); From ad2145ab2c916a1aaaf7ca31b0332f2410ed4eef Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 14 Apr 2020 13:20:12 +0300 Subject: [PATCH 0058/2034] Bump semver from 7.2.2 to 7.3.0 (#8050) Bumps [semver](https://github.com/npm/node-semver) from 7.2.2 to 7.3.0. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v7.2.2...v7.3.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3290770059..8409e43a7e 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "regexp-util": "1.2.2", "remark-math": "1.0.6", "remark-parse": "5.0.0", - "semver": "7.2.2", + "semver": "7.3.0", "srcset": "2.0.1", "string-width": "4.2.0", "typescript": "3.8.3", diff --git a/yarn.lock b/yarn.lock index c88a725108..6190787d64 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6676,10 +6676,10 @@ semver@7.0.0: resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -semver@7.2.2, semver@^7.1.3: - version "7.2.2" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.2.2.tgz#d01432d74ed3010a20ffaf909d63a691520521cd" - integrity sha512-Zo84u6o2PebMSK3zjJ6Zp5wi8VnQZnEaCP13Ul/lt1ANsLACxnJxq4EEm1PY94/por1Hm9+7xpIswdS5AkieMA== +semver@7.3.0, semver@^7.1.3: + version "7.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.0.tgz#91f7c70ec944a63e5dc7a74cde2da375d8e0853c" + integrity sha512-uyvgU/igkrMgNHwLgXvlpD9jEADbJhB0+JXSywoO47JgJ6c16iau9F9cjtc/E5o0PoqRYTiTIAPRKaYe84z6eQ== semver@^6.0.0, semver@^6.1.2, semver@^6.3.0: version "6.3.0" From c9335644d776bfa9eee3dc7ce5058d1b2713d57a Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 14 Apr 2020 13:20:24 +0300 Subject: [PATCH 0059/2034] Bump @glimmer/syntax from 0.50.1 to 0.50.2 (#8049) Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.50.1 to 0.50.2. - [Release notes](https://github.com/glimmerjs/glimmer-vm/releases) - [Changelog](https://github.com/glimmerjs/glimmer-vm/blob/master/CHANGELOG.md) - [Commits](https://github.com/glimmerjs/glimmer-vm/compare/v0.50.1...v0.50.2) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 8409e43a7e..8686af0e11 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "@angular/compiler": "9.0.5", "@babel/code-frame": "7.8.3", "@babel/parser": "7.9.4", - "@glimmer/syntax": "0.50.1", + "@glimmer/syntax": "0.50.2", "@iarna/toml": "2.2.3", "@typescript-eslint/typescript-estree": "2.27.0", "angular-estree-parser": "1.3.0", diff --git a/yarn.lock b/yarn.lock index 6190787d64..ca9d2d1ddc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -802,30 +802,30 @@ resolved "https://registry.yarnpkg.com/@glimmer/env/-/env-0.1.7.tgz#fd2d2b55a9029c6b37a6c935e8c8871ae70dfa07" integrity sha1-/S0rVakCnGs3psk16MiHGucN+gc= -"@glimmer/interfaces@^0.50.1": - version "0.50.1" - resolved "https://registry.yarnpkg.com/@glimmer/interfaces/-/interfaces-0.50.1.tgz#008620d9b42e296ce89669415e4830354b83c4fb" - integrity sha512-ye9fWev8QxK8Y8+NzCa0uJDArFURbVhAahSFyPT25UdalYCWEmJmqD7k1KezZk2N7ZPxLPaBjOk9ifzDPRGHgg== +"@glimmer/interfaces@^0.50.2": + version "0.50.2" + resolved "https://registry.yarnpkg.com/@glimmer/interfaces/-/interfaces-0.50.2.tgz#5637beb45242b9c23b1b82b404ad085f1827ce16" + integrity sha512-SbrEspWDHQ6j0DI0inYpg29SMlfEEUS895apZWxMzC2RyGHy5SKmZJ4xjishaq7A0E1AaTfDKYnE/wfWrQZSsw== dependencies: "@simple-dom/interface" "^1.4.0" -"@glimmer/syntax@0.50.1": - version "0.50.1" - resolved "https://registry.yarnpkg.com/@glimmer/syntax/-/syntax-0.50.1.tgz#86100fa077d7afd9f82c4e91d194d5d7211516eb" - integrity sha512-je/0+o/UZukP/lxJJQxgCmk4mUFJpJEAAhqxPtaj054Tofj3X+9CdQwjVU22B8F8j1AIUDr1hRgIop4k0lPbiQ== +"@glimmer/syntax@0.50.2": + version "0.50.2" + resolved "https://registry.yarnpkg.com/@glimmer/syntax/-/syntax-0.50.2.tgz#e69731df2fb9069d30469c700eb9bae79e51c257" + integrity sha512-kmMZK4bN674sUhphLuads1RQNm3pzEuNcW7SHQiDJJz3zDsMFQ69YPtgYBrpJZtPgF6Oj/QgwUcD0d+ql5/cpw== dependencies: - "@glimmer/interfaces" "^0.50.1" - "@glimmer/util" "^0.50.1" + "@glimmer/interfaces" "^0.50.2" + "@glimmer/util" "^0.50.2" handlebars "^4.5.1" simple-html-tokenizer "^0.5.9" -"@glimmer/util@^0.50.1": - version "0.50.1" - resolved "https://registry.yarnpkg.com/@glimmer/util/-/util-0.50.1.tgz#9e85e005d2fd563f979c5fba99563bfe75edf2a9" - integrity sha512-LaoSboa+BXjunun8wwVEV+FOH5oHc8AckfsmyHsHltFTwIRpjb0w0AQzeHzHXHMVhfpYHB06xlFO9naSEztB1Q== +"@glimmer/util@^0.50.2": + version "0.50.2" + resolved "https://registry.yarnpkg.com/@glimmer/util/-/util-0.50.2.tgz#1519064c2722143871964a183ceb825b5c24f5d3" + integrity sha512-FG3gWONYZWUBwZojvuYdPALu6DWKzc2QGBzb6zBgY5vO2otAqLsi8WlfGP8ekkFsEHUtlPGeUAOqr+lSox+DQw== dependencies: "@glimmer/env" "0.1.7" - "@glimmer/interfaces" "^0.50.1" + "@glimmer/interfaces" "^0.50.2" "@simple-dom/interface" "^1.4.0" "@iarna/toml@2.2.3": From 670e06951912a0b68ff5092661904e95fb527d43 Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Tue, 14 Apr 2020 19:27:25 +0300 Subject: [PATCH 0060/2034] clean up website readme, remove old deploy script (#8040) --- CONTRIBUTING.md | 2 +- scripts/build-docs.js | 2 +- website/README.md | 120 +++++++++++++----------------------------- website/deploy.sh | 23 -------- website/package.json | 1 - 5 files changed, 39 insertions(+), 109 deletions(-) delete mode 100755 website/deploy.sh diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 923c3ffef4..f9c3cf53e1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,7 +17,7 @@ Here's what you need to know about the tests: - `DEEP_COMPARE` That formats each file, then formats the output again, and checks that the second output is the same as the first. - Each test folder has a `jsfmt.spec.js` that runs the tests. For JavaScript files, generally you can just put `run_spec(__dirname, ["babel", "flow", "typescript"]);` there. This will verify that the output using each parser is the same. You can also pass options as the third argument, like this: `run_spec(__dirname, ["babel"], { trailingComma: "es5" });` - `tests/flow/` contains the Flow test suite, and is not supposed to be edited by hand. To update it, clone the Flow repo next to the Prettier repo and run: `node scripts/sync-flow-tests.js ../flow/tests/`. -- If you would like to debug prettier locally, you can either debug it in node or the browser. The easiest way to debug it in the browser is to run the interactive `docs` REPL locally. The easiest way to debug it in node, is to create a local test file with some example code you want formatted and either run it in an editor like VS Code or run it directly via `./bin/prettier.js `. +- If you would like to debug prettier locally, you can either debug it in Node or the browser. The easiest way to debug it in Node, is to create a local test file with some example code you want formatted and either run it in an editor like VS Code or run it directly via `./bin/prettier.js `. The easiest way to debug it in the browser is to build Prettier's website locally (see `website/README.md`). Run `yarn lint:eslint --fix` to automatically format files. diff --git a/scripts/build-docs.js b/scripts/build-docs.js index 4b31464c37..8c67bd5b1e 100644 --- a/scripts/build-docs.js +++ b/scripts/build-docs.js @@ -25,7 +25,7 @@ if (isPullRequest) { const newPkg = { ...pkg, version: `999.999.999-pr.${process.env.REVIEW_ID}` }; pipe(JSON.stringify(newPkg, null, 2)).to("package.json"); shell.exec("yarn build"); - pipe(JSON.stringify(pkg, null, 2)).to("package.json"); // restore + pipe(JSON.stringify(pkg, null, 2) + "\n").to("package.json"); // restore } shell.cp(`${prettierPath}/standalone.js`, `${docs}/`); shell.cp(`${prettierPath}/parser-*.js`, `${docs}/`); diff --git a/website/README.md b/website/README.md index 3736ec3025..b15e9c2911 100644 --- a/website/README.md +++ b/website/README.md @@ -2,30 +2,50 @@ https://prettier.io/ -## Setup +## Getting started -1. Build the Prettier browser libs for the playground by running the following in the project root dir: +1. Build the Prettier browser libs for the Playground by running the following in the project root directory: ```sh cd your/path/to/prettier yarn build-docs ``` - (To build for master, use `PULL_REQUEST=true yarn build-docs`) + To build for the current branch, use `PULL_REQUEST=true yarn build-docs`. Otherwise, a release version of Prettier from `node_modules` is used. + +2. Switch to the `website` directory and start the development server: -2. Switch to the `website` dir and start the server: ```sh cd website yarn start ``` -## Configuration + This starts a server hosting the website locally at `http://localhost:3000/`. Any changes to the site's source files are reflected after refreshing the page, i.e. the server does not need to be restarted to show changes. + +## Docusaurus + +The site is built on [Docusaurus](https://docusaurus.io/), a static site generator for documentation sites. + +Its main configuration file is `siteConfig.js` ([docs](https://docusaurus.io/docs/en/site-config)). + +Pages can be added to the site by putting `.js` files with React components in `pages/`. If you want to use code from other files in these pages, be aware of [how `require` works in Docusaurus](https://docusaurus.io/docs/en/api-pages#page-require-paths). It's also possible to include `.html` files directly. They are served as is and don't have any of the header, footer, or styles shared by the rest of Docusaurus. This is the way the Playground is hooked up (`pages/playground/index.html`). + +Images and other static assets are placed inside the `static` directory: `static/img/your-image.png` is mapped to `http://prettier.io/img/your-image.png`. Any `.css` files in `static/` are concatenated to the standard styles provided by Docusaurus and used site-wide. + +Please run yarn svgo _path/to/image.svg_ before committing a new SVG to the repository. + +## Playground + +The Playground is not integrated with the Docusaurus infrastructure. Its UI (`website/playground/`) is built separately with webpack configured to put the resulting bundle in Docusaurus's `static` directory. The `yarn start` command (in `website/`) concurrently starts both Docusaurus's local server and webpack in the watch mode for the Playground. + +Another part of the Playground is a web worker where formatting happens. It's not managed by webpack and resides directly in `static/worker.js`. It expects to find the [UMD bundles of Prettier](https://prettier.io/docs/en/browser.html) in `static/lib/`. That's why running `yarn build-docs` or `PULL_REQUEST=true yarn build-docs` in the project root is a required step. -In the project repo, the `docs` folder is used to hold documentation written in markdown. A `blog` folder can be used to hold blog posts written in markdown. +Finally, there is a service worker that caches Prettier's relatively heavy bundles (`static/service-worker.js`). -### Document and Blog Front Matters +## Documentation -Documentation should contain front matter that follows this example: +In the project repo, the `docs` directory is used to hold documentation written in Markdown. +The front matter of documentation files should follow this example: ```yaml id: doc1 # used for docs to find each other and to map links @@ -40,88 +60,22 @@ next: doc2 # next doc on the sidebar for navigation ``` -Blog posts should be written as markdown files with the following front matter: +The docs from `docs/` are published to `https://prettier.io/docs/en/next/` and are considered to be the docs of the next (not yet released) version of Prettier. When a release happens, the docs from `docs/` are copied to the `website/versioned_docs/version-stable` directory, whose content is published to `https://prettier.io/docs/en`. + +## Blog + +The `website/blog` directory contains blog posts written in Markdown. Their front matter should follow this example: ```yaml title: Blog Post Title author: Author Name -authorURL: http://twitter.com/author # (or some other link) -authorFBID: 21315325 # id to get author's picture +authorURL: http://github.com/author # (or some other link) --- ``` -In the blog post you should include a line ``. This will determine under which point text will be ignored when generating the preview of your blog post. Blog posts should have the file name format: `yyyy-mm-dd-your-file-name.md`. - -### Language Configurations - -The `examples` script will generate a `languages.js` file and `i18n` folder for translation support, but if you only wish to support English, then these are not needed. - -### Site Configurations - -Configure the siteConfig.js file which has comments guiding you through what needs to be done and how each configuration affects your website. - -Customize core/Footer.js which will serve as the footer for each page on your website. - -Include your own top-level pages as React components in `pages/`. These components should just be the body sections of the pages you want, and they will be included with the header and footer that the rest of Docusaurus uses. Examples are provided for your reference. Currently, if you want to add other React components to your pages, you must include all of it inside that file due to how `require` paths are set-up. You may also include `.html` files directly, but this is not recommended, and these will just be served as is and will not have any of the header/footer/styles shared by the rest of Docusaurus. - -All images and other static assets you wish to include should be placed inside the `static` folder. Any `.css` files provided in `static` will be concatenated to the standard styles provided by Docusaurus and used site-wide. - -Files placed in `static/` will be accessible in the following way: `static/img/image.png` will be accessible at `img/image.png`. - -Please run yarn svgo _path/to/image.svg_ before committing a new SVG to the repository. - -## Using Docusaurus - -### Run the Server - -To run your website locally run the script: - -```bash -yarn start -``` - -This will start a server hosting your website locally at `localhost:3000`. This server will ignore any occurrences `siteConfig.baseUrl` in URLs, e.g. `localhost:3000/your-site/index.html` will be the same as `localhost:3000/index.html`. Any changes to configured files will be reflected by refreshing the page, i.e. the server does not need to be restarted to show changes. - -### Build Static Pages +In the blog post, you should include a line ``. This determines under which point text will be ignored when generating the preview of your blog post. Blog posts should have the file name format: `yyyy-mm-dd-your-file-name.md`. -To create a static build of your website, run the script: - -```bash -yarn build -``` +## Static Build -This will generate `.html` files from all of your docs and other pages included in `pages/`. This allows you to check whether or not all your files are being generated correctly. The build folder is inside Docusaurus's directory inside `node_modules`. - -### Publishing Your Website - -Use CircleCI to publish your website whenever your project repo is updated. Configure your circle.yml file in your project repo to run commands to publish to GitHub Pages. An example is shown here: - -```yaml -machine: - node: - version: 6.10.3 - npm: - version: 3.10.10 - -test: - override: - - "true" - -deployment: - website: - branch: master - commands: - - git config --global user.email "test-site-bot@users.noreply.github.com" - - git config --global user.name "Website Deployment Script" - - echo "machine github.com login test-site-bot password $GITHUB_TOKEN" > ~/.netrc - - cd website && npm install && GIT_USER=test-site-bot npm run publish-gh-pages -``` - -Note that in this case a GitHub user `test-site-bot` is created to use just for publishing. Make sure to give your Git user push permissions for your project and to set a GITHUB_TOKEN environment variable in Circle if you choose to publish this way. - -If you wish to manually publish your website with the `publish-gh-pages` script, run the following example command with the appropriate variables for your project: - -``` -DEPLOY_USER=deltice GIT_USER=test-site-bot CIRCLE_PROJECT_USERNAME=deltice CIRCLE_PROJECT_REPONAME=test-site CIRCLE_BRANCH=master npm run publish-gh-pages -``` +To create a static build of the website, run `yarn build` (in `website/`). The result will be put in `website/build/`. diff --git a/website/deploy.sh b/website/deploy.sh deleted file mode 100755 index 0614e335ff..0000000000 --- a/website/deploy.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -if [ "$NODE_ENV" = production ]; then - echo "info: skipping deploy in production builds" - exit 0 -fi - -if [ ! "$GITHUB_TOKEN" ]; then - >&2 echo "error: GITHUB_TOKEN not present in env" - exit 1 -fi - -git config --global user.email "prettier-bot@users.noreply.github.com" -git config --global user.name "Prettier Bot" -echo "machine github.com login prettier-bot password $GITHUB_TOKEN" > ~/.netrc - -cd website -export GIT_USER=prettier-bot -export CIRCLE_BRANCH=$TRAVIS_BRANCH -export CIRCLE_PROJECT_USERNAME=prettier -export CIRCLE_PROJECT_REPONAME=prettier -export CI_PULL_REQUEST=$TRAVIS_PULL_REQUEST_BRANCH -yarn --pure-lockfile && yarn run publish-gh-pages diff --git a/website/package.json b/website/package.json index 9d2e5718d7..e7920f606e 100644 --- a/website/package.json +++ b/website/package.json @@ -2,7 +2,6 @@ "license": "MIT", "scripts": { "build": "webpack -p && docusaurus-build", - "publish-gh-pages": "docusaurus-publish", "start": "concurrently \"docusaurus-start\" \"webpack -d -w\"", "svgo": "svgo --pretty --indent=2 --config=svgo.yml", "svgo-all": "find static | grep '\\.svg$' | xargs -Iz -n 1 yarn svgo z", From 232661c13652d0649113aa10f0332f9934b86df4 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Wed, 15 Apr 2020 19:13:13 +0800 Subject: [PATCH 0061/2034] Bump semver from 7.3.0 to 7.3.2 (#8060) Bumps [semver](https://github.com/npm/node-semver) from 7.3.0 to 7.3.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v7.3.0...v7.3.2) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 8686af0e11..40a9f6e28f 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "regexp-util": "1.2.2", "remark-math": "1.0.6", "remark-parse": "5.0.0", - "semver": "7.3.0", + "semver": "7.3.2", "srcset": "2.0.1", "string-width": "4.2.0", "typescript": "3.8.3", diff --git a/yarn.lock b/yarn.lock index ca9d2d1ddc..333476bc5c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6676,10 +6676,10 @@ semver@7.0.0: resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -semver@7.3.0, semver@^7.1.3: - version "7.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.0.tgz#91f7c70ec944a63e5dc7a74cde2da375d8e0853c" - integrity sha512-uyvgU/igkrMgNHwLgXvlpD9jEADbJhB0+JXSywoO47JgJ6c16iau9F9cjtc/E5o0PoqRYTiTIAPRKaYe84z6eQ== +semver@7.3.2, semver@^7.1.3: + version "7.3.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938" + integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ== semver@^6.0.0, semver@^6.1.2, semver@^6.3.0: version "6.3.0" From bc1d79ca669ca982d0332bd8653798253811d631 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Wed, 15 Apr 2020 22:03:22 +0800 Subject: [PATCH 0062/2034] Cache CI build result (#8027) --- .github/workflows/prod-test.yml | 17 +++++++++++++++++ cspell.json | 1 + 2 files changed, 18 insertions(+) diff --git a/.github/workflows/prod-test.yml b/.github/workflows/prod-test.yml index e49fe70d0d..ac53bdc612 100644 --- a/.github/workflows/prod-test.yml +++ b/.github/workflows/prod-test.yml @@ -25,6 +25,23 @@ jobs: - name: Install Dependencies run: yarn install --frozen-lockfile + - name: Cache Build Results + # Prevent error on re-run + # https://github.com/actions/cache/issues/107#issuecomment-556037278 + if: github.event_name == 'push' || github.event_name == 'pull_request' + id: build-cache + uses: actions/cache@v1 + with: + path: .cache + key: v1-build-cache-${{ hashFiles('yarn.lock') }}-${{ github.ref }}- + restore-keys: | + v1-build-cache-${{ hashFiles('yarn.lock') }}-${{ github.ref }}- + v1-build-cache-${{ hashFiles('yarn.lock') }}-${{ github.base_ref }}- + v1-build-cache-${{ hashFiles('yarn.lock') }}-master- + + # Unknown reason `scripts/build/build.js` created dir can't work + - run: mkdir -p .cache/files + - name: Build Package run: yarn build diff --git a/cspell.json b/cspell.json index b7e355d93f..a66454b259 100644 --- a/cspell.json +++ b/cspell.json @@ -208,6 +208,7 @@ "mitermayer", "mixins", "mjml", + "mkdir", "Moeller", "Monteiro", "Morrell", From e0669a075e689d8229f3566151cb9b76a1568476 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Wed, 15 Apr 2020 22:41:01 +0800 Subject: [PATCH 0063/2034] Fix master ref (#8062) --- .github/workflows/prod-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prod-test.yml b/.github/workflows/prod-test.yml index ac53bdc612..8601c59c6b 100644 --- a/.github/workflows/prod-test.yml +++ b/.github/workflows/prod-test.yml @@ -36,8 +36,8 @@ jobs: key: v1-build-cache-${{ hashFiles('yarn.lock') }}-${{ github.ref }}- restore-keys: | v1-build-cache-${{ hashFiles('yarn.lock') }}-${{ github.ref }}- - v1-build-cache-${{ hashFiles('yarn.lock') }}-${{ github.base_ref }}- - v1-build-cache-${{ hashFiles('yarn.lock') }}-master- + v1-build-cache-${{ hashFiles('yarn.lock') }}-refs/heads/${{ github.base_ref }}- + v1-build-cache-${{ hashFiles('yarn.lock') }}-refs/heads/master- # Unknown reason `scripts/build/build.js` created dir can't work - run: mkdir -p .cache/files From 20f02b06f30394d7034a74d7644ba8ecda93851c Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Wed, 15 Apr 2020 22:31:08 +0300 Subject: [PATCH 0064/2034] Refactor printer-estree.js: extract printing of member chains and call args to separate files (#8061) --- src/language-js/print/call-arguments.js | 295 ++++++++++ src/language-js/print/member-chain.js | 415 ++++++++++++++ src/language-js/print/misc.js | 66 +++ src/language-js/printer-estree.js | 730 +----------------------- src/language-js/utils.js | 21 + 5 files changed, 808 insertions(+), 719 deletions(-) create mode 100644 src/language-js/print/call-arguments.js create mode 100644 src/language-js/print/member-chain.js create mode 100644 src/language-js/print/misc.js diff --git a/src/language-js/print/call-arguments.js b/src/language-js/print/call-arguments.js new file mode 100644 index 0000000000..39ba428888 --- /dev/null +++ b/src/language-js/print/call-arguments.js @@ -0,0 +1,295 @@ +"use strict"; + +const comments = require("../../main/comments"); +const { getLast, getPenultimate } = require("../../common/util"); +const { isNextLineEmpty } = require("../../common/util-shared"); +const { + hasLeadingComment, + hasTrailingComment, + isFunctionCompositionArgs, + isJSXNode, + isLongCurriedCallExpression, + shouldPrintComma, +} = require("../utils"); + +const { + builders: { + concat, + line, + hardline, + softline, + group, + indent, + conditionalGroup, + ifBreak, + breakParent, + }, + utils: { willBreak }, +} = require("../../document"); + +function printCallArguments(path, options, print) { + const node = path.getValue(); + const args = node.arguments; + + if (args.length === 0) { + return concat([ + "(", + comments.printDanglingComments(path, options, /* sameIndent */ true), + ")", + ]); + } + + // useEffect(() => { ... }, [foo, bar, baz]) + if ( + args.length === 2 && + args[0].type === "ArrowFunctionExpression" && + args[0].params.length === 0 && + args[0].body.type === "BlockStatement" && + args[1].type === "ArrayExpression" && + !args.find((arg) => arg.comments) + ) { + return concat([ + "(", + path.call(print, "arguments", 0), + ", ", + path.call(print, "arguments", 1), + ")", + ]); + } + + // func( + // ({ + // a, + + // b + // }) => {} + // ); + function shouldBreakForArrowFunctionInArguments(arg, argPath) { + if ( + !arg || + arg.type !== "ArrowFunctionExpression" || + !arg.body || + arg.body.type !== "BlockStatement" || + !arg.params || + arg.params.length < 1 + ) { + return false; + } + + let shouldBreak = false; + argPath.each((paramPath) => { + const printed = concat([print(paramPath)]); + shouldBreak = shouldBreak || willBreak(printed); + }, "params"); + + return shouldBreak; + } + + let anyArgEmptyLine = false; + let shouldBreakForArrowFunction = false; + let hasEmptyLineFollowingFirstArg = false; + const lastArgIndex = args.length - 1; + const printedArguments = path.map((argPath, index) => { + const arg = argPath.getNode(); + const parts = [print(argPath)]; + + if (index === lastArgIndex) { + // do nothing + } else if (isNextLineEmpty(options.originalText, arg, options.locEnd)) { + if (index === 0) { + hasEmptyLineFollowingFirstArg = true; + } + + anyArgEmptyLine = true; + parts.push(",", hardline, hardline); + } else { + parts.push(",", line); + } + + shouldBreakForArrowFunction = shouldBreakForArrowFunctionInArguments( + arg, + argPath + ); + + return concat(parts); + }, "arguments"); + + const maybeTrailingComma = + // Dynamic imports cannot have trailing commas + !(node.callee && node.callee.type === "Import") && + shouldPrintComma(options, "all") + ? "," + : ""; + + function allArgsBrokenOut() { + return group( + concat([ + "(", + indent(concat([line, concat(printedArguments)])), + maybeTrailingComma, + line, + ")", + ]), + { shouldBreak: true } + ); + } + + if ( + path.getParentNode().type !== "Decorator" && + isFunctionCompositionArgs(args) + ) { + return allArgsBrokenOut(); + } + + const shouldGroupFirst = shouldGroupFirstArg(args); + const shouldGroupLast = shouldGroupLastArg(args); + if (shouldGroupFirst || shouldGroupLast) { + const shouldBreak = + (shouldGroupFirst + ? printedArguments.slice(1).some(willBreak) + : printedArguments.slice(0, -1).some(willBreak)) || + anyArgEmptyLine || + shouldBreakForArrowFunction; + + // We want to print the last argument with a special flag + let printedExpanded; + let i = 0; + path.each((argPath) => { + if (shouldGroupFirst && i === 0) { + printedExpanded = [ + concat([ + argPath.call((p) => print(p, { expandFirstArg: true })), + printedArguments.length > 1 ? "," : "", + hasEmptyLineFollowingFirstArg ? hardline : line, + hasEmptyLineFollowingFirstArg ? hardline : "", + ]), + ].concat(printedArguments.slice(1)); + } + if (shouldGroupLast && i === args.length - 1) { + printedExpanded = printedArguments + .slice(0, -1) + .concat(argPath.call((p) => print(p, { expandLastArg: true }))); + } + i++; + }, "arguments"); + + const somePrintedArgumentsWillBreak = printedArguments.some(willBreak); + + const simpleConcat = concat(["(", concat(printedExpanded), ")"]); + + return concat([ + somePrintedArgumentsWillBreak ? breakParent : "", + conditionalGroup( + [ + !somePrintedArgumentsWillBreak && + !node.typeArguments && + !node.typeParameters + ? simpleConcat + : ifBreak(allArgsBrokenOut(), simpleConcat), + shouldGroupFirst + ? concat([ + "(", + group(printedExpanded[0], { shouldBreak: true }), + concat(printedExpanded.slice(1)), + ")", + ]) + : concat([ + "(", + concat(printedArguments.slice(0, -1)), + group(getLast(printedExpanded), { + shouldBreak: true, + }), + ")", + ]), + allArgsBrokenOut(), + ], + { shouldBreak } + ), + ]); + } + + const contents = concat([ + "(", + indent(concat([softline, concat(printedArguments)])), + ifBreak(maybeTrailingComma), + softline, + ")", + ]); + if (isLongCurriedCallExpression(path)) { + // By not wrapping the arguments in a group, the printer prioritizes + // breaking up these arguments rather than the args of the parent call. + return contents; + } + + return group(contents, { + shouldBreak: printedArguments.some(willBreak) || anyArgEmptyLine, + }); +} + +function couldGroupArg(arg) { + return ( + (arg.type === "ObjectExpression" && + (arg.properties.length > 0 || arg.comments)) || + (arg.type === "ArrayExpression" && + (arg.elements.length > 0 || arg.comments)) || + (arg.type === "TSTypeAssertion" && couldGroupArg(arg.expression)) || + (arg.type === "TSAsExpression" && couldGroupArg(arg.expression)) || + arg.type === "FunctionExpression" || + (arg.type === "ArrowFunctionExpression" && + // we want to avoid breaking inside composite return types but not simple keywords + // https://github.com/prettier/prettier/issues/4070 + // export class Thing implements OtherThing { + // do: (type: Type) => Provider = memoize( + // (type: ObjectType): Provider => {} + // ); + // } + // https://github.com/prettier/prettier/issues/6099 + // app.get("/", (req, res): void => { + // res.send("Hello World!"); + // }); + (!arg.returnType || + !arg.returnType.typeAnnotation || + arg.returnType.typeAnnotation.type !== "TSTypeReference") && + (arg.body.type === "BlockStatement" || + arg.body.type === "ArrowFunctionExpression" || + arg.body.type === "ObjectExpression" || + arg.body.type === "ArrayExpression" || + arg.body.type === "CallExpression" || + arg.body.type === "OptionalCallExpression" || + arg.body.type === "ConditionalExpression" || + isJSXNode(arg.body))) + ); +} + +function shouldGroupLastArg(args) { + const lastArg = getLast(args); + const penultimateArg = getPenultimate(args); + return ( + !hasLeadingComment(lastArg) && + !hasTrailingComment(lastArg) && + couldGroupArg(lastArg) && + // If the last two arguments are of the same type, + // disable last element expansion. + (!penultimateArg || penultimateArg.type !== lastArg.type) + ); +} + +function shouldGroupFirstArg(args) { + if (args.length !== 2) { + return false; + } + + const [firstArg, secondArg] = args; + return ( + (!firstArg.comments || !firstArg.comments.length) && + (firstArg.type === "FunctionExpression" || + (firstArg.type === "ArrowFunctionExpression" && + firstArg.body.type === "BlockStatement")) && + secondArg.type !== "FunctionExpression" && + secondArg.type !== "ArrowFunctionExpression" && + secondArg.type !== "ConditionalExpression" && + !couldGroupArg(secondArg) + ); +} + +module.exports = printCallArguments; diff --git a/src/language-js/print/member-chain.js b/src/language-js/print/member-chain.js new file mode 100644 index 0000000000..ea231aa569 --- /dev/null +++ b/src/language-js/print/member-chain.js @@ -0,0 +1,415 @@ +"use strict"; + +const comments = require("../../main/comments"); +const { getLast } = require("../../common/util"); +const { + isNextLineEmpty, + isNextLineEmptyAfterIndex, + getNextNonSpaceNonCommentCharacterIndex, +} = require("../../common/util-shared"); +const pathNeedsParens = require("../needs-parens"); +const { + hasLeadingComment, + hasTrailingComment, + isCallOrOptionalCallExpression, + isFunctionOrArrowExpression, + isLongCurriedCallExpression, + isMemberish, + isNumericLiteral, + isSimpleCallArgument, +} = require("../utils"); + +const printCallArguments = require("./call-arguments"); +const { + printOptionalToken, + printFunctionTypeParameters, + printMemberLookup, + printBindExpressionCallee, +} = require("./misc"); + +const { + builders: { + concat, + join, + hardline, + group, + indent, + conditionalGroup, + breakParent, + }, + utils: { willBreak }, +} = require("../../document"); + +// We detect calls on member expressions specially to format a +// common pattern better. The pattern we are looking for is this: +// +// arr +// .map(x => x + 1) +// .filter(x => x > 10) +// .some(x => x % 2) +// +// The way it is structured in the AST is via a nested sequence of +// MemberExpression and CallExpression. We need to traverse the AST +// and make groups out of it to print it in the desired way. +function printMemberChain(path, options, print) { + // The first phase is to linearize the AST by traversing it down. + // + // a().b() + // has the following AST structure: + // CallExpression(MemberExpression(CallExpression(Identifier))) + // and we transform it into + // [Identifier, CallExpression, MemberExpression, CallExpression] + const printedNodes = []; + + // Here we try to retain one typed empty line after each call expression or + // the first group whether it is in parentheses or not + function shouldInsertEmptyLineAfter(node) { + const { originalText } = options; + const nextCharIndex = getNextNonSpaceNonCommentCharacterIndex( + originalText, + node, + options.locEnd + ); + const nextChar = originalText.charAt(nextCharIndex); + + // if it is cut off by a parenthesis, we only account for one typed empty + // line after that parenthesis + if (nextChar === ")") { + return isNextLineEmptyAfterIndex( + originalText, + nextCharIndex + 1, + options.locEnd + ); + } + + return isNextLineEmpty(originalText, node, options.locEnd); + } + + function rec(path) { + const node = path.getValue(); + if ( + (node.type === "CallExpression" || + node.type === "OptionalCallExpression") && + (isMemberish(node.callee) || + node.callee.type === "CallExpression" || + node.callee.type === "OptionalCallExpression") + ) { + printedNodes.unshift({ + node, + printed: concat([ + comments.printComments( + path, + () => + concat([ + printOptionalToken(path), + printFunctionTypeParameters(path, options, print), + printCallArguments(path, options, print), + ]), + options + ), + shouldInsertEmptyLineAfter(node) ? hardline : "", + ]), + }); + path.call((callee) => rec(callee), "callee"); + } else if (isMemberish(node)) { + printedNodes.unshift({ + node, + needsParens: pathNeedsParens(path, options), + printed: comments.printComments( + path, + () => + node.type === "OptionalMemberExpression" || + node.type === "MemberExpression" + ? printMemberLookup(path, options, print) + : printBindExpressionCallee(path, options, print), + options + ), + }); + path.call((object) => rec(object), "object"); + } else if (node.type === "TSNonNullExpression") { + printedNodes.unshift({ + node, + printed: comments.printComments(path, () => "!", options), + }); + path.call((expression) => rec(expression), "expression"); + } else { + printedNodes.unshift({ + node, + printed: path.call(print), + }); + } + } + // Note: the comments of the root node have already been printed, so we + // need to extract this first call without printing them as they would + // if handled inside of the recursive call. + const node = path.getValue(); + printedNodes.unshift({ + node, + printed: concat([ + printOptionalToken(path), + printFunctionTypeParameters(path, options, print), + printCallArguments(path, options, print), + ]), + }); + path.call((callee) => rec(callee), "callee"); + + // Once we have a linear list of printed nodes, we want to create groups out + // of it. + // + // a().b.c().d().e + // will be grouped as + // [ + // [Identifier, CallExpression], + // [MemberExpression, MemberExpression, CallExpression], + // [MemberExpression, CallExpression], + // [MemberExpression], + // ] + // so that we can print it as + // a() + // .b.c() + // .d() + // .e + + // The first group is the first node followed by + // - as many CallExpression as possible + // < fn()()() >.something() + // - as many array accessors as possible + // < fn()[0][1][2] >.something() + // - then, as many MemberExpression as possible but the last one + // < this.items >.something() + const groups = []; + let currentGroup = [printedNodes[0]]; + let i = 1; + for (; i < printedNodes.length; ++i) { + if ( + printedNodes[i].node.type === "TSNonNullExpression" || + printedNodes[i].node.type === "OptionalCallExpression" || + printedNodes[i].node.type === "CallExpression" || + ((printedNodes[i].node.type === "MemberExpression" || + printedNodes[i].node.type === "OptionalMemberExpression") && + printedNodes[i].node.computed && + isNumericLiteral(printedNodes[i].node.property)) + ) { + currentGroup.push(printedNodes[i]); + } else { + break; + } + } + if ( + printedNodes[0].node.type !== "CallExpression" && + printedNodes[0].node.type !== "OptionalCallExpression" + ) { + for (; i + 1 < printedNodes.length; ++i) { + if ( + isMemberish(printedNodes[i].node) && + isMemberish(printedNodes[i + 1].node) + ) { + currentGroup.push(printedNodes[i]); + } else { + break; + } + } + } + groups.push(currentGroup); + currentGroup = []; + + // Then, each following group is a sequence of MemberExpression followed by + // a sequence of CallExpression. To compute it, we keep adding things to the + // group until we has seen a CallExpression in the past and reach a + // MemberExpression + let hasSeenCallExpression = false; + for (; i < printedNodes.length; ++i) { + if (hasSeenCallExpression && isMemberish(printedNodes[i].node)) { + // [0] should be appended at the end of the group instead of the + // beginning of the next one + if ( + printedNodes[i].node.computed && + isNumericLiteral(printedNodes[i].node.property) + ) { + currentGroup.push(printedNodes[i]); + continue; + } + + groups.push(currentGroup); + currentGroup = []; + hasSeenCallExpression = false; + } + + if ( + printedNodes[i].node.type === "CallExpression" || + printedNodes[i].node.type === "OptionalCallExpression" + ) { + hasSeenCallExpression = true; + } + currentGroup.push(printedNodes[i]); + + if ( + printedNodes[i].node.comments && + printedNodes[i].node.comments.some((comment) => comment.trailing) + ) { + groups.push(currentGroup); + currentGroup = []; + hasSeenCallExpression = false; + } + } + if (currentGroup.length > 0) { + groups.push(currentGroup); + } + + // There are cases like Object.keys(), Observable.of(), _.values() where + // they are the subject of all the chained calls and therefore should + // be kept on the same line: + // + // Object.keys(items) + // .filter(x => x) + // .map(x => x) + // + // In order to detect those cases, we use an heuristic: if the first + // node is an identifier with the name starting with a capital + // letter or just a sequence of _$. The rationale is that they are + // likely to be factories. + function isFactory(name) { + return /^[A-Z]|^[$_]+$/.test(name); + } + + // In case the Identifier is shorter than tab width, we can keep the + // first call in a single line, if it's an ExpressionStatement. + // + // d3.scaleLinear() + // .domain([0, 100]) + // .range([0, width]); + // + function isShort(name) { + return name.length <= options.tabWidth; + } + + function shouldNotWrap(groups) { + const parent = path.getParentNode(); + const isExpression = parent && parent.type === "ExpressionStatement"; + const hasComputed = groups[1].length && groups[1][0].node.computed; + + if (groups[0].length === 1) { + const firstNode = groups[0][0].node; + return ( + firstNode.type === "ThisExpression" || + (firstNode.type === "Identifier" && + (isFactory(firstNode.name) || + (isExpression && isShort(firstNode.name)) || + hasComputed)) + ); + } + + const lastNode = getLast(groups[0]).node; + return ( + (lastNode.type === "MemberExpression" || + lastNode.type === "OptionalMemberExpression") && + lastNode.property.type === "Identifier" && + (isFactory(lastNode.property.name) || hasComputed) + ); + } + + const shouldMerge = + groups.length >= 2 && !groups[1][0].node.comments && shouldNotWrap(groups); + + function printGroup(printedGroup) { + const printed = printedGroup.map((tuple) => tuple.printed); + // Checks if the last node (i.e. the parent node) needs parens and print + // accordingly + if ( + printedGroup.length > 0 && + printedGroup[printedGroup.length - 1].needsParens + ) { + return concat(["(", ...printed, ")"]); + } + return concat(printed); + } + + function printIndentedGroup(groups) { + if (groups.length === 0) { + return ""; + } + return indent( + group(concat([hardline, join(hardline, groups.map(printGroup))])) + ); + } + + const printedGroups = groups.map(printGroup); + const oneLine = concat(printedGroups); + + const cutoff = shouldMerge ? 3 : 2; + const flatGroups = groups.reduce((res, group) => res.concat(group), []); + + const hasComment = + flatGroups.slice(1, -1).some((node) => hasLeadingComment(node.node)) || + flatGroups.slice(0, -1).some((node) => hasTrailingComment(node.node)) || + (groups[cutoff] && hasLeadingComment(groups[cutoff][0].node)); + + // If we only have a single `.`, we shouldn't do anything fancy and just + // render everything concatenated together. + if (groups.length <= cutoff && !hasComment) { + if (isLongCurriedCallExpression(path)) { + return oneLine; + } + return group(oneLine); + } + + // Find out the last node in the first group and check if it has an + // empty line after + const lastNodeBeforeIndent = getLast( + shouldMerge ? groups.slice(1, 2)[0] : groups[0] + ).node; + const shouldHaveEmptyLineBeforeIndent = + lastNodeBeforeIndent.type !== "CallExpression" && + lastNodeBeforeIndent.type !== "OptionalCallExpression" && + shouldInsertEmptyLineAfter(lastNodeBeforeIndent); + + const expanded = concat([ + printGroup(groups[0]), + shouldMerge ? concat(groups.slice(1, 2).map(printGroup)) : "", + shouldHaveEmptyLineBeforeIndent ? hardline : "", + printIndentedGroup(groups.slice(shouldMerge ? 2 : 1)), + ]); + + const callExpressions = printedNodes + .map(({ node }) => node) + .filter(isCallOrOptionalCallExpression); + + // We don't want to print in one line if the chain has: + // * A comment. + // * Non-trivial arguments. + // * Any group but the last one has a hard line. + // If the last group is a function it's okay to inline if it fits. + if ( + hasComment || + (callExpressions.length > 2 && + callExpressions.some( + (expr) => !expr.arguments.every((arg) => isSimpleCallArgument(arg, 0)) + )) || + printedGroups.slice(0, -1).some(willBreak) || + /** + * scopes.filter(scope => scope.value !== '').map((scope, i) => { + * // multi line content + * }) + */ + (((lastGroupDoc, lastGroupNode) => + isCallOrOptionalCallExpression(lastGroupNode) && willBreak(lastGroupDoc))( + getLast(printedGroups), + getLast(getLast(groups)).node + ) && + callExpressions + .slice(0, -1) + .some((n) => n.arguments.some(isFunctionOrArrowExpression))) + ) { + return group(expanded); + } + + return concat([ + // We only need to check `oneLine` because if `expanded` is chosen + // that means that the parent group has already been broken + // naturally + willBreak(oneLine) || shouldHaveEmptyLineBeforeIndent ? breakParent : "", + conditionalGroup([oneLine, expanded]), + ]); +} + +module.exports = printMemberChain; diff --git a/src/language-js/print/misc.js b/src/language-js/print/misc.js new file mode 100644 index 0000000000..ac74bbce8f --- /dev/null +++ b/src/language-js/print/misc.js @@ -0,0 +1,66 @@ +"use strict"; + +const { isNumericLiteral } = require("../utils"); + +const { + builders: { concat, softline, group, indent }, +} = require("../../document"); + +function printOptionalToken(path) { + const node = path.getValue(); + if ( + !node.optional || + // It's an optional computed method parsed by typescript-estree. + // "?" is printed in `printMethod`. + (node.type === "Identifier" && node === path.getParentNode().key) + ) { + return ""; + } + if ( + node.type === "OptionalCallExpression" || + (node.type === "OptionalMemberExpression" && node.computed) + ) { + return "?."; + } + return "?"; +} + +function printFunctionTypeParameters(path, options, print) { + const fun = path.getValue(); + if (fun.typeArguments) { + return path.call(print, "typeArguments"); + } + if (fun.typeParameters) { + return path.call(print, "typeParameters"); + } + return ""; +} + +function printMemberLookup(path, options, print) { + const property = path.call(print, "property"); + const n = path.getValue(); + const optional = printOptionalToken(path); + + if (!n.computed) { + return concat([optional, ".", property]); + } + + if (!n.property || isNumericLiteral(n.property)) { + return concat([optional, "[", property, "]"]); + } + + return group( + concat([optional, "[", indent(concat([softline, property])), softline, "]"]) + ); +} + +function printBindExpressionCallee(path, options, print) { + return concat(["::", path.call(print, "callee")]); +} + +module.exports = { + printOptionalToken, + printFunctionTypeParameters, + printMemberLookup, + printBindExpressionCallee, +}; diff --git a/src/language-js/printer-estree.js b/src/language-js/printer-estree.js index c76b67755d..04cd502341 100644 --- a/src/language-js/printer-estree.js +++ b/src/language-js/printer-estree.js @@ -15,14 +15,12 @@ const { printNumber, hasIgnoreComment, hasNodeIgnoreComment, - getPenultimate, startsWithNoLookaheadToken, getIndentSize, getPreferredQuote, } = require("../common/util"); const { isNextLineEmpty, - isNextLineEmptyAfterIndex, getNextNonSpaceNonCommentCharacterIndex, } = require("../common/util-shared"); const embed = require("./embed"); @@ -46,7 +44,6 @@ const { hasDanglingComments, hasFlowAnnotationComment, hasFlowShorthandAnnotationComment, - hasLeadingComment, hasLeadingOwnLineComment, hasNakedLeftSide, hasNewlineBetweenOrAfterDecorators, @@ -59,24 +56,19 @@ const { isEmptyJSXElement, isExportDeclaration, isFlowAnnotationComment, - isFunctionCompositionArgs, isFunctionNotation, - isFunctionOrArrowExpression, isGetterOrSetter, isJestEachTemplateLiteral, isJSXNode, isJSXWhitespaceExpression, isLastStatement, isLiteral, - isLongCurriedCallExpression, isMeaningfulJSXText, isMemberExpressionChain, isMemberish, isNgForOf, - isNumericLiteral, isObjectType, isObjectTypePropertyAFunction, - isSimpleCallArgument, isSimpleFlowType, isSimpleTemplateLiteral, isStringLiteral, @@ -90,8 +82,18 @@ const { needsHardlineAfterDanglingComment, rawText, returnArgumentHasLeadingComment, + shouldPrintComma, } = require("./utils"); +const printMemberChain = require("./print/member-chain"); +const printCallArguments = require("./print/call-arguments"); +const { + printOptionalToken, + printFunctionTypeParameters, + printMemberLookup, + printBindExpressionCallee, +} = require("./print/misc"); + const needsQuoteProps = new WeakMap(); const { @@ -108,7 +110,6 @@ const { conditionalGroup, fill, ifBreak, - breakParent, lineSuffixBoundary, addAlignmentToDoc, dedent, @@ -119,26 +120,6 @@ const { let uid = 0; -function shouldPrintComma(options, level) { - level = level || "es5"; - - switch (options.trailingComma) { - case "all": - if (level === "all") { - return true; - } - // fallthrough - case "es5": - if (level === "es5") { - return true; - } - // fallthrough - case "none": - default: - return false; - } -} - function genericPrint(path, options, printPath, args) { const node = path.getValue(); let needsParens = false; @@ -1224,7 +1205,7 @@ function printPathNoParens(path, options, print, args) { ? `/*:: ${n.callee.trailingComments[0].value.slice(2).trim()} */` : "", printFunctionTypeParameters(path, options, print), - printArgumentsList(path, options, print), + printCallArguments(path, options, print), ]); // We group here when the callee is itself a call expression. @@ -3893,72 +3874,6 @@ function printMethodInternal(path, options, print) { return concat(parts); } -function couldGroupArg(arg) { - return ( - (arg.type === "ObjectExpression" && - (arg.properties.length > 0 || arg.comments)) || - (arg.type === "ArrayExpression" && - (arg.elements.length > 0 || arg.comments)) || - (arg.type === "TSTypeAssertion" && couldGroupArg(arg.expression)) || - (arg.type === "TSAsExpression" && couldGroupArg(arg.expression)) || - arg.type === "FunctionExpression" || - (arg.type === "ArrowFunctionExpression" && - // we want to avoid breaking inside composite return types but not simple keywords - // https://github.com/prettier/prettier/issues/4070 - // export class Thing implements OtherThing { - // do: (type: Type) => Provider = memoize( - // (type: ObjectType): Provider => {} - // ); - // } - // https://github.com/prettier/prettier/issues/6099 - // app.get("/", (req, res): void => { - // res.send("Hello World!"); - // }); - (!arg.returnType || - !arg.returnType.typeAnnotation || - arg.returnType.typeAnnotation.type !== "TSTypeReference") && - (arg.body.type === "BlockStatement" || - arg.body.type === "ArrowFunctionExpression" || - arg.body.type === "ObjectExpression" || - arg.body.type === "ArrayExpression" || - arg.body.type === "CallExpression" || - arg.body.type === "OptionalCallExpression" || - arg.body.type === "ConditionalExpression" || - isJSXNode(arg.body))) - ); -} - -function shouldGroupLastArg(args) { - const lastArg = getLast(args); - const penultimateArg = getPenultimate(args); - return ( - !hasLeadingComment(lastArg) && - !hasTrailingComment(lastArg) && - couldGroupArg(lastArg) && - // If the last two arguments are of the same type, - // disable last element expansion. - (!penultimateArg || penultimateArg.type !== lastArg.type) - ); -} - -function shouldGroupFirstArg(args) { - if (args.length !== 2) { - return false; - } - - const [firstArg, secondArg] = args; - return ( - (!firstArg.comments || !firstArg.comments.length) && - (firstArg.type === "FunctionExpression" || - (firstArg.type === "ArrowFunctionExpression" && - firstArg.body.type === "BlockStatement")) && - secondArg.type !== "FunctionExpression" && - secondArg.type !== "ArrowFunctionExpression" && - secondArg.type !== "ConditionalExpression" && - !couldGroupArg(secondArg) - ); -} - function printJestEachTemplateLiteral(node, expressions, options) { /** * a | b | expected @@ -4046,205 +3961,6 @@ function printJestEachTemplateLiteral(node, expressions, options) { } } -function printArgumentsList(path, options, print) { - const node = path.getValue(); - const args = node.arguments; - - if (args.length === 0) { - return concat([ - "(", - comments.printDanglingComments(path, options, /* sameIndent */ true), - ")", - ]); - } - - // useEffect(() => { ... }, [foo, bar, baz]) - if ( - args.length === 2 && - args[0].type === "ArrowFunctionExpression" && - args[0].params.length === 0 && - args[0].body.type === "BlockStatement" && - args[1].type === "ArrayExpression" && - !args.find((arg) => arg.comments) - ) { - return concat([ - "(", - path.call(print, "arguments", 0), - ", ", - path.call(print, "arguments", 1), - ")", - ]); - } - - // func( - // ({ - // a, - - // b - // }) => {} - // ); - function shouldBreakForArrowFunctionInArguments(arg, argPath) { - if ( - !arg || - arg.type !== "ArrowFunctionExpression" || - !arg.body || - arg.body.type !== "BlockStatement" || - !arg.params || - arg.params.length < 1 - ) { - return false; - } - - let shouldBreak = false; - argPath.each((paramPath) => { - const printed = concat([print(paramPath)]); - shouldBreak = shouldBreak || willBreak(printed); - }, "params"); - - return shouldBreak; - } - - let anyArgEmptyLine = false; - let shouldBreakForArrowFunction = false; - let hasEmptyLineFollowingFirstArg = false; - const lastArgIndex = args.length - 1; - const printedArguments = path.map((argPath, index) => { - const arg = argPath.getNode(); - const parts = [print(argPath)]; - - if (index === lastArgIndex) { - // do nothing - } else if (isNextLineEmpty(options.originalText, arg, options.locEnd)) { - if (index === 0) { - hasEmptyLineFollowingFirstArg = true; - } - - anyArgEmptyLine = true; - parts.push(",", hardline, hardline); - } else { - parts.push(",", line); - } - - shouldBreakForArrowFunction = shouldBreakForArrowFunctionInArguments( - arg, - argPath - ); - - return concat(parts); - }, "arguments"); - - const maybeTrailingComma = - // Dynamic imports cannot have trailing commas - !(node.callee && node.callee.type === "Import") && - shouldPrintComma(options, "all") - ? "," - : ""; - - function allArgsBrokenOut() { - return group( - concat([ - "(", - indent(concat([line, concat(printedArguments)])), - maybeTrailingComma, - line, - ")", - ]), - { shouldBreak: true } - ); - } - - if ( - path.getParentNode().type !== "Decorator" && - isFunctionCompositionArgs(args) - ) { - return allArgsBrokenOut(); - } - - const shouldGroupFirst = shouldGroupFirstArg(args); - const shouldGroupLast = shouldGroupLastArg(args); - if (shouldGroupFirst || shouldGroupLast) { - const shouldBreak = - (shouldGroupFirst - ? printedArguments.slice(1).some(willBreak) - : printedArguments.slice(0, -1).some(willBreak)) || - anyArgEmptyLine || - shouldBreakForArrowFunction; - - // We want to print the last argument with a special flag - let printedExpanded; - let i = 0; - path.each((argPath) => { - if (shouldGroupFirst && i === 0) { - printedExpanded = [ - concat([ - argPath.call((p) => print(p, { expandFirstArg: true })), - printedArguments.length > 1 ? "," : "", - hasEmptyLineFollowingFirstArg ? hardline : line, - hasEmptyLineFollowingFirstArg ? hardline : "", - ]), - ].concat(printedArguments.slice(1)); - } - if (shouldGroupLast && i === args.length - 1) { - printedExpanded = printedArguments - .slice(0, -1) - .concat(argPath.call((p) => print(p, { expandLastArg: true }))); - } - i++; - }, "arguments"); - - const somePrintedArgumentsWillBreak = printedArguments.some(willBreak); - - const simpleConcat = concat(["(", concat(printedExpanded), ")"]); - - return concat([ - somePrintedArgumentsWillBreak ? breakParent : "", - conditionalGroup( - [ - !somePrintedArgumentsWillBreak && - !node.typeArguments && - !node.typeParameters - ? simpleConcat - : ifBreak(allArgsBrokenOut(), simpleConcat), - shouldGroupFirst - ? concat([ - "(", - group(printedExpanded[0], { shouldBreak: true }), - concat(printedExpanded.slice(1)), - ")", - ]) - : concat([ - "(", - concat(printedArguments.slice(0, -1)), - group(getLast(printedExpanded), { - shouldBreak: true, - }), - ")", - ]), - allArgsBrokenOut(), - ], - { shouldBreak } - ), - ]); - } - - const contents = concat([ - "(", - indent(concat([softline, concat(printedArguments)])), - ifBreak(maybeTrailingComma), - softline, - ")", - ]); - if (isLongCurriedCallExpression(path)) { - // By not wrapping the arguments in a group, the printer prioritizes - // breaking up these arguments rather than the args of the parent call. - return contents; - } - - return group(contents, { - shouldBreak: printedArguments.some(willBreak) || anyArgEmptyLine, - }); -} - function printTypeAnnotation(path, options, print) { const node = path.getValue(); if (!node.typeAnnotation) { @@ -4273,17 +3989,6 @@ function printTypeAnnotation(path, options, print) { ]); } -function printFunctionTypeParameters(path, options, print) { - const fun = path.getValue(); - if (fun.typeArguments) { - return path.call(print, "typeArguments"); - } - if (fun.typeParameters) { - return path.call(print, "typeParameters"); - } - return ""; -} - function printFunctionParams(path, print, options, expandArg, printTypeParams) { const fun = path.getValue(); const parent = path.getParentNode(); @@ -4844,419 +4549,6 @@ function printClass(path, options, print) { return parts; } -function printOptionalToken(path) { - const node = path.getValue(); - if ( - !node.optional || - // It's an optional computed method parsed by typescript-estree. - // "?" is printed in `printMethod`. - (node.type === "Identifier" && node === path.getParentNode().key) - ) { - return ""; - } - if ( - node.type === "OptionalCallExpression" || - (node.type === "OptionalMemberExpression" && node.computed) - ) { - return "?."; - } - return "?"; -} - -function printMemberLookup(path, options, print) { - const property = path.call(print, "property"); - const n = path.getValue(); - const optional = printOptionalToken(path); - - if (!n.computed) { - return concat([optional, ".", property]); - } - - if (!n.property || isNumericLiteral(n.property)) { - return concat([optional, "[", property, "]"]); - } - - return group( - concat([optional, "[", indent(concat([softline, property])), softline, "]"]) - ); -} - -function printBindExpressionCallee(path, options, print) { - return concat(["::", path.call(print, "callee")]); -} - -// We detect calls on member expressions specially to format a -// common pattern better. The pattern we are looking for is this: -// -// arr -// .map(x => x + 1) -// .filter(x => x > 10) -// .some(x => x % 2) -// -// The way it is structured in the AST is via a nested sequence of -// MemberExpression and CallExpression. We need to traverse the AST -// and make groups out of it to print it in the desired way. -function printMemberChain(path, options, print) { - // The first phase is to linearize the AST by traversing it down. - // - // a().b() - // has the following AST structure: - // CallExpression(MemberExpression(CallExpression(Identifier))) - // and we transform it into - // [Identifier, CallExpression, MemberExpression, CallExpression] - const printedNodes = []; - - // Here we try to retain one typed empty line after each call expression or - // the first group whether it is in parentheses or not - function shouldInsertEmptyLineAfter(node) { - const { originalText } = options; - const nextCharIndex = getNextNonSpaceNonCommentCharacterIndex( - originalText, - node, - options.locEnd - ); - const nextChar = originalText.charAt(nextCharIndex); - - // if it is cut off by a parenthesis, we only account for one typed empty - // line after that parenthesis - if (nextChar === ")") { - return isNextLineEmptyAfterIndex( - originalText, - nextCharIndex + 1, - options.locEnd - ); - } - - return isNextLineEmpty(originalText, node, options.locEnd); - } - - function rec(path) { - const node = path.getValue(); - if ( - (node.type === "CallExpression" || - node.type === "OptionalCallExpression") && - (isMemberish(node.callee) || - node.callee.type === "CallExpression" || - node.callee.type === "OptionalCallExpression") - ) { - printedNodes.unshift({ - node, - printed: concat([ - comments.printComments( - path, - () => - concat([ - printOptionalToken(path), - printFunctionTypeParameters(path, options, print), - printArgumentsList(path, options, print), - ]), - options - ), - shouldInsertEmptyLineAfter(node) ? hardline : "", - ]), - }); - path.call((callee) => rec(callee), "callee"); - } else if (isMemberish(node)) { - printedNodes.unshift({ - node, - needsParens: pathNeedsParens(path, options), - printed: comments.printComments( - path, - () => - node.type === "OptionalMemberExpression" || - node.type === "MemberExpression" - ? printMemberLookup(path, options, print) - : printBindExpressionCallee(path, options, print), - options - ), - }); - path.call((object) => rec(object), "object"); - } else if (node.type === "TSNonNullExpression") { - printedNodes.unshift({ - node, - printed: comments.printComments(path, () => "!", options), - }); - path.call((expression) => rec(expression), "expression"); - } else { - printedNodes.unshift({ - node, - printed: path.call(print), - }); - } - } - // Note: the comments of the root node have already been printed, so we - // need to extract this first call without printing them as they would - // if handled inside of the recursive call. - const node = path.getValue(); - printedNodes.unshift({ - node, - printed: concat([ - printOptionalToken(path), - printFunctionTypeParameters(path, options, print), - printArgumentsList(path, options, print), - ]), - }); - path.call((callee) => rec(callee), "callee"); - - // Once we have a linear list of printed nodes, we want to create groups out - // of it. - // - // a().b.c().d().e - // will be grouped as - // [ - // [Identifier, CallExpression], - // [MemberExpression, MemberExpression, CallExpression], - // [MemberExpression, CallExpression], - // [MemberExpression], - // ] - // so that we can print it as - // a() - // .b.c() - // .d() - // .e - - // The first group is the first node followed by - // - as many CallExpression as possible - // < fn()()() >.something() - // - as many array accessors as possible - // < fn()[0][1][2] >.something() - // - then, as many MemberExpression as possible but the last one - // < this.items >.something() - const groups = []; - let currentGroup = [printedNodes[0]]; - let i = 1; - for (; i < printedNodes.length; ++i) { - if ( - printedNodes[i].node.type === "TSNonNullExpression" || - printedNodes[i].node.type === "OptionalCallExpression" || - printedNodes[i].node.type === "CallExpression" || - ((printedNodes[i].node.type === "MemberExpression" || - printedNodes[i].node.type === "OptionalMemberExpression") && - printedNodes[i].node.computed && - isNumericLiteral(printedNodes[i].node.property)) - ) { - currentGroup.push(printedNodes[i]); - } else { - break; - } - } - if ( - printedNodes[0].node.type !== "CallExpression" && - printedNodes[0].node.type !== "OptionalCallExpression" - ) { - for (; i + 1 < printedNodes.length; ++i) { - if ( - isMemberish(printedNodes[i].node) && - isMemberish(printedNodes[i + 1].node) - ) { - currentGroup.push(printedNodes[i]); - } else { - break; - } - } - } - groups.push(currentGroup); - currentGroup = []; - - // Then, each following group is a sequence of MemberExpression followed by - // a sequence of CallExpression. To compute it, we keep adding things to the - // group until we has seen a CallExpression in the past and reach a - // MemberExpression - let hasSeenCallExpression = false; - for (; i < printedNodes.length; ++i) { - if (hasSeenCallExpression && isMemberish(printedNodes[i].node)) { - // [0] should be appended at the end of the group instead of the - // beginning of the next one - if ( - printedNodes[i].node.computed && - isNumericLiteral(printedNodes[i].node.property) - ) { - currentGroup.push(printedNodes[i]); - continue; - } - - groups.push(currentGroup); - currentGroup = []; - hasSeenCallExpression = false; - } - - if ( - printedNodes[i].node.type === "CallExpression" || - printedNodes[i].node.type === "OptionalCallExpression" - ) { - hasSeenCallExpression = true; - } - currentGroup.push(printedNodes[i]); - - if ( - printedNodes[i].node.comments && - printedNodes[i].node.comments.some((comment) => comment.trailing) - ) { - groups.push(currentGroup); - currentGroup = []; - hasSeenCallExpression = false; - } - } - if (currentGroup.length > 0) { - groups.push(currentGroup); - } - - // There are cases like Object.keys(), Observable.of(), _.values() where - // they are the subject of all the chained calls and therefore should - // be kept on the same line: - // - // Object.keys(items) - // .filter(x => x) - // .map(x => x) - // - // In order to detect those cases, we use an heuristic: if the first - // node is an identifier with the name starting with a capital - // letter or just a sequence of _$. The rationale is that they are - // likely to be factories. - function isFactory(name) { - return /^[A-Z]|^[$_]+$/.test(name); - } - - // In case the Identifier is shorter than tab width, we can keep the - // first call in a single line, if it's an ExpressionStatement. - // - // d3.scaleLinear() - // .domain([0, 100]) - // .range([0, width]); - // - function isShort(name) { - return name.length <= options.tabWidth; - } - - function shouldNotWrap(groups) { - const parent = path.getParentNode(); - const isExpression = parent && parent.type === "ExpressionStatement"; - const hasComputed = groups[1].length && groups[1][0].node.computed; - - if (groups[0].length === 1) { - const firstNode = groups[0][0].node; - return ( - firstNode.type === "ThisExpression" || - (firstNode.type === "Identifier" && - (isFactory(firstNode.name) || - (isExpression && isShort(firstNode.name)) || - hasComputed)) - ); - } - - const lastNode = getLast(groups[0]).node; - return ( - (lastNode.type === "MemberExpression" || - lastNode.type === "OptionalMemberExpression") && - lastNode.property.type === "Identifier" && - (isFactory(lastNode.property.name) || hasComputed) - ); - } - - const shouldMerge = - groups.length >= 2 && !groups[1][0].node.comments && shouldNotWrap(groups); - - function printGroup(printedGroup) { - const printed = printedGroup.map((tuple) => tuple.printed); - // Checks if the last node (i.e. the parent node) needs parens and print - // accordingly - if ( - printedGroup.length > 0 && - printedGroup[printedGroup.length - 1].needsParens - ) { - return concat(["(", ...printed, ")"]); - } - return concat(printed); - } - - function printIndentedGroup(groups) { - if (groups.length === 0) { - return ""; - } - return indent( - group(concat([hardline, join(hardline, groups.map(printGroup))])) - ); - } - - const printedGroups = groups.map(printGroup); - const oneLine = concat(printedGroups); - - const cutoff = shouldMerge ? 3 : 2; - const flatGroups = groups.reduce((res, group) => res.concat(group), []); - - const hasComment = - flatGroups.slice(1, -1).some((node) => hasLeadingComment(node.node)) || - flatGroups.slice(0, -1).some((node) => hasTrailingComment(node.node)) || - (groups[cutoff] && hasLeadingComment(groups[cutoff][0].node)); - - // If we only have a single `.`, we shouldn't do anything fancy and just - // render everything concatenated together. - if (groups.length <= cutoff && !hasComment) { - if (isLongCurriedCallExpression(path)) { - return oneLine; - } - return group(oneLine); - } - - // Find out the last node in the first group and check if it has an - // empty line after - const lastNodeBeforeIndent = getLast( - shouldMerge ? groups.slice(1, 2)[0] : groups[0] - ).node; - const shouldHaveEmptyLineBeforeIndent = - lastNodeBeforeIndent.type !== "CallExpression" && - lastNodeBeforeIndent.type !== "OptionalCallExpression" && - shouldInsertEmptyLineAfter(lastNodeBeforeIndent); - - const expanded = concat([ - printGroup(groups[0]), - shouldMerge ? concat(groups.slice(1, 2).map(printGroup)) : "", - shouldHaveEmptyLineBeforeIndent ? hardline : "", - printIndentedGroup(groups.slice(shouldMerge ? 2 : 1)), - ]); - - const callExpressions = printedNodes - .map(({ node }) => node) - .filter(isCallOrOptionalCallExpression); - - // We don't want to print in one line if the chain has: - // * A comment. - // * Non-trivial arguments. - // * Any group but the last one has a hard line. - // If the last group is a function it's okay to inline if it fits. - if ( - hasComment || - (callExpressions.length > 2 && - callExpressions.some( - (expr) => !expr.arguments.every((arg) => isSimpleCallArgument(arg, 0)) - )) || - printedGroups.slice(0, -1).some(willBreak) || - /** - * scopes.filter(scope => scope.value !== '').map((scope, i) => { - * // multi line content - * }) - */ - (((lastGroupDoc, lastGroupNode) => - isCallOrOptionalCallExpression(lastGroupNode) && willBreak(lastGroupDoc))( - getLast(printedGroups), - getLast(getLast(groups)).node - ) && - callExpressions - .slice(0, -1) - .some((n) => n.arguments.some(isFunctionOrArrowExpression))) - ) { - return group(expanded); - } - - return concat([ - // We only need to check `oneLine` because if `expanded` is chosen - // that means that the parent group has already been broken - // naturally - willBreak(oneLine) || shouldHaveEmptyLineBeforeIndent ? breakParent : "", - conditionalGroup([oneLine, expanded]), - ]); -} - function separatorNoWhitespace( isFacebookTranslationTag, child, diff --git a/src/language-js/utils.js b/src/language-js/utils.js index 9aec30eeec..1f70467655 100644 --- a/src/language-js/utils.js +++ b/src/language-js/utils.js @@ -1002,6 +1002,26 @@ function isTSXFile(options) { return options.filepath && /\.tsx$/i.test(options.filepath); } +function shouldPrintComma(options, level) { + level = level || "es5"; + + switch (options.trailingComma) { + case "all": + if (level === "all") { + return true; + } + // fallthrough + case "es5": + if (level === "es5") { + return true; + } + // fallthrough + case "none": + default: + return false; + } +} + module.exports = { classChildNeedsASIProtection, classPropMayCauseASIProblems, @@ -1058,4 +1078,5 @@ module.exports = { needsHardlineAfterDanglingComment, rawText, returnArgumentHasLeadingComment, + shouldPrintComma, }; From f67f65055bc3fcd1c546f90e4ee722f94243eadb Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Thu, 16 Apr 2020 00:07:44 +0300 Subject: [PATCH 0065/2034] Further improve method chain breaking heuristic (#7889) --- changelog_unreleased/javascript/pr-7889.md | 23 ++ src/language-js/print/member-chain.js | 129 +++++---- src/language-js/utils.js | 58 ++-- tests/arrays/__snapshots__/jsfmt.spec.js.snap | 5 +- .../__snapshots__/jsfmt.spec.js.snap | 20 +- .../__snapshots__/jsfmt.spec.js.snap | 254 ++++++++++++++++-- tests/method-chain/complex-args.js | 5 + tests/method-chain/cypress.js | 7 + tests/method-chain/d3.js | 2 +- tests/method-chain/fluent-configuration.js | 18 ++ tests/method-chain/issue-3594.js | 8 + tests/method-chain/issue-3621.js | 11 + tests/method-chain/issue-4125.js | 16 +- tests/method-chain/pr-7889.js | 11 + .../__snapshots__/jsfmt.spec.js.snap | 81 ++++++ .../print-width-120/constructor.js | 13 + .../print-width-120/issue-7884.js | 15 ++ .../print-width-120/jsfmt.spec.js | 1 + tests/method-chain/simple-args.js | 3 + 19 files changed, 582 insertions(+), 98 deletions(-) create mode 100644 changelog_unreleased/javascript/pr-7889.md create mode 100644 tests/method-chain/complex-args.js create mode 100644 tests/method-chain/cypress.js create mode 100644 tests/method-chain/fluent-configuration.js create mode 100644 tests/method-chain/issue-3594.js create mode 100644 tests/method-chain/issue-3621.js create mode 100644 tests/method-chain/pr-7889.js create mode 100644 tests/method-chain/print-width-120/__snapshots__/jsfmt.spec.js.snap create mode 100644 tests/method-chain/print-width-120/constructor.js create mode 100644 tests/method-chain/print-width-120/issue-7884.js create mode 100644 tests/method-chain/print-width-120/jsfmt.spec.js create mode 100644 tests/method-chain/simple-args.js diff --git a/changelog_unreleased/javascript/pr-7889.md b/changelog_unreleased/javascript/pr-7889.md new file mode 100644 index 0000000000..bb2ccb166f --- /dev/null +++ b/changelog_unreleased/javascript/pr-7889.md @@ -0,0 +1,23 @@ +#### Further improve method chain breaking heuristic ([#7889](https://github.com/prettier/prettier/pull/7889) by [@thorn0](https://github.com/thorn0)) + +A method chain now is always split onto multiple lines if: + +- it's an expression statement and all its arguments are literals or `UPPERCASE_CONSTANT`s (the "fluent configuration" pattern), +- any call but the first one has more than two arguments, or +- the chain starts with a constructor call. + + +```jsx +// Input +cy.get(".ready") + .should("have.text", "FOO") + .should("have.css", "color", "#aaa"); + +// Prettier stable +cy.get(".ready").should("have.text", "FOO").should("have.css", "color", "#aaa"); + +// Prettier master +cy.get(".ready") + .should("have.text", "FOO") + .should("have.css", "color", "#aaa"); +``` diff --git a/src/language-js/print/member-chain.js b/src/language-js/print/member-chain.js index ea231aa569..19c68cc270 100644 --- a/src/language-js/print/member-chain.js +++ b/src/language-js/print/member-chain.js @@ -1,5 +1,7 @@ "use strict"; +const flat = require("lodash/flatten"); + const comments = require("../../main/comments"); const { getLast } = require("../../common/util"); const { @@ -12,7 +14,7 @@ const { hasLeadingComment, hasTrailingComment, isCallOrOptionalCallExpression, - isFunctionOrArrowExpression, + isLiteralLikeValue, isLongCurriedCallExpression, isMemberish, isNumericLiteral, @@ -52,6 +54,10 @@ const { // MemberExpression and CallExpression. We need to traverse the AST // and make groups out of it to print it in the desired way. function printMemberChain(path, options, print) { + const parent = path.getParentNode(); + const isExpressionStatement = + !parent || parent.type === "ExpressionStatement"; + // The first phase is to linearize the AST by traversing it down. // // a().b() @@ -88,11 +94,8 @@ function printMemberChain(path, options, print) { function rec(path) { const node = path.getValue(); if ( - (node.type === "CallExpression" || - node.type === "OptionalCallExpression") && - (isMemberish(node.callee) || - node.callee.type === "CallExpression" || - node.callee.type === "OptionalCallExpression") + isCallOrOptionalCallExpression(node) && + (isMemberish(node.callee) || isCallOrOptionalCallExpression(node.callee)) ) { printedNodes.unshift({ node, @@ -183,8 +186,7 @@ function printMemberChain(path, options, print) { for (; i < printedNodes.length; ++i) { if ( printedNodes[i].node.type === "TSNonNullExpression" || - printedNodes[i].node.type === "OptionalCallExpression" || - printedNodes[i].node.type === "CallExpression" || + isCallOrOptionalCallExpression(printedNodes[i].node) || ((printedNodes[i].node.type === "MemberExpression" || printedNodes[i].node.type === "OptionalMemberExpression") && printedNodes[i].node.computed && @@ -195,10 +197,7 @@ function printMemberChain(path, options, print) { break; } } - if ( - printedNodes[0].node.type !== "CallExpression" && - printedNodes[0].node.type !== "OptionalCallExpression" - ) { + if (!isCallOrOptionalCallExpression(printedNodes[0].node)) { for (; i + 1 < printedNodes.length; ++i) { if ( isMemberish(printedNodes[i].node) && @@ -235,10 +234,7 @@ function printMemberChain(path, options, print) { hasSeenCallExpression = false; } - if ( - printedNodes[i].node.type === "CallExpression" || - printedNodes[i].node.type === "OptionalCallExpression" - ) { + if (isCallOrOptionalCallExpression(printedNodes[i].node)) { hasSeenCallExpression = true; } currentGroup.push(printedNodes[i]); @@ -284,8 +280,6 @@ function printMemberChain(path, options, print) { } function shouldNotWrap(groups) { - const parent = path.getParentNode(); - const isExpression = parent && parent.type === "ExpressionStatement"; const hasComputed = groups[1].length && groups[1][0].node.computed; if (groups[0].length === 1) { @@ -294,7 +288,7 @@ function printMemberChain(path, options, print) { firstNode.type === "ThisExpression" || (firstNode.type === "Identifier" && (isFactory(firstNode.name) || - (isExpression && isShort(firstNode.name)) || + (isExpressionStatement && isShort(firstNode.name)) || hasComputed)) ); } @@ -337,7 +331,7 @@ function printMemberChain(path, options, print) { const oneLine = concat(printedGroups); const cutoff = shouldMerge ? 3 : 2; - const flatGroups = groups.reduce((res, group) => res.concat(group), []); + const flatGroups = flat(groups); const hasComment = flatGroups.slice(1, -1).some((node) => hasLeadingComment(node.node)) || @@ -355,17 +349,14 @@ function printMemberChain(path, options, print) { // Find out the last node in the first group and check if it has an // empty line after - const lastNodeBeforeIndent = getLast( - shouldMerge ? groups.slice(1, 2)[0] : groups[0] - ).node; + const lastNodeBeforeIndent = getLast(groups[shouldMerge ? 1 : 0]).node; const shouldHaveEmptyLineBeforeIndent = - lastNodeBeforeIndent.type !== "CallExpression" && - lastNodeBeforeIndent.type !== "OptionalCallExpression" && + !isCallOrOptionalCallExpression(lastNodeBeforeIndent) && shouldInsertEmptyLineAfter(lastNodeBeforeIndent); const expanded = concat([ printGroup(groups[0]), - shouldMerge ? concat(groups.slice(1, 2).map(printGroup)) : "", + shouldMerge ? printGroup(groups[1]) : "", shouldHaveEmptyLineBeforeIndent ? hardline : "", printIndentedGroup(groups.slice(shouldMerge ? 2 : 1)), ]); @@ -374,31 +365,75 @@ function printMemberChain(path, options, print) { .map(({ node }) => node) .filter(isCallOrOptionalCallExpression); - // We don't want to print in one line if the chain has: - // * A comment. - // * Non-trivial arguments. - // * Any group but the last one has a hard line. - // If the last group is a function it's okay to inline if it fits. + function looksLikeFluentConfigurationPattern() { + if ( + isExpressionStatement && + callExpressions.length > 1 && + // Keep simple chains like this on one line: + // req.checkBody("name").notEmpty().optional(); + !( + callExpressions[0].arguments.length <= 1 && + callExpressions.slice(1).every((expr) => expr.arguments.length === 0) + ) + ) { + const allArgs = flat(callExpressions.map((expr) => expr.arguments)); + return allArgs.length > 0 && allArgs.every(isLiteralLikeValue); + } + return false; + } + + function callHasComplexArguments(expr, index) { + return ( + (index !== 0 && expr.arguments.length > 2) || + !expr.arguments.every((arg) => isSimpleCallArgument(arg, 0)) + ); + } + + /** + * If the last call's argument is a function, it's okay to inline if it fits and there is no other function arguments. + * + * This chain should be split: + * + * const mapped = scopes.filter(scope => scope.value !== '').map((scope, i) => { + * // multi line content + * }); + * + * This chain can be inlined: + * + * const mapped = scopes.filter(myFilter).map((scope, i) => { + * // multi line content + * }); + * + */ + function lastGroupWillBreakAndOtherCallsHaveComplexArguments() { + const lastGroupNode = getLast(getLast(groups)).node; + const lastGroupDoc = getLast(printedGroups); + return ( + isCallOrOptionalCallExpression(lastGroupNode) && + willBreak(lastGroupDoc) && + callExpressions.some( + (expr, index) => + index !== callExpressions.length - 1 && + callHasComplexArguments(expr, index) + ) + ); + } + + // We don't want to print in one line if at least one of these conditions occurs: + // * the chain has comments, + // * the head of the chain is a constructor call, + // * the chain is an expression statement and all the arguments are literal-like ("fluent configuration" pattern), + // * the chain is longer than 2 calls and has non-trivial arguments or more than 2 arguments in any call but the first one, + // * any group but the last one has a hard line, + // * the last call's arguments have a hard line and other calls have non-trivial arguments. if ( hasComment || + printedNodes[0].node.type === "NewExpression" || + looksLikeFluentConfigurationPattern() || (callExpressions.length > 2 && - callExpressions.some( - (expr) => !expr.arguments.every((arg) => isSimpleCallArgument(arg, 0)) - )) || + callExpressions.some(callHasComplexArguments)) || printedGroups.slice(0, -1).some(willBreak) || - /** - * scopes.filter(scope => scope.value !== '').map((scope, i) => { - * // multi line content - * }) - */ - (((lastGroupDoc, lastGroupNode) => - isCallOrOptionalCallExpression(lastGroupNode) && willBreak(lastGroupDoc))( - getLast(printedGroups), - getLast(getLast(groups)).node - ) && - callExpressions - .slice(0, -1) - .some((n) => n.arguments.some(isFunctionOrArrowExpression))) + lastGroupWillBreakAndOtherCallsHaveComplexArguments() ) { return group(expanded); } diff --git a/src/language-js/utils.js b/src/language-js/utils.js index 1f70467655..e827bdf463 100644 --- a/src/language-js/utils.js +++ b/src/language-js/utils.js @@ -145,6 +145,7 @@ function isLiteral(node) { node.type === "Literal" || node.type === "NullLiteral" || node.type === "NumericLiteral" || + node.type === "BigIntLiteral" || node.type === "RegExpLiteral" || node.type === "StringLiteral" || node.type === "TemplateLiteral" || @@ -153,6 +154,24 @@ function isLiteral(node) { ); } +function isLiteralLikeValue(node) { + return ( + isLiteral(node) || + (node.type === "Identifier" && /^[A-Z_]+$/.test(node.name)) || + (node.type === "ArrayExpression" && + node.elements.every( + (element) => element !== null && isLiteralLikeValue(element) + )) || + (node.type === "ObjectExpression" && + node.properties.every( + (property) => + !property.computed && + property.value && + isLiteralLikeValue(property.value) + )) + ); +} + function isNumericLiteral(node) { return ( node.type === "NumericLiteral" || @@ -918,10 +937,12 @@ function isLongCurriedCallExpression(path) { * @returns {boolean} */ function isSimpleCallArgument(node, depth) { - if (depth >= 2) { + if (depth >= 3) { return false; } - const isChildSimple = (child) => isSimpleCallArgument(child, depth + 1); + + const plusOne = (node) => isSimpleCallArgument(node, depth + 1); + const plusTwo = (node) => isSimpleCallArgument(node, depth + 2); const regexpPattern = (node.type === "Literal" && node.regex && node.regex.pattern) || @@ -933,60 +954,62 @@ function isSimpleCallArgument(node, depth) { if ( node.type === "Literal" || + node.type === "BigIntLiteral" || node.type === "BooleanLiteral" || node.type === "NullLiteral" || node.type === "NumericLiteral" || + node.type === "RegExpLiteral" || node.type === "StringLiteral" || node.type === "Identifier" || node.type === "ThisExpression" || node.type === "Super" || - node.type === "BigIntLiteral" || node.type === "PrivateName" || node.type === "ArgumentPlaceholder" || - node.type === "RegExpLiteral" || node.type === "Import" ) { return true; } + if (node.type === "TemplateLiteral") { - return node.expressions.every(isChildSimple); + return node.expressions.every(plusTwo); } + if (node.type === "ObjectExpression") { return node.properties.every( - (p) => !p.computed && (p.shorthand || (p.value && isChildSimple(p.value))) + (p) => !p.computed && (p.shorthand || (p.value && plusTwo(p.value))) ); } + if (node.type === "ArrayExpression") { - return node.elements.every((x) => x == null || isChildSimple(x)); + return node.elements.every((x) => x === null || plusTwo(x)); } + if ( node.type === "CallExpression" || node.type === "OptionalCallExpression" || node.type === "NewExpression" ) { - return ( - isSimpleCallArgument(node.callee, depth) && - node.arguments.every(isChildSimple) - ); + return plusOne(node.callee, depth) && node.arguments.every(plusTwo); } + if ( node.type === "MemberExpression" || node.type === "OptionalMemberExpression" ) { - return ( - isSimpleCallArgument(node.object, depth) && - isSimpleCallArgument(node.property, depth) - ); + return plusOne(node.object, depth) && plusOne(node.property, depth); } + if ( node.type === "UnaryExpression" && (node.operator === "!" || node.operator === "-") ) { - return isSimpleCallArgument(node.argument, depth); + return plusOne(node.argument, depth); } + if (node.type === "TSNonNullExpression") { - return isSimpleCallArgument(node.expression, depth); + return plusOne(node.expression, depth); } + return false; } @@ -1056,6 +1079,7 @@ module.exports = { isJSXWhitespaceExpression, isLastStatement, isLiteral, + isLiteralLikeValue, isLongCurriedCallExpression, isSimpleCallArgument, isMeaningfulJSXText, diff --git a/tests/arrays/__snapshots__/jsfmt.spec.js.snap b/tests/arrays/__snapshots__/jsfmt.spec.js.snap index 01a33e0eab..16d2562577 100644 --- a/tests/arrays/__snapshots__/jsfmt.spec.js.snap +++ b/tests/arrays/__snapshots__/jsfmt.spec.js.snap @@ -30,7 +30,10 @@ new Test() .test(); =====================================output===================================== -new Test().test().test([, 0]).test(); +new Test() + .test() + .test([, 0]) + .test(); ================================================================================ `; diff --git a/tests/flow/generators/__snapshots__/jsfmt.spec.js.snap b/tests/flow/generators/__snapshots__/jsfmt.spec.js.snap index ea64fd7f26..c3865f9a07 100644 --- a/tests/flow/generators/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/generators/__snapshots__/jsfmt.spec.js.snap @@ -245,9 +245,15 @@ if (typeof infer_stmt_next === "undefined") { (infer_stmt_next: boolean); // error: string ~> boolean } -examples.widen_next().next(0); -examples.widen_next().next(""); -examples.widen_next().next(true); +examples + .widen_next() + .next(0); +examples + .widen_next() + .next(""); +examples + .widen_next() + .next(true); for (var x of examples.widen_yield()) { if (typeof x === "number") { @@ -257,13 +263,17 @@ for (var x of examples.widen_yield()) { } } -examples.delegate_next_generator().next(""); +examples + .delegate_next_generator() + .next(""); for (var x of examples.delegate_yield_generator()) { (x: number); // error: string ~> number } -examples.delegate_next_iterable([]).next(""); // error: Iterator has no next value +examples + .delegate_next_iterable([]) + .next(""); // error: Iterator has no next value for (var x of examples.delegate_yield_iterable([])) { (x: string); // error: number ~> string diff --git a/tests/method-chain/__snapshots__/jsfmt.spec.js.snap b/tests/method-chain/__snapshots__/jsfmt.spec.js.snap index 078c2461c9..bf4897746a 100644 --- a/tests/method-chain/__snapshots__/jsfmt.spec.js.snap +++ b/tests/method-chain/__snapshots__/jsfmt.spec.js.snap @@ -400,6 +400,28 @@ angular ================================================================================ `; +exports[`complex-args.js format 1`] = ` +====================================options===================================== +parsers: ["flow", "typescript"] +printWidth: 80 + | printWidth +=====================================input====================================== +client.execute( + Post.selectAll() + .where(Post.id.eq(42)) + .where(Post.published.eq(true)) +); + +=====================================output===================================== +client.execute( + Post.selectAll() + .where(Post.id.eq(42)) + .where(Post.published.eq(true)) +); + +================================================================================ +`; + exports[`computed.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] @@ -533,6 +555,32 @@ object[ ================================================================================ `; +exports[`cypress.js format 1`] = ` +====================================options===================================== +parsers: ["flow", "typescript"] +printWidth: 80 + | printWidth +=====================================input====================================== +cy.get('option:first') + .should('be.selected') + .and('have.value', 'Metallica') + +cy.get(".ready") + .should("have.text", "FOO") + .should("have.css", "color", "#aaa"); + +=====================================output===================================== +cy.get("option:first") + .should("be.selected") + .and("have.value", "Metallica"); + +cy.get(".ready") + .should("have.text", "FOO") + .should("have.css", "color", "#aaa"); + +================================================================================ +`; + exports[`d3.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] @@ -544,7 +592,7 @@ d3.select('body') .at({ width: 30, fill: '#f0f' }) .st({ fontWeight: 600 }) -d3.scaleLinear() +const myScale = d3.scaleLinear() .domain([1950, 1980]) .range([0, width]) @@ -563,7 +611,7 @@ d3.select("body") .at({ width: 30, fill: "#f0f" }) .st({ fontWeight: 600 }); -d3.scaleLinear().domain([1950, 1980]).range([0, width]); +const myScale = d3.scaleLinear().domain([1950, 1980]).range([0, width]); not.d3 .select("body") @@ -655,6 +703,54 @@ function f() { ================================================================================ `; +exports[`fluent-configuration.js format 1`] = ` +====================================options===================================== +parsers: ["flow", "typescript"] +printWidth: 80 + | printWidth +=====================================input====================================== +domain + .concept('Page') + .val('title', 'string') + .vals('widgets', 'Widget') +domain + .concept('Widget') + .val('title', 'string') + .val('color', 'Color') + .val('foo', 'Foo') + .val('bar', 'Bar') +domain + .concept('Widget') + .val('title', 'string') + .val('color', 'Color') +domain + .concept(CONCEPT_NAME) + .val('title') + .vals() + +=====================================output===================================== +domain + .concept("Page") + .val("title", "string") + .vals("widgets", "Widget"); +domain + .concept("Widget") + .val("title", "string") + .val("color", "Color") + .val("foo", "Foo") + .val("bar", "Bar"); +domain + .concept("Widget") + .val("title", "string") + .val("color", "Color"); +domain + .concept(CONCEPT_NAME) + .val("title") + .vals(); + +================================================================================ +`; + exports[`inline_merge.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] @@ -700,6 +796,68 @@ var jqxhr = $.ajax("example.php").done(doneFn).fail(failFn); ================================================================================ `; +exports[`issue-3594.js format 1`] = ` +====================================options===================================== +parsers: ["flow", "typescript"] +printWidth: 80 + | printWidth +=====================================input====================================== +const fetched = fetch("/foo"); +fetched + .then(response => response.json()) + .then(json => processThings(json.data.things)); + +let column = new Column(null, conn) + .table(data.table) + .json(data.column); + +=====================================output===================================== +const fetched = fetch("/foo"); +fetched + .then((response) => response.json()) + .then((json) => processThings(json.data.things)); + +let column = new Column(null, conn) + .table(data.table) + .json(data.column); + +================================================================================ +`; + +exports[`issue-3621.js format 1`] = ` +====================================options===================================== +parsers: ["flow", "typescript"] +printWidth: 80 + | printWidth +=====================================input====================================== +const palindrome = str => { + const s = str.toLowerCase().replace(/[\\W_]/g, ''); + return s === s.split('').reverse().join(''); +}; + +const apiCurrencies = api().currencies().all() + +expect(cells.at(1).render().text()).toBe('link text1') +expect(cells.at(2).render().text()).toBe('link text2') +expect(cells.at(3).render().text()).toBe('link text3') +expect(cells.at(4).render().text()).toBe('link text4') + +=====================================output===================================== +const palindrome = (str) => { + const s = str.toLowerCase().replace(/[\\W_]/g, ""); + return s === s.split("").reverse().join(""); +}; + +const apiCurrencies = api().currencies().all(); + +expect(cells.at(1).render().text()).toBe("link text1"); +expect(cells.at(2).render().text()).toBe("link text2"); +expect(cells.at(3).render().text()).toBe("link text3"); +expect(cells.at(4).render().text()).toBe("link text4"); + +================================================================================ +`; + exports[`issue-4125.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] @@ -716,8 +874,8 @@ req.checkBody('name').notEmpty().optional(); const x = moment().add(1, 'day').valueOf() // should stay on one line: -obj.foo(1).foo(2).foo(3); -obj.foo(-1).foo(import('2')).foo(!x).check(/[A-Z]/); +const y = obj.foo(1).foo(2).foo(3); +const z = obj.foo(-1).foo(import('2')).foo(!x).check(/[A-Z]/); // better on multiple lines: somePromise.then(format).then((val)=>doSomething(val)).catch((err)=>handleError(err)) @@ -771,7 +929,7 @@ db.branch( sandbox.stub(config, 'get').withArgs('env').returns('dev') -moment.utc(userInput).hour(0).minute(0).second(0) +const date = moment.utc(userInput).hour(0).minute(0).second(0) fetchUser(id) .then(fetchAccountForUser) @@ -833,13 +991,13 @@ it('gets triggered by mouseenter', () => { wrapper.dive().find(Button).prop(); }); -x.a(true).b(null).c(123) -x.d('').e(\`\`).f(g) -x.d('').e(\`\${123}\`).f(g) -x.h(i.j).k(l()).m([n, o]) +const a1 = x.a(true).b(null).c(123) +const a2 = x.d('').e(\`\`).f(g) +const a3 = x.d('').e(\`\${123}\`).f(g) +const a4 = x.h(i.j).k(l()).m([n, o]) class X { y() { - x.a(this).b(super.cde()).f(/g/).h(new i()).j() + const j = x.a(this).b(super.cde()).f(/g/).h(new i()).j(); } } @@ -867,8 +1025,8 @@ req.checkBody("name").notEmpty().optional(); const x = moment().add(1, "day").valueOf(); // should stay on one line: -obj.foo(1).foo(2).foo(3); -obj.foo(-1).foo(import("2")).foo(!x).check(/[A-Z]/); +const y = obj.foo(1).foo(2).foo(3); +const z = obj.foo(-1).foo(import("2")).foo(!x).check(/[A-Z]/); // better on multiple lines: somePromise @@ -916,7 +1074,11 @@ Object.keys(props) return a; }, {}); -point().x(4).y(3).z(6).plot(); +point() + .x(4) + .y(3) + .z(6) + .plot(); assert.equal(this.$().text().trim(), "1000"); @@ -933,7 +1095,7 @@ db.branch( sandbox.stub(config, "get").withArgs("env").returns("dev"); -moment.utc(userInput).hour(0).minute(0).second(0); +const date = moment.utc(userInput).hour(0).minute(0).second(0); fetchUser(id).then(fetchAccountForUser).catch(handleFetchError); @@ -994,13 +1156,13 @@ it("gets triggered by mouseenter", () => { wrapper.dive().find(Button).prop(); }); -x.a(true).b(null).c(123); -x.d("").e(\`\`).f(g); -x.d("").e(\`\${123}\`).f(g); -x.h(i.j).k(l()).m([n, o]); +const a1 = x.a(true).b(null).c(123); +const a2 = x.d("").e(\`\`).f(g); +const a3 = x.d("").e(\`\${123}\`).f(g); +const a4 = x.h(i.j).k(l()).m([n, o]); class X { y() { - x.a(this).b(super.cde()).f(/g/).h(new i()).j(); + const j = x.a(this).b(super.cde()).f(/g/).h(new i()).j(); } } @@ -1218,6 +1380,42 @@ of("test") ================================================================================ `; +exports[`pr-7889.js format 1`] = ` +====================================options===================================== +parsers: ["flow", "typescript"] +printWidth: 80 + | printWidth +=====================================input====================================== +const Profile = view.with({ name: (state) => state.name }).as((props) => ( +

    +)) + +const Profile2 = view.with({ name }).as((props) => ( +
    +

    Hello, {props.name}

    +
    +)) + +=====================================output===================================== +const Profile = view + .with({ name: (state) => state.name }) + .as((props) => ( +
    +

    Hello, {props.name}

    +
    + )); + +const Profile2 = view.with({ name }).as((props) => ( +
    +

    Hello, {props.name}

    +
    +)); + +================================================================================ +`; + exports[`short-names.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] @@ -1238,6 +1436,24 @@ const svgJsFiles = fs ================================================================================ `; +exports[`simple-args.js format 1`] = ` +====================================options===================================== +parsers: ["flow", "typescript"] +printWidth: 80 + | printWidth +=====================================input====================================== +const fieldsToSend = _(["id", extra]).without("transition").uniq(); + +console.log(values.filter(isValid).map(extractId).slice(-5, -1)); + +=====================================output===================================== +const fieldsToSend = _(["id", extra]).without("transition").uniq(); + +console.log(values.filter(isValid).map(extractId).slice(-5, -1)); + +================================================================================ +`; + exports[`square_0.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] diff --git a/tests/method-chain/complex-args.js b/tests/method-chain/complex-args.js new file mode 100644 index 0000000000..e895707a1d --- /dev/null +++ b/tests/method-chain/complex-args.js @@ -0,0 +1,5 @@ +client.execute( + Post.selectAll() + .where(Post.id.eq(42)) + .where(Post.published.eq(true)) +); diff --git a/tests/method-chain/cypress.js b/tests/method-chain/cypress.js new file mode 100644 index 0000000000..6d78327efd --- /dev/null +++ b/tests/method-chain/cypress.js @@ -0,0 +1,7 @@ +cy.get('option:first') + .should('be.selected') + .and('have.value', 'Metallica') + +cy.get(".ready") + .should("have.text", "FOO") + .should("have.css", "color", "#aaa"); diff --git a/tests/method-chain/d3.js b/tests/method-chain/d3.js index db2aa15c3d..e2d860fba4 100644 --- a/tests/method-chain/d3.js +++ b/tests/method-chain/d3.js @@ -3,7 +3,7 @@ d3.select('body') .at({ width: 30, fill: '#f0f' }) .st({ fontWeight: 600 }) -d3.scaleLinear() +const myScale = d3.scaleLinear() .domain([1950, 1980]) .range([0, width]) diff --git a/tests/method-chain/fluent-configuration.js b/tests/method-chain/fluent-configuration.js new file mode 100644 index 0000000000..dd42c18f88 --- /dev/null +++ b/tests/method-chain/fluent-configuration.js @@ -0,0 +1,18 @@ +domain + .concept('Page') + .val('title', 'string') + .vals('widgets', 'Widget') +domain + .concept('Widget') + .val('title', 'string') + .val('color', 'Color') + .val('foo', 'Foo') + .val('bar', 'Bar') +domain + .concept('Widget') + .val('title', 'string') + .val('color', 'Color') +domain + .concept(CONCEPT_NAME) + .val('title') + .vals() diff --git a/tests/method-chain/issue-3594.js b/tests/method-chain/issue-3594.js new file mode 100644 index 0000000000..d77bb952c9 --- /dev/null +++ b/tests/method-chain/issue-3594.js @@ -0,0 +1,8 @@ +const fetched = fetch("/foo"); +fetched + .then(response => response.json()) + .then(json => processThings(json.data.things)); + +let column = new Column(null, conn) + .table(data.table) + .json(data.column); diff --git a/tests/method-chain/issue-3621.js b/tests/method-chain/issue-3621.js new file mode 100644 index 0000000000..7ccdc33cdb --- /dev/null +++ b/tests/method-chain/issue-3621.js @@ -0,0 +1,11 @@ +const palindrome = str => { + const s = str.toLowerCase().replace(/[\W_]/g, ''); + return s === s.split('').reverse().join(''); +}; + +const apiCurrencies = api().currencies().all() + +expect(cells.at(1).render().text()).toBe('link text1') +expect(cells.at(2).render().text()).toBe('link text2') +expect(cells.at(3).render().text()).toBe('link text3') +expect(cells.at(4).render().text()).toBe('link text4') diff --git a/tests/method-chain/issue-4125.js b/tests/method-chain/issue-4125.js index 0f755ba123..b24096721e 100644 --- a/tests/method-chain/issue-4125.js +++ b/tests/method-chain/issue-4125.js @@ -8,8 +8,8 @@ req.checkBody('name').notEmpty().optional(); const x = moment().add(1, 'day').valueOf() // should stay on one line: -obj.foo(1).foo(2).foo(3); -obj.foo(-1).foo(import('2')).foo(!x).check(/[A-Z]/); +const y = obj.foo(1).foo(2).foo(3); +const z = obj.foo(-1).foo(import('2')).foo(!x).check(/[A-Z]/); // better on multiple lines: somePromise.then(format).then((val)=>doSomething(val)).catch((err)=>handleError(err)) @@ -63,7 +63,7 @@ db.branch( sandbox.stub(config, 'get').withArgs('env').returns('dev') -moment.utc(userInput).hour(0).minute(0).second(0) +const date = moment.utc(userInput).hour(0).minute(0).second(0) fetchUser(id) .then(fetchAccountForUser) @@ -125,13 +125,13 @@ it('gets triggered by mouseenter', () => { wrapper.dive().find(Button).prop(); }); -x.a(true).b(null).c(123) -x.d('').e(``).f(g) -x.d('').e(`${123}`).f(g) -x.h(i.j).k(l()).m([n, o]) +const a1 = x.a(true).b(null).c(123) +const a2 = x.d('').e(``).f(g) +const a3 = x.d('').e(`${123}`).f(g) +const a4 = x.h(i.j).k(l()).m([n, o]) class X { y() { - x.a(this).b(super.cde()).f(/g/).h(new i()).j() + const j = x.a(this).b(super.cde()).f(/g/).h(new i()).j(); } } diff --git a/tests/method-chain/pr-7889.js b/tests/method-chain/pr-7889.js new file mode 100644 index 0000000000..352d4af66c --- /dev/null +++ b/tests/method-chain/pr-7889.js @@ -0,0 +1,11 @@ +const Profile = view.with({ name: (state) => state.name }).as((props) => ( +
    +

    Hello, {props.name}

    +
    +)) + +const Profile2 = view.with({ name }).as((props) => ( +
    +

    Hello, {props.name}

    +
    +)) diff --git a/tests/method-chain/print-width-120/__snapshots__/jsfmt.spec.js.snap b/tests/method-chain/print-width-120/__snapshots__/jsfmt.spec.js.snap new file mode 100644 index 0000000000..aaef421aab --- /dev/null +++ b/tests/method-chain/print-width-120/__snapshots__/jsfmt.spec.js.snap @@ -0,0 +1,81 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`constructor.js format 1`] = ` +====================================options===================================== +parsers: ["babel", "flow", "typescript"] +printWidth: 120 + | printWidth +=====================================input====================================== +const writer = new BufferStackItem( + new BinaryWriter() + .writeUInt8(StackItemType.ByteArray) + .writeVarBytesLE(Buffer.alloc(10, 1)) + .toBuffer(), +); + +const writer = new BufferStackItem( + new Extra.BinaryWriter() + .writeUInt8(StackItemType.ByteArray) + .writeVarBytesLE(Buffer.alloc(10, 1)) + .toBuffer(), +); + +=====================================output===================================== +const writer = new BufferStackItem( + new BinaryWriter() + .writeUInt8(StackItemType.ByteArray) + .writeVarBytesLE(Buffer.alloc(10, 1)) + .toBuffer() +); + +const writer = new BufferStackItem( + new Extra.BinaryWriter() + .writeUInt8(StackItemType.ByteArray) + .writeVarBytesLE(Buffer.alloc(10, 1)) + .toBuffer() +); + +================================================================================ +`; + +exports[`issue-7884.js format 1`] = ` +====================================options===================================== +parsers: ["babel", "flow", "typescript"] +printWidth: 120 + | printWidth +=====================================input====================================== + cy.get(".ready") + .should("have.text", "READY") + .should("have.css", "background-color", "rgb(136, 228, 229)"); + cy.get(".pending") + .should("have.text", "PENDING") + .should("have.css", "background-color", "rgb(253, 212, 90)"); + cy.get(".live") + .should("have.text", "LIVE") + .should("have.css", "background-color", "rgb(175, 221, 255)"); + cy.get(".draft") + .should("have.text", "DRAFT") + .should("have.css", "background-color", "rgb(255, 181, 181)"); + cy.get(".scheduled") + .should("have.text", "SCHEDULED") + .should("have.css", "background-color", "rgb(222, 222, 222)"); + +=====================================output===================================== +cy.get(".ready") + .should("have.text", "READY") + .should("have.css", "background-color", "rgb(136, 228, 229)"); +cy.get(".pending") + .should("have.text", "PENDING") + .should("have.css", "background-color", "rgb(253, 212, 90)"); +cy.get(".live") + .should("have.text", "LIVE") + .should("have.css", "background-color", "rgb(175, 221, 255)"); +cy.get(".draft") + .should("have.text", "DRAFT") + .should("have.css", "background-color", "rgb(255, 181, 181)"); +cy.get(".scheduled") + .should("have.text", "SCHEDULED") + .should("have.css", "background-color", "rgb(222, 222, 222)"); + +================================================================================ +`; diff --git a/tests/method-chain/print-width-120/constructor.js b/tests/method-chain/print-width-120/constructor.js new file mode 100644 index 0000000000..9cbdbceca9 --- /dev/null +++ b/tests/method-chain/print-width-120/constructor.js @@ -0,0 +1,13 @@ +const writer = new BufferStackItem( + new BinaryWriter() + .writeUInt8(StackItemType.ByteArray) + .writeVarBytesLE(Buffer.alloc(10, 1)) + .toBuffer(), +); + +const writer = new BufferStackItem( + new Extra.BinaryWriter() + .writeUInt8(StackItemType.ByteArray) + .writeVarBytesLE(Buffer.alloc(10, 1)) + .toBuffer(), +); diff --git a/tests/method-chain/print-width-120/issue-7884.js b/tests/method-chain/print-width-120/issue-7884.js new file mode 100644 index 0000000000..dabe0440d1 --- /dev/null +++ b/tests/method-chain/print-width-120/issue-7884.js @@ -0,0 +1,15 @@ + cy.get(".ready") + .should("have.text", "READY") + .should("have.css", "background-color", "rgb(136, 228, 229)"); + cy.get(".pending") + .should("have.text", "PENDING") + .should("have.css", "background-color", "rgb(253, 212, 90)"); + cy.get(".live") + .should("have.text", "LIVE") + .should("have.css", "background-color", "rgb(175, 221, 255)"); + cy.get(".draft") + .should("have.text", "DRAFT") + .should("have.css", "background-color", "rgb(255, 181, 181)"); + cy.get(".scheduled") + .should("have.text", "SCHEDULED") + .should("have.css", "background-color", "rgb(222, 222, 222)"); diff --git a/tests/method-chain/print-width-120/jsfmt.spec.js b/tests/method-chain/print-width-120/jsfmt.spec.js new file mode 100644 index 0000000000..45e42ddd02 --- /dev/null +++ b/tests/method-chain/print-width-120/jsfmt.spec.js @@ -0,0 +1 @@ +run_spec(__dirname, ["babel", "flow", "typescript"], { printWidth: 120 }); diff --git a/tests/method-chain/simple-args.js b/tests/method-chain/simple-args.js new file mode 100644 index 0000000000..3bc8ade5b7 --- /dev/null +++ b/tests/method-chain/simple-args.js @@ -0,0 +1,3 @@ +const fieldsToSend = _(["id", extra]).without("transition").uniq(); + +console.log(values.filter(isValid).map(extractId).slice(-5, -1)); From 673f4b02e5f6e09cea2756e2b59dde748cbe6e6f Mon Sep 17 00:00:00 2001 From: Georgii Dolzhykov Date: Tue, 7 Apr 2020 12:33:02 +0300 Subject: [PATCH 0066/2034] add --embedded-language-formatting to playground --- website/playground/Playground.js | 1 + 1 file changed, 1 insertion(+) diff --git a/website/playground/Playground.js b/website/playground/Playground.js index 4f9a9b00de..4ea8018c23 100644 --- a/website/playground/Playground.js +++ b/website/playground/Playground.js @@ -41,6 +41,7 @@ const ENABLED_OPTIONS = [ "insertPragma", "requirePragma", "vueIndentScriptAndStyle", + "embeddedLanguageFormatting", ]; const ISSUES_URL = "https://github.com/prettier/prettier/issues/new?body="; const MAX_LENGTH = 8000 - ISSUES_URL.length; // it seems that GitHub limit is 8195 From 7b7ca476d275fde9fd58771ff6ca09df6b5d7a86 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2020 13:46:14 +0300 Subject: [PATCH 0067/2034] Bump @glimmer/syntax from 0.50.2 to 0.50.3 (#8064) Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.50.2 to 0.50.3. - [Release notes](https://github.com/glimmerjs/glimmer-vm/releases) - [Changelog](https://github.com/glimmerjs/glimmer-vm/blob/master/CHANGELOG.md) - [Commits](https://github.com/glimmerjs/glimmer-vm/compare/v0.50.2...v0.50.3) Signed-off-by: dependabot-preview[bot] Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 64 +++++++++++++++++++++------------------------------- 2 files changed, 27 insertions(+), 39 deletions(-) diff --git a/package.json b/package.json index 40a9f6e28f..0e018a231a 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "@angular/compiler": "9.0.5", "@babel/code-frame": "7.8.3", "@babel/parser": "7.9.4", - "@glimmer/syntax": "0.50.2", + "@glimmer/syntax": "0.50.3", "@iarna/toml": "2.2.3", "@typescript-eslint/typescript-estree": "2.27.0", "angular-estree-parser": "1.3.0", diff --git a/yarn.lock b/yarn.lock index 333476bc5c..284c52e271 100644 --- a/yarn.lock +++ b/yarn.lock @@ -802,30 +802,30 @@ resolved "https://registry.yarnpkg.com/@glimmer/env/-/env-0.1.7.tgz#fd2d2b55a9029c6b37a6c935e8c8871ae70dfa07" integrity sha1-/S0rVakCnGs3psk16MiHGucN+gc= -"@glimmer/interfaces@^0.50.2": - version "0.50.2" - resolved "https://registry.yarnpkg.com/@glimmer/interfaces/-/interfaces-0.50.2.tgz#5637beb45242b9c23b1b82b404ad085f1827ce16" - integrity sha512-SbrEspWDHQ6j0DI0inYpg29SMlfEEUS895apZWxMzC2RyGHy5SKmZJ4xjishaq7A0E1AaTfDKYnE/wfWrQZSsw== +"@glimmer/interfaces@^0.50.3": + version "0.50.3" + resolved "https://registry.yarnpkg.com/@glimmer/interfaces/-/interfaces-0.50.3.tgz#e7b2d9bf937a568d05b0a2822e70582e3db591bc" + integrity sha512-7Afbv+oGO8v2MQQXMCsy8d4fhEPka5U6gR20+p7+XPIjcIZmX8DpMK0qOZgLvBDpKuOj0TMHIx5cr44NL1ypJQ== dependencies: "@simple-dom/interface" "^1.4.0" -"@glimmer/syntax@0.50.2": - version "0.50.2" - resolved "https://registry.yarnpkg.com/@glimmer/syntax/-/syntax-0.50.2.tgz#e69731df2fb9069d30469c700eb9bae79e51c257" - integrity sha512-kmMZK4bN674sUhphLuads1RQNm3pzEuNcW7SHQiDJJz3zDsMFQ69YPtgYBrpJZtPgF6Oj/QgwUcD0d+ql5/cpw== +"@glimmer/syntax@0.50.3": + version "0.50.3" + resolved "https://registry.yarnpkg.com/@glimmer/syntax/-/syntax-0.50.3.tgz#8cde8fe8a9186bba424549c3d50c03a805a22933" + integrity sha512-I9IsbnzmWHLq1aboPcwZ3vjcAVbspSF8Qkn2xqhjOIRjtNkTLHmsOe7ZVQLmk+4H2X7msdM9RyqtnvEheWW7Ig== dependencies: - "@glimmer/interfaces" "^0.50.2" - "@glimmer/util" "^0.50.2" - handlebars "^4.5.1" + "@glimmer/interfaces" "^0.50.3" + "@glimmer/util" "^0.50.3" + handlebars "^4.7.4" simple-html-tokenizer "^0.5.9" -"@glimmer/util@^0.50.2": - version "0.50.2" - resolved "https://registry.yarnpkg.com/@glimmer/util/-/util-0.50.2.tgz#1519064c2722143871964a183ceb825b5c24f5d3" - integrity sha512-FG3gWONYZWUBwZojvuYdPALu6DWKzc2QGBzb6zBgY5vO2otAqLsi8WlfGP8ekkFsEHUtlPGeUAOqr+lSox+DQw== +"@glimmer/util@^0.50.3": + version "0.50.3" + resolved "https://registry.yarnpkg.com/@glimmer/util/-/util-0.50.3.tgz#aaa5327c42944d320ccfa67b186ebfe0bcf690e8" + integrity sha512-ZsiOIAfqksnRCFOC3NKzWWUk+8WhjdSgkSc1suLLnslTtoHGU5PTucQpugANOzUNjo43hi1A44z/bWqDt86ugQ== dependencies: "@glimmer/env" "0.1.7" - "@glimmer/interfaces" "^0.50.2" + "@glimmer/interfaces" "^0.50.3" "@simple-dom/interface" "^1.4.0" "@iarna/toml@2.2.3": @@ -3787,14 +3787,15 @@ growly@^1.3.0: resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" integrity sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE= -handlebars@^4.5.1: - version "4.7.2" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.2.tgz#01127b3840156a0927058779482031afe0e730d7" - integrity sha512-4PwqDL2laXtTWZghzzCtunQUTLbo31pcCJrd/B/9JP8XbhVzpS5ZXuKqlOzsd1rtcaLo4KqAn8nl8mkknS4MHw== +handlebars@^4.7.4: + version "4.7.6" + resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.6.tgz#d4c05c1baf90e9945f77aa68a7a219aa4a7df74e" + integrity sha512-1f2BACcBfiwAfStCKZNrUCgqNZkGsAT7UM3kkYtXuLo0KnaVfjKOyf7PRzB6++aK9STyT1Pd2ZCPe3EGOXleXA== dependencies: + minimist "^1.2.5" neo-async "^2.6.0" - optimist "^0.6.1" source-map "^0.6.1" + wordwrap "^1.0.0" optionalDependencies: uglify-js "^3.1.4" @@ -5312,11 +5313,6 @@ minimist@1.2.5, minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.5: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== -minimist@~0.0.1: - version "0.0.10" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" - integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8= - minipass-collect@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" @@ -5650,14 +5646,6 @@ onetime@^5.1.0: dependencies: mimic-fn "^2.1.0" -optimist@^0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" - integrity sha1-2j6nRob6IaGaERwybpDrFaAZZoY= - dependencies: - minimist "~0.0.1" - wordwrap "~0.0.2" - optionator@^0.8.1, optionator@^0.8.3: version "0.8.3" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" @@ -7886,10 +7874,10 @@ word-wrap@~1.2.3: resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== -wordwrap@~0.0.2: - version "0.0.3" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" - integrity sha1-o9XabNXAvAAI03I0u68b7WMFkQc= +wordwrap@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" + integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus= worker-farm@^1.7.0: version "1.7.0" From 915327d61d3da3a9d8cd8b3010d6fce7ef49ae85 Mon Sep 17 00:00:00 2001 From: Sosuke Suzuki Date: Fri, 17 Apr 2020 07:54:24 +0900 Subject: [PATCH 0068/2034] Vue: Support custom blocks (#8023) * Support Vue Custom Block * Add changelog * Udpate snapshots * Support "type" for json * Remove guessing languages * Modify to reuse inferScriptParser logic * Implement withInnerParts arg for stripTrailingHardline * Rename isVueCustomBlock * Set `verbose: true` * Use getParserName * Ignore vueIndentScriptAndStyle * tmp * Fix formatting * Add tests * Fix by lint * Revert "Set `verbose: true`" This reverts commit f65c7cd7d814d3149aadbeb3cfd00c5372887c33. * loop with i-- * Modify to preserve unknown langauge * Support embeddedLanguageFormatting * Fix by lint * Fix mistake * Modify to preserve unknown lang * Remove unnecesary condition * Add error tests Co-authored-by: fisker Cheung --- changelog_unreleased/vue/pr-8023.md | 27 + src/common/util.js | 18 + src/document/doc-utils.js | 20 +- src/language-html/preprocess.js | 12 +- src/language-html/printer-html.js | 23 +- src/language-html/utils.js | 141 +- src/language-markdown/embed.js | 19 +- .../vue/__snapshots__/jsfmt.spec.js.snap | 55 + tests/errors/vue/custom_block.vue | 3 + tests/errors/vue/jsfmt.spec.js | 6 + .../__snapshots__/jsfmt.spec.js.snap | 1513 +++++++++++++++++ tests/html_vue_custom_block/graphql.vue | 11 + tests/html_vue_custom_block/handlebars.vue | 3 + tests/html_vue_custom_block/jsfmt.spec.js | 5 + tests/html_vue_custom_block/json.vue | 34 + .../html_vue_custom_block/lang-attribute.vue | 4 + tests/html_vue_custom_block/markdown.vue | 23 + tests/html_vue_custom_block/unknown.vue | 25 + tests/html_vue_custom_block/yaml.vue | 6 + 19 files changed, 1860 insertions(+), 88 deletions(-) create mode 100644 changelog_unreleased/vue/pr-8023.md create mode 100644 tests/errors/vue/__snapshots__/jsfmt.spec.js.snap create mode 100644 tests/errors/vue/custom_block.vue create mode 100644 tests/errors/vue/jsfmt.spec.js create mode 100644 tests/html_vue_custom_block/__snapshots__/jsfmt.spec.js.snap create mode 100644 tests/html_vue_custom_block/graphql.vue create mode 100644 tests/html_vue_custom_block/handlebars.vue create mode 100644 tests/html_vue_custom_block/jsfmt.spec.js create mode 100644 tests/html_vue_custom_block/json.vue create mode 100644 tests/html_vue_custom_block/lang-attribute.vue create mode 100644 tests/html_vue_custom_block/markdown.vue create mode 100644 tests/html_vue_custom_block/unknown.vue create mode 100644 tests/html_vue_custom_block/yaml.vue diff --git a/changelog_unreleased/vue/pr-8023.md b/changelog_unreleased/vue/pr-8023.md new file mode 100644 index 0000000000..894a931245 --- /dev/null +++ b/changelog_unreleased/vue/pr-8023.md @@ -0,0 +1,27 @@ +#### Support custom blocks ([#8023](https://github.com/prettier/prettier/pull/8023) by [@sosukesuzuki](https://github.com/sosukesuzuki)) + +Support [vue-loader custom blocks](https://vue-loader.vuejs.org/guide/custom-blocks.html) in SFC with `lang` attribute. + + +```html + + +{ + "foo": +"bar"} + + + + +{ + "foo": +"bar"} + + + + +{ + "foo": "bar" +} + +``` diff --git a/src/common/util.js b/src/common/util.js index 0de284663e..f398e76e77 100644 --- a/src/common/util.js +++ b/src/common/util.js @@ -3,6 +3,7 @@ const stringWidth = require("string-width"); const escapeStringRegexp = require("escape-string-regexp"); const getLast = require("../utils/get-last"); +const support = require("../main/support"); // eslint-disable-next-line no-control-regex const notAsciiRegex = /[^\x20-\x7F]/; @@ -820,6 +821,22 @@ function replaceEndOfLineWith(text, replacement) { return parts; } +function getParserName(lang, options) { + const supportInfo = support.getSupportInfo({ plugins: options.plugins }); + const language = supportInfo.languages.find( + (language) => + language.name.toLowerCase() === lang || + (language.aliases && language.aliases.includes(lang)) || + (language.extensions && + language.extensions.find((ext) => ext === `.${lang}`)) + ); + if (language) { + return language.parsers[0]; + } + + return null; +} + module.exports = { replaceEndOfLineWith, getStringWidth, @@ -828,6 +845,7 @@ module.exports = { getPrecedence, shouldFlatten, isBitwiseOperator, + getParserName, getPenultimate, getLast, getNextNonSpaceNonCommentCharacterIndexWithStartIndex, diff --git a/src/document/doc-utils.js b/src/document/doc-utils.js index 27afc174bb..70e824d9c2 100644 --- a/src/document/doc-utils.js +++ b/src/document/doc-utils.js @@ -182,17 +182,31 @@ function removeLines(doc) { return mapDoc(doc, removeLinesFn); } -function stripTrailingHardline(doc) { +function getInnerParts(doc) { + let { parts } = doc; + let lastPart; + // Avoid a falsy element like "" + for (let i = doc.parts.length; i > 0 && !lastPart; i--) { + lastPart = parts[i - 1]; + } + if (lastPart.type === "group") { + parts = lastPart.contents.parts; + } + return parts; +} + +function stripTrailingHardline(doc, withInnerParts = false) { // HACK remove ending hardline, original PR: #1984 if (doc.type === "concat" && doc.parts.length !== 0) { - const lastPart = doc.parts[doc.parts.length - 1]; + const parts = withInnerParts ? getInnerParts(doc) : doc.parts; + const lastPart = parts[parts.length - 1]; if (lastPart.type === "concat") { if ( lastPart.parts.length === 2 && lastPart.parts[0].hard && lastPart.parts[1].type === "break-parent" ) { - return { type: "concat", parts: doc.parts.slice(0, -1) }; + return { type: "concat", parts: parts.slice(0, -1) }; } return { diff --git a/src/language-html/preprocess.js b/src/language-html/preprocess.js index 956b82d43f..81305da692 100644 --- a/src/language-html/preprocess.js +++ b/src/language-html/preprocess.js @@ -426,7 +426,7 @@ function addCssDisplay(ast, options) { * - add `isTrailingSpaceSensitive` field * - add `isDanglingSpaceSensitive` field for parent nodes */ -function addIsSpaceSensitive(ast /*, options */) { +function addIsSpaceSensitive(ast, options) { return ast.map((node) => { if (!node.children) { return node; @@ -443,8 +443,14 @@ function addIsSpaceSensitive(ast /*, options */) { .map((child) => { return { ...child, - isLeadingSpaceSensitive: isLeadingSpaceSensitiveNode(child), - isTrailingSpaceSensitive: isTrailingSpaceSensitiveNode(child), + isLeadingSpaceSensitive: isLeadingSpaceSensitiveNode( + child, + options + ), + isTrailingSpaceSensitive: isTrailingSpaceSensitiveNode( + child, + options + ), }; }) .map((child, index, children) => ({ diff --git a/src/language-html/printer-html.js b/src/language-html/printer-html.js index 8baaaff21d..7479997e67 100644 --- a/src/language-html/printer-html.js +++ b/src/language-html/printer-html.js @@ -30,6 +30,7 @@ const { getPrettierIgnoreAttributeCommentData, hasPrettierIgnore, inferScriptParser, + isVueCustomBlock, isScriptLikeTag, isTextLikeNode, normalizeParts, @@ -98,6 +99,25 @@ function embed(path, print, textToDoc, options) { ? " " : line, ]); + } else if (isVueCustomBlock(node.parent, options)) { + const parser = inferScriptParser(node.parent, options); + let printed; + if (parser) { + try { + printed = textToDoc(node.value, { parser }); + } catch (error) { + // Do nothing + } + } + if (printed == null) { + printed = node.value; + } + return concat([ + parser ? breakParent : "", + printOpeningTagPrefix(node), + stripTrailingHardline(printed, true), + printClosingTagSuffix(node), + ]); } break; } @@ -225,7 +245,8 @@ function genericPrint(path, options, print) { ? ifBreak(indent(childrenDoc), childrenDoc, { groupId: attrGroupId, }) - : isScriptLikeTag(node) && + : (isScriptLikeTag(node) || + isVueCustomBlock(node, options)) && node.parent.type === "root" && options.parser === "vue" && !options.vueIndentScriptAndStyle diff --git a/src/language-html/utils.js b/src/language-html/utils.js index 01e9ecd5fb..04df58f859 100644 --- a/src/language-html/utils.js +++ b/src/language-html/utils.js @@ -6,6 +6,7 @@ const { CSS_WHITE_SPACE_TAGS, CSS_WHITE_SPACE_DEFAULT, } = require("./constants.evaluate"); +const { getParserName } = require("../common/util"); const htmlTagNames = require("html-tag-names"); const htmlElementAttributes = require("html-element-attributes"); @@ -60,23 +61,6 @@ function shouldPreserveContent(node, options) { return true; } - // top-level elements (excluding
    ; // Error: Props<{id:st ================================================================================ `; -exports[`strings.js 1`] = ` +exports[`strings.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/jsx_intrinsics.custom/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/jsx_intrinsics.custom/lib/__snapshots__/jsfmt.spec.js.snap index 6bab10bb3e..6b5e41accb 100644 --- a/tests/flow/jsx_intrinsics.custom/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/jsx_intrinsics.custom/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`jsx.js 1`] = ` +exports[`jsx.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/keys/__snapshots__/jsfmt.spec.js.snap b/tests/flow/keys/__snapshots__/jsfmt.spec.js.snap index df2a37a930..311cd839dd 100644 --- a/tests/flow/keys/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/keys/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`keys.js 1`] = ` +exports[`keys.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/keyvalue/__snapshots__/jsfmt.spec.js.snap b/tests/flow/keyvalue/__snapshots__/jsfmt.spec.js.snap index 63527c0d90..38bcca2489 100644 --- a/tests/flow/keyvalue/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/keyvalue/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`keyvalue.js 1`] = ` +exports[`keyvalue.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/last_duplicate_property_wins/__snapshots__/jsfmt.spec.js.snap b/tests/flow/last_duplicate_property_wins/__snapshots__/jsfmt.spec.js.snap index 0307f81c16..534f14cb49 100644 --- a/tests/flow/last_duplicate_property_wins/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/last_duplicate_property_wins/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/lib/__snapshots__/jsfmt.spec.js.snap index ee0ffdec5d..0d6d2859d3 100644 --- a/tests/flow/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`libtest.js 1`] = ` +exports[`libtest.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/lib_interfaces/declarations/__snapshots__/jsfmt.spec.js.snap b/tests/flow/lib_interfaces/declarations/__snapshots__/jsfmt.spec.js.snap index d1d116f14e..c1ab1b7602 100644 --- a/tests/flow/lib_interfaces/declarations/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/lib_interfaces/declarations/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`underscore.js 1`] = ` +exports[`underscore.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/libconfig/__snapshots__/jsfmt.spec.js.snap b/tests/flow/libconfig/__snapshots__/jsfmt.spec.js.snap index eaeb48c8b7..4b73a8c556 100644 --- a/tests/flow/libconfig/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/libconfig/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`libA.js 1`] = ` +exports[`libA.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ declare function foo(x: number): void; ================================================================================ `; -exports[`libB.js 1`] = ` +exports[`libB.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -28,7 +28,7 @@ declare function bar(x: string): void; ================================================================================ `; -exports[`libtest.js 1`] = ` +exports[`libtest.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/libdef_ignored_module/__snapshots__/jsfmt.spec.js.snap b/tests/flow/libdef_ignored_module/__snapshots__/jsfmt.spec.js.snap index 11d048e68c..0a4195cb34 100644 --- a/tests/flow/libdef_ignored_module/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/libdef_ignored_module/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/libdef_ignored_module/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/libdef_ignored_module/lib/__snapshots__/jsfmt.spec.js.snap index 2b2fb92785..76164ce4d0 100644 --- a/tests/flow/libdef_ignored_module/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/libdef_ignored_module/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/liberr/__snapshots__/jsfmt.spec.js.snap b/tests/flow/liberr/__snapshots__/jsfmt.spec.js.snap index af3cf9a157..359bb8b024 100644 --- a/tests/flow/liberr/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/liberr/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`a.js 1`] = ` +exports[`a.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/liberr/libs/__snapshots__/jsfmt.spec.js.snap b/tests/flow/liberr/libs/__snapshots__/jsfmt.spec.js.snap index b83ccbcd41..faca66dde1 100644 --- a/tests/flow/liberr/libs/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/liberr/libs/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`type_error.js 1`] = ` +exports[`type_error.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/libflow-typed/__snapshots__/jsfmt.spec.js.snap b/tests/flow/libflow-typed/__snapshots__/jsfmt.spec.js.snap index 03e129c353..fdeb11a0b8 100644 --- a/tests/flow/libflow-typed/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/libflow-typed/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`libtest.js 1`] = ` +exports[`libtest.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/libflow-typed/flow-typed/__snapshots__/jsfmt.spec.js.snap b/tests/flow/libflow-typed/flow-typed/__snapshots__/jsfmt.spec.js.snap index ebd7d3b971..4a93fcb647 100644 --- a/tests/flow/libflow-typed/flow-typed/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/libflow-typed/flow-typed/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`dino.js 1`] = ` +exports[`dino.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/librec/__snapshots__/jsfmt.spec.js.snap b/tests/flow/librec/__snapshots__/jsfmt.spec.js.snap index 23ec088937..d60c8b4717 100644 --- a/tests/flow/librec/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/librec/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`libtest.js 1`] = ` +exports[`libtest.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/librec/lib/A/__snapshots__/jsfmt.spec.js.snap b/tests/flow/librec/lib/A/__snapshots__/jsfmt.spec.js.snap index b95b81555a..15f7fbb04d 100644 --- a/tests/flow/librec/lib/A/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/librec/lib/A/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`libA.js 1`] = ` +exports[`libA.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/librec/lib/B/__snapshots__/jsfmt.spec.js.snap b/tests/flow/librec/lib/B/__snapshots__/jsfmt.spec.js.snap index 4e473f1096..29303b49c6 100644 --- a/tests/flow/librec/lib/B/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/librec/lib/B/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`libB.js 1`] = ` +exports[`libB.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/literal/__snapshots__/jsfmt.spec.js.snap b/tests/flow/literal/__snapshots__/jsfmt.spec.js.snap index 6d49e6ddf6..2dd4d5501e 100644 --- a/tests/flow/literal/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/literal/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`enum.js 1`] = ` +exports[`enum.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -24,7 +24,7 @@ module.exports = APIKeys; ================================================================================ `; -exports[`enum_client.js 1`] = ` +exports[`enum_client.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -78,7 +78,7 @@ var red: string = tuple[indices.red]; // error: tuple[0] is a number ================================================================================ `; -exports[`number.js 1`] = ` +exports[`number.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/locals/__snapshots__/jsfmt.spec.js.snap b/tests/flow/locals/__snapshots__/jsfmt.spec.js.snap index ead3b5b509..53f22c72ed 100644 --- a/tests/flow/locals/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/locals/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`lex.js 1`] = ` +exports[`lex.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -132,7 +132,7 @@ function for_of_scope(xs: number[]) { ================================================================================ `; -exports[`locals.js 1`] = ` +exports[`locals.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/logical/__snapshots__/jsfmt.spec.js.snap b/tests/flow/logical/__snapshots__/jsfmt.spec.js.snap index 66939ae065..f828941446 100644 --- a/tests/flow/logical/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/logical/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`logical.js 1`] = ` +exports[`logical.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/loners/__snapshots__/jsfmt.spec.js.snap b/tests/flow/loners/__snapshots__/jsfmt.spec.js.snap index 2562e3227b..8f4faade76 100644 --- a/tests/flow/loners/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/loners/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`loners.js 1`] = ` +exports[`loners.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/malformed_code/__snapshots__/jsfmt.spec.js.snap b/tests/flow/malformed_code/__snapshots__/jsfmt.spec.js.snap index 8697a1bc19..cdae897849 100644 --- a/tests/flow/malformed_code/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/malformed_code/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`text.js 1`] = ` +exports[`text.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/match_failure/__snapshots__/jsfmt.spec.js.snap b/tests/flow/match_failure/__snapshots__/jsfmt.spec.js.snap index d9ba9034c1..e23db0dee2 100644 --- a/tests/flow/match_failure/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/match_failure/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`disjoint_union.js 1`] = ` +exports[`disjoint_union.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -41,7 +41,7 @@ function area(shape: Shape): number { ================================================================================ `; -exports[`enum.js 1`] = ` +exports[`enum.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/method_properties/__snapshots__/jsfmt.spec.js.snap b/tests/flow/method_properties/__snapshots__/jsfmt.spec.js.snap index c0e0ea7e1a..74d5464b35 100644 --- a/tests/flow/method_properties/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/method_properties/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`exports_optional_prop.js 1`] = ` +exports[`exports_optional_prop.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -26,7 +26,7 @@ export { Foo }; ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/misc/__snapshots__/jsfmt.spec.js.snap b/tests/flow/misc/__snapshots__/jsfmt.spec.js.snap index e297fb6336..c96ca34724 100644 --- a/tests/flow/misc/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/misc/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -39,7 +39,7 @@ f(A.x); // A.x is now a string, by def assign ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -82,7 +82,7 @@ module.exports = B; ================================================================================ `; -exports[`C.js 1`] = ` +exports[`C.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -121,7 +121,7 @@ module.exports = C; ================================================================================ `; -exports[`D.js 1`] = ` +exports[`D.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -162,7 +162,7 @@ module.exports = "D for dummy"; ================================================================================ `; -exports[`E.js 1`] = ` +exports[`E.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -193,7 +193,7 @@ module.exports = { obj: o }; ================================================================================ `; -exports[`F.js 1`] = ` +exports[`F.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -219,7 +219,7 @@ function foo(x: Array): string { ================================================================================ `; -exports[`G.js 1`] = ` +exports[`G.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/missing_annotation/__snapshots__/jsfmt.spec.js.snap b/tests/flow/missing_annotation/__snapshots__/jsfmt.spec.js.snap index 627406fc01..5a14b8fc24 100644 --- a/tests/flow/missing_annotation/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/missing_annotation/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`array.js 1`] = ` +exports[`array.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -22,7 +22,7 @@ export var arr = [f]; ================================================================================ `; -exports[`async_return.js 1`] = ` +exports[`async_return.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -44,7 +44,7 @@ export async function foo() { ================================================================================ `; -exports[`infer.js 1`] = ` +exports[`infer.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/modified_lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/modified_lib/__snapshots__/jsfmt.spec.js.snap index d90c68e422..e0083976ed 100644 --- a/tests/flow/modified_lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/modified_lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/modified_lib/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/modified_lib/lib/__snapshots__/jsfmt.spec.js.snap index ecd1eca764..593b544b88 100644 --- a/tests/flow/modified_lib/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/modified_lib/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`lib.js 1`] = ` +exports[`lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/module_not_found_errors/src/__snapshots__/jsfmt.spec.js.snap b/tests/flow/module_not_found_errors/src/__snapshots__/jsfmt.spec.js.snap index 9a98620950..e369cf3bb5 100644 --- a/tests/flow/module_not_found_errors/src/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/module_not_found_errors/src/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`index.js 1`] = ` +exports[`index.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/module_redirect/__snapshots__/jsfmt.spec.js.snap b/tests/flow/module_redirect/__snapshots__/jsfmt.spec.js.snap index 345a26458f..3f5cbb7616 100644 --- a/tests/flow/module_redirect/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/module_redirect/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ declare module A { ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -42,7 +42,7 @@ module.exports = require("A"); ================================================================================ `; -exports[`C.js 1`] = ` +exports[`C.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -66,7 +66,7 @@ module.exports = require("B"); ================================================================================ `; -exports[`D.js 1`] = ` +exports[`D.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/module_use_strict/__snapshots__/jsfmt.spec.js.snap b/tests/flow/module_use_strict/__snapshots__/jsfmt.spec.js.snap index 82ae610612..4e38e21c2c 100644 --- a/tests/flow/module_use_strict/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/module_use_strict/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/modules/__snapshots__/jsfmt.spec.js.snap b/tests/flow/modules/__snapshots__/jsfmt.spec.js.snap index d28ff87f7b..b089a64fdd 100644 --- a/tests/flow/modules/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/modules/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`cli.js 1`] = ` +exports[`cli.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -22,7 +22,7 @@ var y: number = f(0); ================================================================================ `; -exports[`cli2.js 1`] = ` +exports[`cli2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -44,7 +44,7 @@ f("..."); ================================================================================ `; -exports[`lib.js 1`] = ` +exports[`lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/more_annot/__snapshots__/jsfmt.spec.js.snap b/tests/flow/more_annot/__snapshots__/jsfmt.spec.js.snap index e79669812f..961350b229 100644 --- a/tests/flow/more_annot/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/more_annot/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`client_object.js 1`] = ` +exports[`client_object.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -18,7 +18,7 @@ var a: number = o.w.z.y; ================================================================================ `; -exports[`object.js 1`] = ` +exports[`object.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -48,7 +48,7 @@ module.exports = o3; ================================================================================ `; -exports[`proto.js 1`] = ` +exports[`proto.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -74,7 +74,7 @@ var o2: Foo = new Foo(); ================================================================================ `; -exports[`super.js 1`] = ` +exports[`super.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/more_classes/__snapshots__/jsfmt.spec.js.snap b/tests/flow/more_classes/__snapshots__/jsfmt.spec.js.snap index e8b6840cf0..5faed24ad1 100644 --- a/tests/flow/more_classes/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/more_classes/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Bar.js 1`] = ` +exports[`Bar.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -51,7 +51,7 @@ module.exports = Bar; ================================================================================ `; -exports[`Foo.js 1`] = ` +exports[`Foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -114,7 +114,7 @@ module.exports = Foo; ================================================================================ `; -exports[`Qux.js 1`] = ` +exports[`Qux.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/more_generics/__snapshots__/jsfmt.spec.js.snap b/tests/flow/more_generics/__snapshots__/jsfmt.spec.js.snap index 0ca9158bee..efaaba4b3d 100644 --- a/tests/flow/more_generics/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/more_generics/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`poly.js 1`] = ` +exports[`poly.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/more_path/__snapshots__/jsfmt.spec.js.snap b/tests/flow/more_path/__snapshots__/jsfmt.spec.js.snap index f6c89638d9..fb8c17231c 100644 --- a/tests/flow/more_path/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/more_path/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Condition.js 1`] = ` +exports[`Condition.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -133,7 +133,7 @@ module.exports = true; ================================================================================ `; -exports[`FlowSA.js 1`] = ` +exports[`FlowSA.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -168,7 +168,7 @@ module.exports = FlowSA; ================================================================================ `; -exports[`Sigma.js 1`] = ` +exports[`Sigma.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -266,7 +266,7 @@ module.exports = "sigma"; ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/more_react/__snapshots__/jsfmt.spec.js.snap b/tests/flow/more_react/__snapshots__/jsfmt.spec.js.snap index 8e45a04b95..b3a12b54e5 100644 --- a/tests/flow/more_react/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/more_react/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`API.react.js 1`] = ` +exports[`API.react.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -27,7 +27,7 @@ bar(app.props.children); // No error, App doesn't specify propTypes so anything ================================================================================ `; -exports[`App.react.js 1`] = ` +exports[`App.react.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -124,7 +124,7 @@ module.exports = App; ================================================================================ `; -exports[`InitializedFields.js 1`] = ` +exports[`InitializedFields.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -164,7 +164,7 @@ module.exports = App; ================================================================================ `; -exports[`JSX.js 1`] = ` +exports[`JSX.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -201,7 +201,7 @@ module.exports = app; ================================================================================ `; -exports[`checkPropTypes.js 1`] = ` +exports[`checkPropTypes.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -269,7 +269,7 @@ checkPropTypes( ================================================================================ `; -exports[`propTypes.js 1`] = ` +exports[`propTypes.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/more_statics/__snapshots__/jsfmt.spec.js.snap b/tests/flow/more_statics/__snapshots__/jsfmt.spec.js.snap index ecc150cf6d..8a54287315 100644 --- a/tests/flow/more_statics/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/more_statics/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`class_static.js 1`] = ` +exports[`class_static.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/multiflow/__snapshots__/jsfmt.spec.js.snap b/tests/flow/multiflow/__snapshots__/jsfmt.spec.js.snap index 11c52ae330..ac48d01ad1 100644 --- a/tests/flow/multiflow/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/multiflow/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`apply.js 1`] = ` +exports[`apply.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -100,7 +100,7 @@ applyType(withRest, ["hi", 123, false]); // Error - too many args ================================================================================ `; -exports[`issue3443.js 1`] = ` +exports[`issue3443.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -148,7 +148,7 @@ foo(123); ================================================================================ `; -exports[`jsx.js 1`] = ` +exports[`jsx.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -257,7 +257,7 @@ declare function ExpectsChildrenArray( ================================================================================ `; -exports[`spread.js 1`] = ` +exports[`spread.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/multiflow_with_flowlib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/multiflow_with_flowlib/__snapshots__/jsfmt.spec.js.snap index e0e4b8b944..dfb91c0244 100644 --- a/tests/flow/multiflow_with_flowlib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/multiflow_with_flowlib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`spread.js 1`] = ` +exports[`spread.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/name_prop/__snapshots__/jsfmt.spec.js.snap b/tests/flow/name_prop/__snapshots__/jsfmt.spec.js.snap index 2d3054a942..609b4c6726 100644 --- a/tests/flow/name_prop/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/name_prop/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`class.js 1`] = ` +exports[`class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -32,7 +32,7 @@ var test6: number = a.constructor.name; // Error string ~> number ================================================================================ `; -exports[`function.js 1`] = ` +exports[`function.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/namespace/__snapshots__/jsfmt.spec.js.snap b/tests/flow/namespace/__snapshots__/jsfmt.spec.js.snap index e02d5a9f06..78da0d21fe 100644 --- a/tests/flow/namespace/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/namespace/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`client.js 1`] = ` +exports[`client.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ var bar: string = ns.foo; ================================================================================ `; -exports[`namespace.js 1`] = ` +exports[`namespace.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/new_react/__snapshots__/jsfmt.spec.js.snap b/tests/flow/new_react/__snapshots__/jsfmt.spec.js.snap index 7ad283ea3a..aa8cf7a37e 100644 --- a/tests/flow/new_react/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/new_react/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`FeedUFI.react.js 1`] = ` +exports[`FeedUFI.react.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -86,7 +86,7 @@ module.exports = FeedUFI; ================================================================================ `; -exports[`Mixin.js 1`] = ` +exports[`Mixin.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -106,7 +106,7 @@ module.exports = { ================================================================================ `; -exports[`UFILikeCount.react.js 1`] = ` +exports[`UFILikeCount.react.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -164,7 +164,7 @@ module.exports = UFILikeCount; ================================================================================ `; -exports[`bad_default_props.js 1`] = ` +exports[`bad_default_props.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -242,7 +242,7 @@ class C6 extends React.Component { ================================================================================ `; -exports[`classes.js 1`] = ` +exports[`classes.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -415,7 +415,7 @@ FooLegacy.bar(); ================================================================================ `; -exports[`import-react.js 1`] = ` +exports[`import-react.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -465,7 +465,7 @@ class HelloMessage extends React.Component { ================================================================================ `; -exports[`new_react.js 1`] = ` +exports[`new_react.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -542,7 +542,7 @@ var x: number = C.displayName; ================================================================================ `; -exports[`propTypes.js 1`] = ` +exports[`propTypes.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -595,7 +595,7 @@ var props: Array<{ label: string, value?: number }> = [ ================================================================================ `; -exports[`props.js 1`] = ` +exports[`props.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -660,7 +660,7 @@ var FooProps = React.createClass({ ================================================================================ `; -exports[`props2.js 1`] = ` +exports[`props2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -706,7 +706,7 @@ var D = React.createClass({ ================================================================================ `; -exports[`props3.js 1`] = ` +exports[`props3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -824,7 +824,7 @@ var TestProps = React.createClass({ ================================================================================ `; -exports[`props4.js 1`] = ` +exports[`props4.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -885,7 +885,7 @@ React.render(, document.body); ================================================================================ `; -exports[`props5.js 1`] = ` +exports[`props5.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -915,7 +915,7 @@ module.exports = C; ================================================================================ `; -exports[`state.js 1`] = ` +exports[`state.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -969,7 +969,7 @@ var ReactClass = React.createClass({ ================================================================================ `; -exports[`state2.js 1`] = ` +exports[`state2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1015,7 +1015,7 @@ module.exports = Comp; ================================================================================ `; -exports[`state3.js 1`] = ` +exports[`state3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1061,7 +1061,7 @@ var TestState = React.createClass({ ================================================================================ `; -exports[`state4.js 1`] = ` +exports[`state4.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1098,7 +1098,7 @@ var C = React.createClass({ ================================================================================ `; -exports[`state5.js 1`] = ` +exports[`state5.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/new_react/fakelib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/new_react/fakelib/__snapshots__/jsfmt.spec.js.snap index 30d8800ba3..b0820c471e 100644 --- a/tests/flow/new_react/fakelib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/new_react/fakelib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`type_aliases.js 1`] = ` +exports[`type_aliases.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/new_spread/__snapshots__/jsfmt.spec.js.snap b/tests/flow/new_spread/__snapshots__/jsfmt.spec.js.snap index 6aa4c21860..fe51266df7 100644 --- a/tests/flow/new_spread/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/new_spread/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`type.js 1`] = ` +exports[`type.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -206,7 +206,7 @@ declare var o13: O13; ================================================================================ `; -exports[`type_any.js 1`] = ` +exports[`type_any.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -244,7 +244,7 @@ var o3: O3 = (0: mixed); // ok ================================================================================ `; -exports[`type_contra.js 1`] = ` +exports[`type_contra.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -282,7 +282,7 @@ declare var o2: O2; ================================================================================ `; -exports[`type_dict.js 1`] = ` +exports[`type_dict.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -370,7 +370,7 @@ declare var o12: { ...{| [string]: T |}, ...{| [string]: U |} }; ================================================================================ `; -exports[`type_generic.js 1`] = ` +exports[`type_generic.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -388,7 +388,7 @@ declare function spread(a: A, b: B): { ...A, ...B }; ================================================================================ `; -exports[`type_instance.js 1`] = ` +exports[`type_instance.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -428,7 +428,7 @@ declare var o2: O2; ================================================================================ `; -exports[`type_intersection.js 1`] = ` +exports[`type_intersection.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -496,7 +496,7 @@ declare var o5: O5; ================================================================================ `; -exports[`type_intersection_optional.js 1`] = ` +exports[`type_intersection_optional.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -638,7 +638,7 @@ declare var o21: { ...{| p: T |} & { q: U } }; ================================================================================ `; -exports[`type_optional.js 1`] = ` +exports[`type_optional.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -710,7 +710,7 @@ declare var p: { ...{| p?: T |}, ...{| p?: U |} }; ================================================================================ `; -exports[`type_union.js 1`] = ` +exports[`type_union.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/node_haste/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_haste/__snapshots__/jsfmt.spec.js.snap index 5efb52f2ff..eddabd0968 100644 --- a/tests/flow/node_haste/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_haste/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`client.js 1`] = ` +exports[`client.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ var md5 = require("./md5"); ================================================================================ `; -exports[`md5.js 1`] = ` +exports[`md5.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_haste/external/_d3/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_haste/external/_d3/__snapshots__/jsfmt.spec.js.snap index 3eaaf6e69f..10ac75611e 100644 --- a/tests/flow/node_haste/external/_d3/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_haste/external/_d3/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`min.js 1`] = ` +exports[`min.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_haste/foo/bar/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_haste/foo/bar/__snapshots__/jsfmt.spec.js.snap index d460d12ca6..1adb8b4e5f 100644 --- a/tests/flow/node_haste/foo/bar/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_haste/foo/bar/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`client.js 1`] = ` +exports[`client.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_haste/ws/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_haste/ws/__snapshots__/jsfmt.spec.js.snap index a236e096cd..0e343a7d9d 100644 --- a/tests/flow/node_haste/ws/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_haste/ws/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`index.js 1`] = ` +exports[`index.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_haste/ws/test/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_haste/ws/test/__snapshots__/jsfmt.spec.js.snap index 3c3d2eba36..3a2c0742c5 100644 --- a/tests/flow/node_haste/ws/test/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_haste/ws/test/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`client.js 1`] = ` +exports[`client.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_modules_with_symlinks/root/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_modules_with_symlinks/root/__snapshots__/jsfmt.spec.js.snap index 84f6d7b6a9..e4517ef7c7 100644 --- a/tests/flow/node_modules_with_symlinks/root/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_modules_with_symlinks/root/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_modules_with_symlinks/root/symlink_lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_modules_with_symlinks/root/symlink_lib/__snapshots__/jsfmt.spec.js.snap index 152db4b534..5959176f7c 100644 --- a/tests/flow/node_modules_with_symlinks/root/symlink_lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_modules_with_symlinks/root/symlink_lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`index.js 1`] = ` +exports[`index.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_modules_with_symlinks/symlink_lib_outside_root/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_modules_with_symlinks/symlink_lib_outside_root/__snapshots__/jsfmt.spec.js.snap index 152db4b534..5959176f7c 100644 --- a/tests/flow/node_modules_with_symlinks/symlink_lib_outside_root/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_modules_with_symlinks/symlink_lib_outside_root/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`index.js 1`] = ` +exports[`index.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_modules_without_json/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_modules_without_json/__snapshots__/jsfmt.spec.js.snap index 68b401c7cb..13272bd030 100644 --- a/tests/flow/node_modules_without_json/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_modules_without_json/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/assert/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/assert/__snapshots__/jsfmt.spec.js.snap index 4a46c561d5..b45afb2e73 100644 --- a/tests/flow/node_tests/assert/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/assert/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`assert.js 1`] = ` +exports[`assert.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/basic/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/basic/__snapshots__/jsfmt.spec.js.snap index 6eae86b42e..cd0431268f 100644 --- a/tests/flow/node_tests/basic/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/basic/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`bar.js 1`] = ` +exports[`bar.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ module.exports = "bar"; ================================================================================ `; -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/basic_file/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/basic_file/__snapshots__/jsfmt.spec.js.snap index 4250e79c1a..e0a3bb22bd 100644 --- a/tests/flow/node_tests/basic_file/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/basic_file/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`bar.js 1`] = ` +exports[`bar.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ module.exports = "bar"; ================================================================================ `; -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/basic_node_modules/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/basic_node_modules/__snapshots__/jsfmt.spec.js.snap index d70326e4e2..3d7feafc26 100644 --- a/tests/flow/node_tests/basic_node_modules/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/basic_node_modules/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/basic_node_modules_with_path/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/basic_node_modules_with_path/__snapshots__/jsfmt.spec.js.snap index 068c116c02..c6fb664da4 100644 --- a/tests/flow/node_tests/basic_node_modules_with_path/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/basic_node_modules_with_path/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/basic_package/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/basic_package/__snapshots__/jsfmt.spec.js.snap index 6490c18c0e..5a033c87ad 100644 --- a/tests/flow/node_tests/basic_package/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/basic_package/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/basic_package/bar_lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/basic_package/bar_lib/__snapshots__/jsfmt.spec.js.snap index 2957035bb9..025490f079 100644 --- a/tests/flow/node_tests/basic_package/bar_lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/basic_package/bar_lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`bar.js 1`] = ` +exports[`bar.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/buffer/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/buffer/__snapshots__/jsfmt.spec.js.snap index d1b33e75b8..1571b54744 100644 --- a/tests/flow/node_tests/buffer/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/buffer/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`buffer.js 1`] = ` +exports[`buffer.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/child_process/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/child_process/__snapshots__/jsfmt.spec.js.snap index 5e583345d3..4921cd2e10 100644 --- a/tests/flow/node_tests/child_process/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/child_process/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`exec.js 1`] = ` +exports[`exec.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -44,7 +44,7 @@ exec("ls", { maxBuffer: 100 }, function (error, stdout, stderr) { ================================================================================ `; -exports[`execFile.js 1`] = ` +exports[`execFile.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -110,7 +110,7 @@ execFile("ls", ["-l"], { timeout: 250 }, function (error, stdout, stderr) { ================================================================================ `; -exports[`execSync.js 1`] = ` +exports[`execSync.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -142,7 +142,7 @@ execSync("ls", { stdio: ["inherit"] }); // error, no signatures match ================================================================================ `; -exports[`spawn.js 1`] = ` +exports[`spawn.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/crypto/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/crypto/__snapshots__/jsfmt.spec.js.snap index f136a5793a..636fb55eed 100644 --- a/tests/flow/node_tests/crypto/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/crypto/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`crypto.js 1`] = ` +exports[`crypto.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/fs/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/fs/__snapshots__/jsfmt.spec.js.snap index f4c8f72bbf..ad7ae66e94 100644 --- a/tests/flow/node_tests/fs/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/fs/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`fs.js 1`] = ` +exports[`fs.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/json_file/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/json_file/__snapshots__/jsfmt.spec.js.snap index e3f7b41d2b..4a6887204a 100644 --- a/tests/flow/node_tests/json_file/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/json_file/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/json_file/package2/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/json_file/package2/__snapshots__/jsfmt.spec.js.snap index 35a8e23259..05c5ea41f6 100644 --- a/tests/flow/node_tests/json_file/package2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/json_file/package2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`index.js 1`] = ` +exports[`index.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/os/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/os/__snapshots__/jsfmt.spec.js.snap index 84b8d2cb26..587b7d76bf 100644 --- a/tests/flow/node_tests/os/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/os/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`userInfo.js 1`] = ` +exports[`userInfo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/package_file/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/package_file/__snapshots__/jsfmt.spec.js.snap index fd59f4aeba..4c94ca9c6b 100644 --- a/tests/flow/node_tests/package_file/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/package_file/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`bar_lib.js 1`] = ` +exports[`bar_lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ module.exports = "bar_lib"; ================================================================================ `; -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/package_file/bar_lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/package_file/bar_lib/__snapshots__/jsfmt.spec.js.snap index 89cca9cbf4..4dcd81e7b4 100644 --- a/tests/flow/node_tests/package_file/bar_lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/package_file/bar_lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`bar.js 1`] = ` +exports[`bar.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/package_file_node_modules/foo/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/package_file_node_modules/foo/__snapshots__/jsfmt.spec.js.snap index e84cd1ba27..b012933a39 100644 --- a/tests/flow/node_tests/package_file_node_modules/foo/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/package_file_node_modules/foo/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/path_node_modules/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/path_node_modules/__snapshots__/jsfmt.spec.js.snap index 502b5d7082..5a730aa90c 100644 --- a/tests/flow/node_tests/path_node_modules/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/path_node_modules/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/path_node_modules_with_short_main/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/path_node_modules_with_short_main/__snapshots__/jsfmt.spec.js.snap index 07512d5f8a..01bd0b39d5 100644 --- a/tests/flow/node_tests/path_node_modules_with_short_main/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/path_node_modules_with_short_main/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/path_node_modules_without_main/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/path_node_modules_without_main/__snapshots__/jsfmt.spec.js.snap index 07512d5f8a..01bd0b39d5 100644 --- a/tests/flow/node_tests/path_node_modules_without_main/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/path_node_modules_without_main/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/path_package/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/path_package/__snapshots__/jsfmt.spec.js.snap index 6f9f7938cd..7e7c8ff4d5 100644 --- a/tests/flow/node_tests/path_package/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/path_package/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/process/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/process/__snapshots__/jsfmt.spec.js.snap index efe2478d6b..82897a9458 100644 --- a/tests/flow/node_tests/process/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/process/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`nextTick.js 1`] = ` +exports[`nextTick.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/stream/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/stream/__snapshots__/jsfmt.spec.js.snap index 328fb1c9cb..ba7caf8db3 100644 --- a/tests/flow/node_tests/stream/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/stream/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`stream.js 1`] = ` +exports[`stream.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/timers/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/timers/__snapshots__/jsfmt.spec.js.snap index 29dbb61df7..ee1ce46624 100644 --- a/tests/flow/node_tests/timers/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/timers/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`timers.js 1`] = ` +exports[`timers.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/node_tests/url/__snapshots__/jsfmt.spec.js.snap b/tests/flow/node_tests/url/__snapshots__/jsfmt.spec.js.snap index 56b0936205..c8f5b1477a 100644 --- a/tests/flow/node_tests/url/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/node_tests/url/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`url.js 1`] = ` +exports[`url.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/nullable/__snapshots__/jsfmt.spec.js.snap b/tests/flow/nullable/__snapshots__/jsfmt.spec.js.snap index 0860e8094a..df6a00b333 100644 --- a/tests/flow/nullable/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/nullable/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`maybe.js 1`] = ` +exports[`maybe.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -22,7 +22,7 @@ printWidth: 80 ================================================================================ `; -exports[`nullable.js 1`] = ` +exports[`nullable.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -77,7 +77,7 @@ var array_of_nullable: Array = [null, 3]; ================================================================================ `; -exports[`simple_nullable.js 1`] = ` +exports[`simple_nullable.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/number_constants/__snapshots__/jsfmt.spec.js.snap b/tests/flow/number_constants/__snapshots__/jsfmt.spec.js.snap index 94332574d9..a6351de9ba 100644 --- a/tests/flow/number_constants/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/number_constants/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`number_constants.js 1`] = ` +exports[`number_constants.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/object-method/__snapshots__/jsfmt.spec.js.snap b/tests/flow/object-method/__snapshots__/jsfmt.spec.js.snap index cf6b45ab84..9d91418b0c 100644 --- a/tests/flow/object-method/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/object-method/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`id.js 1`] = ` +exports[`id.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -18,7 +18,7 @@ module.exports = id; ================================================================================ `; -exports[`subtype.js 1`] = ` +exports[`subtype.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -44,7 +44,7 @@ function subtypeCheck(x: Interface): ObjectType { ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -80,7 +80,7 @@ module.exports = id(methodCaller); ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -126,7 +126,7 @@ b.f(); // error, property \`p\` not found ================================================================================ `; -exports[`test3.js 1`] = ` +exports[`test3.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/object_annot/__snapshots__/jsfmt.spec.js.snap b/tests/flow/object_annot/__snapshots__/jsfmt.spec.js.snap index 06e43577eb..89222ec12c 100644 --- a/tests/flow/object_annot/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/object_annot/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/object_api/__snapshots__/jsfmt.spec.js.snap b/tests/flow/object_api/__snapshots__/jsfmt.spec.js.snap index 41476f35eb..4091340dc9 100644 --- a/tests/flow/object_api/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/object_api/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`a.js 1`] = ` +exports[`a.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -17,7 +17,7 @@ module.exports = { a() {} }; ================================================================================ `; -exports[`b.js 1`] = ` +exports[`b.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -41,7 +41,7 @@ module.exports = b; ================================================================================ `; -exports[`c.js 1`] = ` +exports[`c.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -62,7 +62,7 @@ c.foo(); ================================================================================ `; -exports[`object_assign.js 1`] = ` +exports[`object_assign.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -103,7 +103,7 @@ module.exports = export_; ================================================================================ `; -exports[`object_create.js 1`] = ` +exports[`object_create.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -151,7 +151,7 @@ declare var o: O; ================================================================================ `; -exports[`object_getprototypeof.js 1`] = ` +exports[`object_getprototypeof.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -185,7 +185,7 @@ let tests = [ ================================================================================ `; -exports[`object_keys.js 1`] = ` +exports[`object_keys.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -261,7 +261,7 @@ class Bar extends Foo { ================================================================================ `; -exports[`object_missing.js 1`] = ` +exports[`object_missing.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -287,7 +287,7 @@ let tests = [ ================================================================================ `; -exports[`object_prototype.js 1`] = ` +exports[`object_prototype.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/object_assign/__snapshots__/jsfmt.spec.js.snap b/tests/flow/object_assign/__snapshots__/jsfmt.spec.js.snap index 56783bccfc..dd8a5d8694 100644 --- a/tests/flow/object_assign/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/object_assign/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -68,7 +68,7 @@ module.exports = { ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -114,7 +114,7 @@ A.js|8 col 23 error| object literal ================================================================================ `; -exports[`apply.js 1`] = ` +exports[`apply.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -135,7 +135,7 @@ printWidth: 80 ================================================================================ `; -exports[`non_objects.js 1`] = ` +exports[`non_objects.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -157,7 +157,7 @@ Object.assign({ a: "foo" }, 123); ================================================================================ `; -exports[`spread.js 1`] = ` +exports[`spread.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -199,7 +199,7 @@ declare var tup: [{ foo: string }, { bar: number }]; ================================================================================ `; -exports[`undefined.js 1`] = ` +exports[`undefined.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/object_freeze/__snapshots__/jsfmt.spec.js.snap b/tests/flow/object_freeze/__snapshots__/jsfmt.spec.js.snap index c381f89f83..666ae33762 100644 --- a/tests/flow/object_freeze/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/object_freeze/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`object_freeze.js 1`] = ` +exports[`object_freeze.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/object_is/__snapshots__/jsfmt.spec.js.snap b/tests/flow/object_is/__snapshots__/jsfmt.spec.js.snap index 73c9877be0..9e9ccbdd5f 100644 --- a/tests/flow/object_is/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/object_is/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`object_is.js 1`] = ` +exports[`object_is.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/objects/__snapshots__/jsfmt.spec.js.snap b/tests/flow/objects/__snapshots__/jsfmt.spec.js.snap index 358d885400..8798058351 100644 --- a/tests/flow/objects/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/objects/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`compatibility.js 1`] = ` +exports[`compatibility.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -70,7 +70,7 @@ let tests = [ ================================================================================ `; -exports[`conversion.js 1`] = ` +exports[`conversion.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -120,7 +120,7 @@ var z = Object(123); // error (next line makes this not match any signatures) ================================================================================ `; -exports[`objects.js 1`] = ` +exports[`objects.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -168,7 +168,7 @@ y["bar"] = "abc"; // error, property not found ================================================================================ `; -exports[`unaliased_assign.js 1`] = ` +exports[`unaliased_assign.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/objmap/__snapshots__/jsfmt.spec.js.snap b/tests/flow/objmap/__snapshots__/jsfmt.spec.js.snap index e9408e9863..aa1428da2c 100644 --- a/tests/flow/objmap/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/objmap/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`objmap.js 1`] = ` +exports[`objmap.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/optional/__snapshots__/jsfmt.spec.js.snap b/tests/flow/optional/__snapshots__/jsfmt.spec.js.snap index a2503e0678..e2ca2894ea 100644 --- a/tests/flow/optional/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/optional/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`client_optional.js 1`] = ` +exports[`client_optional.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ qux(0); ================================================================================ `; -exports[`default.js 1`] = ` +exports[`default.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -36,7 +36,7 @@ function f(foo, bar = foo): [T, T] { ================================================================================ `; -exports[`generic.js 1`] = ` +exports[`generic.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -58,7 +58,7 @@ class C { ================================================================================ `; -exports[`loop.js 1`] = ` +exports[`loop.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -82,7 +82,7 @@ function f(x: T, y?: T) { ================================================================================ `; -exports[`maybe.js 1`] = ` +exports[`maybe.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -100,7 +100,7 @@ function foo(x?: string): ?string { ================================================================================ `; -exports[`nullable.js 1`] = ` +exports[`nullable.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -210,7 +210,7 @@ function optionalNullable8(x: { y?: ?number }) { ================================================================================ `; -exports[`optional.js 1`] = ` +exports[`optional.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -253,7 +253,7 @@ module.exports = qux; ================================================================================ `; -exports[`optional_param.js 1`] = ` +exports[`optional_param.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -347,7 +347,7 @@ function testOptionalNullableFlowingToNullable(x?: ?string): ?string { ================================================================================ `; -exports[`optional_param2.js 1`] = ` +exports[`optional_param2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -371,7 +371,7 @@ var j: I = i.map((id) => id); ================================================================================ `; -exports[`optional_param3.js 1`] = ` +exports[`optional_param3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -397,7 +397,7 @@ bar(undefined); // ok ================================================================================ `; -exports[`optional_param4.js 1`] = ` +exports[`optional_param4.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -434,7 +434,7 @@ foo(123, true); // ERROR boolean ~> string ================================================================================ `; -exports[`undefined.js 1`] = ` +exports[`undefined.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -464,7 +464,7 @@ function bar() { ================================================================================ `; -exports[`undefined2.js 1`] = ` +exports[`undefined2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/optional_chaining/__snapshots__/jsfmt.spec.js.snap b/tests/flow/optional_chaining/__snapshots__/jsfmt.spec.js.snap index a3b4e0b556..ca243ec393 100644 --- a/tests/flow/optional_chaining/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/optional_chaining/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`private_properties.js 1`] = ` +exports[`private_properties.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/optional_props/__snapshots__/jsfmt.spec.js.snap b/tests/flow/optional_props/__snapshots__/jsfmt.spec.js.snap index 3786eeaf28..ec406a0973 100644 --- a/tests/flow/optional_props/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/optional_props/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -36,7 +36,7 @@ bar({ foo: "" }); ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -74,7 +74,7 @@ var f: { foo?: ?string } = { foo: null }; // Also fine ================================================================================ `; -exports[`test3.js 1`] = ` +exports[`test3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -198,7 +198,7 @@ class A { ================================================================================ `; -exports[`test3_exact_annot.js 1`] = ` +exports[`test3_exact_annot.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -224,7 +224,7 @@ b.b = 0; // because subsequent writes would widen the exact object ================================================================================ `; -exports[`test3_failure.js 1`] = ` +exports[`test3_failure.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/overload/__snapshots__/jsfmt.spec.js.snap b/tests/flow/overload/__snapshots__/jsfmt.spec.js.snap index 9d1a583fb0..4b755de966 100644 --- a/tests/flow/overload/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/overload/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`overload.js 1`] = ` +exports[`overload.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -114,7 +114,7 @@ var z2:Array = new Dummy().dumber(bar2); ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -134,7 +134,7 @@ function foo() { ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -160,7 +160,7 @@ var foo = new Foo(); ================================================================================ `; -exports[`test3.js 1`] = ` +exports[`test3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -214,7 +214,7 @@ h(x_h.p); // ok ================================================================================ `; -exports[`union.js 1`] = ` +exports[`union.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/overload/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/overload/lib/__snapshots__/jsfmt.spec.js.snap index a0bc96345c..6cf632ec2b 100644 --- a/tests/flow/overload/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/overload/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`lib.js 1`] = ` +exports[`lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/parse/__snapshots__/jsfmt.spec.js.snap b/tests/flow/parse/__snapshots__/jsfmt.spec.js.snap index 72d04100f2..7d10cd66f7 100644 --- a/tests/flow/parse/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/parse/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`no_parse_error.js 1`] = ` +exports[`no_parse_error.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/parse_error_haste/__snapshots__/jsfmt.spec.js.snap b/tests/flow/parse_error_haste/__snapshots__/jsfmt.spec.js.snap index 457aa20f93..5ca57f84c5 100644 --- a/tests/flow/parse_error_haste/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/parse_error_haste/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Client.js 1`] = ` +exports[`Client.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/parse_error_node/__snapshots__/jsfmt.spec.js.snap b/tests/flow/parse_error_node/__snapshots__/jsfmt.spec.js.snap index 40b924c6d5..29f36681ce 100644 --- a/tests/flow/parse_error_node/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/parse_error_node/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Client.js 1`] = ` +exports[`Client.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/path/__snapshots__/jsfmt.spec.js.snap b/tests/flow/path/__snapshots__/jsfmt.spec.js.snap index 4ac14eda71..663b86b4b9 100644 --- a/tests/flow/path/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/path/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`while.js 1`] = ` +exports[`while.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/plsummit/__snapshots__/jsfmt.spec.js.snap b/tests/flow/plsummit/__snapshots__/jsfmt.spec.js.snap index 2604829095..ba16799a16 100644 --- a/tests/flow/plsummit/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/plsummit/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`arrays.js 1`] = ` +exports[`arrays.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -22,7 +22,7 @@ n * s.length; ================================================================================ `; -exports[`export_class.js 1`] = ` +exports[`export_class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -48,7 +48,7 @@ module.exports = C; ================================================================================ `; -exports[`generics.js 1`] = ` +exports[`generics.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -71,7 +71,7 @@ function foo(x: X): X { ================================================================================ `; -exports[`import_class.js 1`] = ` +exports[`import_class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -89,7 +89,7 @@ var c = new C(""); ================================================================================ `; -exports[`locals.js 1`] = ` +exports[`locals.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -123,7 +123,7 @@ function bar(x: ?string): number { ================================================================================ `; -exports[`objects.js 1`] = ` +exports[`objects.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/poly/__snapshots__/jsfmt.spec.js.snap b/tests/flow/poly/__snapshots__/jsfmt.spec.js.snap index 4d62341d9d..d483040f49 100644 --- a/tests/flow/poly/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/poly/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`annot.js 1`] = ` +exports[`annot.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -36,7 +36,7 @@ function bar(): A<*> { ================================================================================ `; -exports[`implicit_bounded_instantiation.js 1`] = ` +exports[`implicit_bounded_instantiation.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -88,7 +88,7 @@ a.meth(new Base()); // Error: Base ~> Middle ================================================================================ `; -exports[`issue-1029.js 1`] = ` +exports[`issue-1029.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -136,7 +136,7 @@ unbox(bool); ================================================================================ `; -exports[`poly.js 1`] = ` +exports[`poly.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -188,7 +188,7 @@ var z: Foo = Q.bar(foo, ""); ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/poly_class_export/__snapshots__/jsfmt.spec.js.snap b/tests/flow/poly_class_export/__snapshots__/jsfmt.spec.js.snap index 8a4a3be323..2691e44139 100644 --- a/tests/flow/poly_class_export/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/poly_class_export/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -26,7 +26,7 @@ module.exports = A; ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -60,7 +60,7 @@ module.exports = new B(); ================================================================================ `; -exports[`C.js 1`] = ` +exports[`C.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/poly_overload/decls/__snapshots__/jsfmt.spec.js.snap b/tests/flow/poly_overload/decls/__snapshots__/jsfmt.spec.js.snap index eaf8c5496c..bc3ed29208 100644 --- a/tests/flow/poly_overload/decls/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/poly_overload/decls/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`typescript-deferred.js 1`] = ` +exports[`typescript-deferred.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/predicates-abstract/__snapshots__/jsfmt.spec.js.snap b/tests/flow/predicates-abstract/__snapshots__/jsfmt.spec.js.snap index 9b39c2915f..a5882c7cc8 100644 --- a/tests/flow/predicates-abstract/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/predicates-abstract/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`filter.js 1`] = ` +exports[`filter.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -41,7 +41,7 @@ function is_string(x): %checks { ================================================================================ `; -exports[`filter-union.js 1`] = ` +exports[`filter-union.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -89,7 +89,7 @@ declare var ab: Array; ================================================================================ `; -exports[`refine.js 1`] = ` +exports[`refine.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -196,7 +196,7 @@ function is_string_and_number(x, y): %checks { ================================================================================ `; -exports[`sanity-filter.js 1`] = ` +exports[`sanity-filter.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -254,7 +254,7 @@ function is_string_regular(x): boolean { ================================================================================ `; -exports[`sanity-filter-union.js 1`] = ` +exports[`sanity-filter-union.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -302,7 +302,7 @@ declare var ab: Array; ================================================================================ `; -exports[`sanity-refine.js 1`] = ` +exports[`sanity-refine.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/predicates-declared/__snapshots__/jsfmt.spec.js.snap b/tests/flow/predicates-declared/__snapshots__/jsfmt.spec.js.snap index 940a8574c0..30d791faab 100644 --- a/tests/flow/predicates-declared/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/predicates-declared/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`function-bind.js 1`] = ` +exports[`function-bind.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -93,7 +93,7 @@ if (m.bind(this)(x)) { ================================================================================ `; -exports[`function-union.js 1`] = ` +exports[`function-union.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -140,7 +140,7 @@ function foo(x: number | string | Array): number { ================================================================================ `; -exports[`is-string-decl.js 1`] = ` +exports[`is-string-decl.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -188,7 +188,7 @@ function foo(x: string | Array): string { ================================================================================ `; -exports[`logical-or.js 1`] = ` +exports[`logical-or.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -246,7 +246,7 @@ Number(dollars) || 0; ================================================================================ `; -exports[`object-invariant.js 1`] = ` +exports[`object-invariant.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -305,7 +305,7 @@ function f(_this: { m: ?Meeting }): string { ================================================================================ `; -exports[`orig-string-tag-check.js 1`] = ` +exports[`orig-string-tag-check.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -340,7 +340,7 @@ function foo(x: string | Array): string { ================================================================================ `; -exports[`sanity-fall-through.js 1`] = ` +exports[`sanity-fall-through.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -378,7 +378,7 @@ function foo(s: Array): string { ================================================================================ `; -exports[`sanity-invalid-calls.js 1`] = ` +exports[`sanity-invalid-calls.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -427,7 +427,7 @@ function foo(s: Array): string { ================================================================================ `; -exports[`sanity-is-string-bug.js 1`] = ` +exports[`sanity-is-string-bug.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -469,7 +469,7 @@ function bar(x: string | Array): string { ================================================================================ `; -exports[`sanity-parameter-mismatch.js 1`] = ` +exports[`sanity-parameter-mismatch.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -501,7 +501,7 @@ foo(3, 3); ================================================================================ `; -exports[`sanity-pred-with-body.js 1`] = ` +exports[`sanity-pred-with-body.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -544,7 +544,7 @@ function foo(x: string | Array): string { ================================================================================ `; -exports[`sanity-return-type.js 1`] = ` +exports[`sanity-return-type.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/predicates-inferred/__snapshots__/jsfmt.spec.js.snap b/tests/flow/predicates-inferred/__snapshots__/jsfmt.spec.js.snap index 312cca2547..1f6b4f5b7a 100644 --- a/tests/flow/predicates-inferred/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/predicates-inferred/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`sanity.js 1`] = ` +exports[`sanity.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -66,7 +66,7 @@ function bak(z: string | number): number { ================================================================================ `; -exports[`sanity-multi-params.js 1`] = ` +exports[`sanity-multi-params.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -106,7 +106,7 @@ function foo(x: string | Array): string { ================================================================================ `; -exports[`sanity-ordering.js 1`] = ` +exports[`sanity-ordering.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -154,7 +154,7 @@ function dotAccess(head, create) { ================================================================================ `; -exports[`sanity-unbound-var.js 1`] = ` +exports[`sanity-unbound-var.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -200,7 +200,7 @@ function foo(x: string | Array): string { ================================================================================ `; -exports[`simple-predicate-func.js 1`] = ` +exports[`simple-predicate-func.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -358,7 +358,7 @@ declare function from_two_strings(x: string, y: string): void; ================================================================================ `; -exports[`simple-predicate-func-post.js 1`] = ` +exports[`simple-predicate-func-post.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/predicates-parsing/__snapshots__/jsfmt.spec.js.snap b/tests/flow/predicates-parsing/__snapshots__/jsfmt.spec.js.snap index 4cfc73b8d1..5903e2befe 100644 --- a/tests/flow/predicates-parsing/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/predicates-parsing/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`fail-0.js 1`] = ` +exports[`fail-0.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -22,7 +22,7 @@ declare function f2(x: mixed): boolean %checks; ================================================================================ `; -exports[`fail-1.js 1`] = ` +exports[`fail-1.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -44,7 +44,7 @@ function f6(x: mixed): %checks(x !== null) {} ================================================================================ `; -exports[`fail-2.js 1`] = ` +exports[`fail-2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -68,7 +68,7 @@ var a2 = (x: mixed): %checks(x !== null) => { ================================================================================ `; -exports[`fail-3.js 1`] = ` +exports[`fail-3.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -96,7 +96,7 @@ var a2 = (x: mixed): %checks(x !== null) => x !== null; ================================================================================ `; -exports[`pass.js 1`] = ` +exports[`pass.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/private/__snapshots__/jsfmt.spec.js.snap b/tests/flow/private/__snapshots__/jsfmt.spec.js.snap index 144b010cfe..8152f097b6 100644 --- a/tests/flow/private/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/private/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`private.js 1`] = ` +exports[`private.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/private_class_fields/__snapshots__/jsfmt.spec.js.snap b/tests/flow/private_class_fields/__snapshots__/jsfmt.spec.js.snap index 8b55f918f3..696257232a 100644 --- a/tests/flow/private_class_fields/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/private_class_fields/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/promises/__snapshots__/jsfmt.spec.js.snap b/tests/flow/promises/__snapshots__/jsfmt.spec.js.snap index 06eb857525..b54ec89a9a 100644 --- a/tests/flow/promises/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/promises/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`all.js 1`] = ` +exports[`all.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -90,7 +90,7 @@ function tes2(val: Map>) { ================================================================================ `; -exports[`covariance.js 1`] = ` +exports[`covariance.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -134,7 +134,7 @@ async function testRace() { ================================================================================ `; -exports[`promise.js 1`] = ` +exports[`promise.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -617,7 +617,7 @@ Promise.resolve(0) ================================================================================ `; -exports[`resolve_global.js 1`] = ` +exports[`resolve_global.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -711,7 +711,7 @@ async function baz(): Promise { ================================================================================ `; -exports[`resolve_void.js 1`] = ` +exports[`resolve_void.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/pure_component/__snapshots__/jsfmt.spec.js.snap b/tests/flow/pure_component/__snapshots__/jsfmt.spec.js.snap index 16f691e576..b5a420933b 100644 --- a/tests/flow/pure_component/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/pure_component/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/qualified/__snapshots__/jsfmt.spec.js.snap b/tests/flow/qualified/__snapshots__/jsfmt.spec.js.snap index 7052dee004..f6b88b1107 100644 --- a/tests/flow/qualified/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/qualified/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`qualified.js 1`] = ` +exports[`qualified.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/react/__snapshots__/jsfmt.spec.js.snap b/tests/flow/react/__snapshots__/jsfmt.spec.js.snap index c3825804d7..0cbfd48974 100644 --- a/tests/flow/react/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/react/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ArityError.react.js 1`] = ` +exports[`ArityError.react.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -34,7 +34,7 @@ module.exports = AudienceInsightsContainer; ================================================================================ `; -exports[`create_class.js 1`] = ` +exports[`create_class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -398,7 +398,7 @@ React.createClass(({}: {})); // error: spec must be [ ] exact and [x] sealed ================================================================================ `; -exports[`create_class_initial_state_sealed.js 1`] = ` +exports[`create_class_initial_state_sealed.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -586,7 +586,7 @@ React.createClass({ ================================================================================ `; -exports[`create_class_statics_sealed.js 1`] = ` +exports[`create_class_statics_sealed.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -710,7 +710,7 @@ F.baz = 0; ================================================================================ `; -exports[`createElement_string.js 1`] = ` +exports[`createElement_string.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -744,7 +744,7 @@ class Foo extends React.Component { ================================================================================ `; -exports[`createElementRequiredProp_string.js 1`] = ` +exports[`createElementRequiredProp_string.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -796,7 +796,7 @@ class Foo extends React.Component { ================================================================================ `; -exports[`import_react.js 1`] = ` +exports[`import_react.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -822,7 +822,7 @@ var b: number = new react.Component(); // Error: ReactComponent ~> number ================================================================================ `; -exports[`jsx_spread.js 1`] = ` +exports[`jsx_spread.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -856,7 +856,7 @@ var blah = ; // error bar, number given string expected ================================================================================ `; -exports[`proptype_any.js 1`] = ` +exports[`proptype_any.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -906,7 +906,7 @@ var AnyFunExample = React.createClass({ ================================================================================ `; -exports[`proptype_arrayOf.js 1`] = ` +exports[`proptype_arrayOf.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1008,7 +1008,7 @@ var InvalidExample = React.createClass({ ================================================================================ `; -exports[`proptype_custom_validator.js 1`] = ` +exports[`proptype_custom_validator.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1056,7 +1056,7 @@ var Example = React.createClass({ ================================================================================ `; -exports[`proptype_func.js 1`] = ` +exports[`proptype_func.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1096,7 +1096,7 @@ var fail_mistyped = ; ================================================================================ `; -exports[`proptype_incompatible.js 1`] = ` +exports[`proptype_incompatible.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1128,7 +1128,7 @@ var Example = React.createClass({ ================================================================================ `; -exports[`proptype_instanceOf.js 1`] = ` +exports[`proptype_instanceOf.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1226,7 +1226,7 @@ var PolyDefaultExample = React.createClass({ ================================================================================ `; -exports[`proptype_missing.js 1`] = ` +exports[`proptype_missing.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1302,7 +1302,7 @@ var Foo = React.createClass({ ================================================================================ `; -exports[`proptype_object.js 1`] = ` +exports[`proptype_object.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1340,7 +1340,7 @@ var fail_mistyped = ; ================================================================================ `; -exports[`proptype_objectOf.js 1`] = ` +exports[`proptype_objectOf.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1442,7 +1442,7 @@ var InvalidExample = React.createClass({ ================================================================================ `; -exports[`proptype_oneOf.js 1`] = ` +exports[`proptype_oneOf.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1628,7 +1628,7 @@ var NonLiteralElemExample = React.createClass({ ================================================================================ `; -exports[`proptype_oneOfType.js 1`] = ` +exports[`proptype_oneOfType.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1841,7 +1841,7 @@ var InvalidElemExample = React.createClass({ ================================================================================ `; -exports[`proptype_shape.js 1`] = ` +exports[`proptype_shape.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1923,7 +1923,7 @@ React.createClass({ ================================================================================ `; -exports[`proptypes_builtins.js 1`] = ` +exports[`proptypes_builtins.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1989,7 +1989,7 @@ type NoFun = (mixed) => empty; ================================================================================ `; -exports[`proptypes_sealed.js 1`] = ` +exports[`proptypes_sealed.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/react_functional/__snapshots__/jsfmt.spec.js.snap b/tests/flow/react_functional/__snapshots__/jsfmt.spec.js.snap index c6a161c130..4da8c7abe7 100644 --- a/tests/flow/react_functional/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/react_functional/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/react_modules/__snapshots__/jsfmt.spec.js.snap b/tests/flow/react_modules/__snapshots__/jsfmt.spec.js.snap index 28a1fcc02b..a12abe95fc 100644 --- a/tests/flow/react_modules/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/react_modules/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`createclass-callsite.js 1`] = ` +exports[`createclass-callsite.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -64,7 +64,7 @@ module.exports = Callsite; ================================================================================ `; -exports[`createclass-module.js 1`] = ` +exports[`createclass-module.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -104,7 +104,7 @@ module.exports = Hello; ================================================================================ `; -exports[`es6class-proptypes-callsite.js 1`] = ` +exports[`es6class-proptypes-callsite.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -168,7 +168,7 @@ module.exports = Callsite; ================================================================================ `; -exports[`es6class-proptypes-module.js 1`] = ` +exports[`es6class-proptypes-module.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -210,7 +210,7 @@ module.exports = Hello; ================================================================================ `; -exports[`es6class-types-callsite.js 1`] = ` +exports[`es6class-types-callsite.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -274,7 +274,7 @@ module.exports = Callsite; ================================================================================ `; -exports[`es6class-types-module.js 1`] = ` +exports[`es6class-types-module.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/rec/__snapshots__/jsfmt.spec.js.snap b/tests/flow/rec/__snapshots__/jsfmt.spec.js.snap index 37978ed6e0..579d50e78d 100644 --- a/tests/flow/rec/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/rec/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`issue-598.js 1`] = ` +exports[`issue-598.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -58,7 +58,7 @@ function identity(val: A): Functor { ================================================================================ `; -exports[`issue-1228.js 1`] = ` +exports[`issue-1228.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -89,7 +89,7 @@ function id(x: Task): Task { ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -135,7 +135,7 @@ pstar = (new P(): P>); // OK ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -207,7 +207,7 @@ class C extends B {} ================================================================================ `; -exports[`test3.js 1`] = ` +exports[`test3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -251,7 +251,7 @@ function bar(x: P): () => P { ================================================================================ `; -exports[`test4.js 1`] = ` +exports[`test4.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -265,7 +265,7 @@ type T = T; // cycle in type alias should not cause non-termination ================================================================================ `; -exports[`test5.js 1`] = ` +exports[`test5.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck-haste/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck-haste/__snapshots__/jsfmt.spec.js.snap index a273f7464e..6e9f87a910 100644 --- a/tests/flow/recheck-haste/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck-haste/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A1.js 1`] = ` +exports[`A1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -20,7 +20,7 @@ printWidth: 80 ================================================================================ `; -exports[`A3.js 1`] = ` +exports[`A3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -38,7 +38,7 @@ require("A"); ================================================================================ `; -exports[`B1.js 1`] = ` +exports[`B1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -62,7 +62,7 @@ require("B3"); ================================================================================ `; -exports[`B3.js 1`] = ` +exports[`B3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck-haste/dir1B/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck-haste/dir1B/__snapshots__/jsfmt.spec.js.snap index 783c6b0f6f..ea336614bc 100644 --- a/tests/flow/recheck-haste/dir1B/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck-haste/dir1B/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`B2.js 1`] = ` +exports[`B2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck-haste/tmp1A/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck-haste/tmp1A/__snapshots__/jsfmt.spec.js.snap index 2ddde79e9e..ed3ea8c758 100644 --- a/tests/flow/recheck-haste/tmp1A/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck-haste/tmp1A/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A2.js 1`] = ` +exports[`A2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck-haste/tmp2A/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck-haste/tmp2A/__snapshots__/jsfmt.spec.js.snap index 584bfdf760..b4b817759b 100644 --- a/tests/flow/recheck-haste/tmp2A/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck-haste/tmp2A/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A3.js 1`] = ` +exports[`A3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/__snapshots__/jsfmt.spec.js.snap index e17c6ad52e..4b20cad545 100644 --- a/tests/flow/recheck/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`a1.js 1`] = ` +exports[`a1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -28,7 +28,7 @@ module.exports = foo; ================================================================================ `; -exports[`a2.js 1`] = ` +exports[`a2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -50,7 +50,7 @@ module.exports = foo(""); ================================================================================ `; -exports[`a3.js 1`] = ` +exports[`a3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -72,7 +72,7 @@ const five = require("./a2"); ================================================================================ `; -exports[`b0.js 1`] = ` +exports[`b0.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -100,7 +100,7 @@ module.exports = { C, E }; ================================================================================ `; -exports[`b1.js 1`] = ` +exports[`b1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -134,7 +134,7 @@ module.exports = { C, D }; ================================================================================ `; -exports[`b2.js 1`] = ` +exports[`b2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -152,7 +152,7 @@ module.exports = require("./b1"); ================================================================================ `; -exports[`b3.js 1`] = ` +exports[`b3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -174,7 +174,7 @@ import { C, D } from "./b2"; ================================================================================ `; -exports[`c1.js 1`] = ` +exports[`c1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -192,7 +192,7 @@ export function foo(props: { x: number }) {} ================================================================================ `; -exports[`c2.js 1`] = ` +exports[`c2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -218,7 +218,7 @@ export function bar(props: { x: number }) { ================================================================================ `; -exports[`c3.js 1`] = ` +exports[`c3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -240,7 +240,7 @@ bar({ x: 0 }); ================================================================================ `; -exports[`d1.js 1`] = ` +exports[`d1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -262,7 +262,7 @@ export var x = new A(); ================================================================================ `; -exports[`d2.js 1`] = ` +exports[`d2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -282,7 +282,7 @@ export var y: A = x; ================================================================================ `; -exports[`e1.js 1`] = ` +exports[`e1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -307,7 +307,7 @@ export const LIFE = 42; ================================================================================ `; -exports[`e2.js 1`] = ` +exports[`e2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -341,7 +341,7 @@ import { LIFE } from "./e1"; ================================================================================ `; -exports[`f1.js 1`] = ` +exports[`f1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -373,7 +373,7 @@ module.exports = { a, b, c }; ================================================================================ `; -exports[`f2.js 1`] = ` +exports[`f2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -393,7 +393,7 @@ var { a, b, c } = require("./f1"); ================================================================================ `; -exports[`g1.js 1`] = ` +exports[`g1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -411,7 +411,7 @@ export class C {} ================================================================================ `; -exports[`g2.js 1`] = ` +exports[`g2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -437,7 +437,7 @@ module.exports = { D }; ================================================================================ `; -exports[`g3.js 1`] = ` +exports[`g3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -461,7 +461,7 @@ import { D } from "./g2"; ================================================================================ `; -exports[`h1.js 1`] = ` +exports[`h1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -479,7 +479,7 @@ export type Foo = number; ================================================================================ `; -exports[`h2.js 1`] = ` +exports[`h2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -497,7 +497,7 @@ import type { Foo } from "./h1"; ================================================================================ `; -exports[`i1.js 1`] = ` +exports[`i1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -519,7 +519,7 @@ module.exports = foo; ================================================================================ `; -exports[`i2.js 1`] = ` +exports[`i2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -541,7 +541,7 @@ foo.p = 0; ================================================================================ `; -exports[`j1.js 1`] = ` +exports[`j1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -563,7 +563,7 @@ module.exports = foo; ================================================================================ `; -exports[`j2.js 1`] = ` +exports[`j2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -585,7 +585,7 @@ foo.p = 0; ================================================================================ `; -exports[`k.js 1`] = ` +exports[`k.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp1a/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp1a/__snapshots__/jsfmt.spec.js.snap index 5d6c45dec4..acfdea2541 100644 --- a/tests/flow/recheck/tmp1a/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp1a/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`a1.js 1`] = ` +exports[`a1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp1b/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp1b/__snapshots__/jsfmt.spec.js.snap index 01244cfa4c..7a89f62dac 100644 --- a/tests/flow/recheck/tmp1b/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp1b/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`b1.js 1`] = ` +exports[`b1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp1c/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp1c/__snapshots__/jsfmt.spec.js.snap index 2ae9e534c2..3eb5f9fd1d 100644 --- a/tests/flow/recheck/tmp1c/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp1c/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`c2.js 1`] = ` +exports[`c2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp1d/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp1d/__snapshots__/jsfmt.spec.js.snap index 24d53dd627..c5f4a5ecec 100644 --- a/tests/flow/recheck/tmp1d/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp1d/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`d1.js 1`] = ` +exports[`d1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp1e/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp1e/__snapshots__/jsfmt.spec.js.snap index d09e03572f..7c46e7a9ce 100644 --- a/tests/flow/recheck/tmp1e/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp1e/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`e2.js 1`] = ` +exports[`e2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp1f/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp1f/__snapshots__/jsfmt.spec.js.snap index e6f8193760..ed56b8d541 100644 --- a/tests/flow/recheck/tmp1f/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp1f/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`f1.js 1`] = ` +exports[`f1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp1g/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp1g/__snapshots__/jsfmt.spec.js.snap index 4581abdb18..6d516a9a80 100644 --- a/tests/flow/recheck/tmp1g/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp1g/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`g1.js 1`] = ` +exports[`g1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp1h/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp1h/__snapshots__/jsfmt.spec.js.snap index 25bdd59727..78e475096f 100644 --- a/tests/flow/recheck/tmp1h/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp1h/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`h1.js 1`] = ` +exports[`h1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp1i/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp1i/__snapshots__/jsfmt.spec.js.snap index 8f12ee8953..213542337b 100644 --- a/tests/flow/recheck/tmp1i/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp1i/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`i1.js 1`] = ` +exports[`i1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp1j/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp1j/__snapshots__/jsfmt.spec.js.snap index 942ef2a7b7..9aebfaceae 100644 --- a/tests/flow/recheck/tmp1j/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp1j/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`j1.js 1`] = ` +exports[`j1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp2a/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp2a/__snapshots__/jsfmt.spec.js.snap index 13c94d68ff..1adc7652b2 100644 --- a/tests/flow/recheck/tmp2a/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp2a/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`a1.js 1`] = ` +exports[`a1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp2b/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp2b/__snapshots__/jsfmt.spec.js.snap index 2c9027fb54..db4a69a4e3 100644 --- a/tests/flow/recheck/tmp2b/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp2b/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`b0.js 1`] = ` +exports[`b0.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp2c/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp2c/__snapshots__/jsfmt.spec.js.snap index 06d867ab01..e40eac0d62 100644 --- a/tests/flow/recheck/tmp2c/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp2c/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`c1.js 1`] = ` +exports[`c1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp2e/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp2e/__snapshots__/jsfmt.spec.js.snap index c6a615c324..5963aec9b1 100644 --- a/tests/flow/recheck/tmp2e/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp2e/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`e1.js 1`] = ` +exports[`e1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp2f/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp2f/__snapshots__/jsfmt.spec.js.snap index 633add9369..b15554a3ce 100644 --- a/tests/flow/recheck/tmp2f/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp2f/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`f1.js 1`] = ` +exports[`f1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp3e/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp3e/__snapshots__/jsfmt.spec.js.snap index 76e7c84912..24ca46c888 100644 --- a/tests/flow/recheck/tmp3e/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp3e/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`e1.js 1`] = ` +exports[`e1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -25,7 +25,7 @@ export const LIFE = 0; ================================================================================ `; -exports[`e2.js 1`] = ` +exports[`e2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp3f/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp3f/__snapshots__/jsfmt.spec.js.snap index 71ee15e6d1..2baeedd696 100644 --- a/tests/flow/recheck/tmp3f/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp3f/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`f1.js 1`] = ` +exports[`f1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmp4f/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmp4f/__snapshots__/jsfmt.spec.js.snap index 7eadd95e77..8d4d883d39 100644 --- a/tests/flow/recheck/tmp4f/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmp4f/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`f1.js 1`] = ` +exports[`f1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmpk/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmpk/__snapshots__/jsfmt.spec.js.snap index c905eb17cb..1cc2d4ff8f 100644 --- a/tests/flow/recheck/tmpk/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmpk/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`k.js 1`] = ` +exports[`k.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/recheck/tmplibk/__snapshots__/jsfmt.spec.js.snap b/tests/flow/recheck/tmplibk/__snapshots__/jsfmt.spec.js.snap index edc5b7e418..f1ff3f0719 100644 --- a/tests/flow/recheck/tmplibk/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/recheck/tmplibk/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`libk1.js 1`] = ` +exports[`libk1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ type LibK = {}; ================================================================================ `; -exports[`libk2.js 1`] = ` +exports[`libk2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/record/__snapshots__/jsfmt.spec.js.snap b/tests/flow/record/__snapshots__/jsfmt.spec.js.snap index 4b0c880729..f2ce5fd4b1 100644 --- a/tests/flow/record/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/record/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/refi/__snapshots__/jsfmt.spec.js.snap b/tests/flow/refi/__snapshots__/jsfmt.spec.js.snap index b8e4e522cc..7bfaa1a8f1 100644 --- a/tests/flow/refi/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/refi/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`bound.js 1`] = ` +exports[`bound.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -141,7 +141,7 @@ var tests = [ ================================================================================ `; -exports[`heap.js 1`] = ` +exports[`heap.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -631,7 +631,7 @@ var tests = [ ================================================================================ `; -exports[`lex.js 1`] = ` +exports[`lex.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -715,7 +715,7 @@ function try_scope_catch(x: string | number) { ================================================================================ `; -exports[`local.js 1`] = ` +exports[`local.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -896,7 +896,7 @@ var paths = [ ================================================================================ `; -exports[`null_tests.js 1`] = ` +exports[`null_tests.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1210,7 +1210,7 @@ class D extends C { ================================================================================ `; -exports[`switch.js 1`] = ` +exports[`switch.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1348,7 +1348,7 @@ function exhaustion3(x): number { ================================================================================ `; -exports[`typeof_tests.js 1`] = ` +exports[`typeof_tests.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1617,7 +1617,7 @@ class A { ================================================================================ `; -exports[`undef_tests.js 1`] = ` +exports[`undef_tests.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1775,7 +1775,7 @@ class A { ================================================================================ `; -exports[`void_tests.js 1`] = ` +exports[`void_tests.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/refinements/__snapshots__/jsfmt.spec.js.snap b/tests/flow/refinements/__snapshots__/jsfmt.spec.js.snap index e4094b45b8..36f4985e63 100644 --- a/tests/flow/refinements/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/refinements/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`assignment.js 1`] = ` +exports[`assignment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -78,7 +78,7 @@ function bar2(x: Bar) { ================================================================================ `; -exports[`ast_node.js 1`] = ` +exports[`ast_node.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -112,7 +112,7 @@ export type ASTNode = Node1 | Node2; ================================================================================ `; -exports[`bool.js 1`] = ` +exports[`bool.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -216,7 +216,7 @@ let tests = [ ================================================================================ `; -exports[`computed_string_literal.js 1`] = ` +exports[`computed_string_literal.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -266,7 +266,7 @@ function testLiteralProperty(a: A) { ================================================================================ `; -exports[`cond_prop.js 1`] = ` +exports[`cond_prop.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -380,7 +380,7 @@ let tests = [ ================================================================================ `; -exports[`constants.js 1`] = ` +exports[`constants.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -400,7 +400,7 @@ export const ERROR: "ERROR" = "ERROR"; ================================================================================ `; -exports[`eq.js 1`] = ` +exports[`eq.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -463,7 +463,7 @@ let tests = [ ================================================================================ `; -exports[`exists.js 1`] = ` +exports[`exists.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -505,7 +505,7 @@ function foo2(x: ?Class): string { ================================================================================ `; -exports[`func_call.js 1`] = ` +exports[`func_call.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -541,7 +541,7 @@ let tests = [ ================================================================================ `; -exports[`hasOwnProperty.js 1`] = ` +exports[`hasOwnProperty.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -595,7 +595,7 @@ function bar(x: Object) { ================================================================================ `; -exports[`heap_defassign.js 1`] = ` +exports[`heap_defassign.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -775,7 +775,7 @@ function def_assign_setprop_nohavoc(obj: Obj, obj2: Obj2) { ================================================================================ `; -exports[`lib.js 1`] = ` +exports[`lib.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -793,7 +793,7 @@ declare var BAZ: { stuff?: (x: number) => void } | void; ================================================================================ `; -exports[`missing-property-cond.js 1`] = ` +exports[`missing-property-cond.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -941,7 +941,7 @@ function foo9() { ================================================================================ `; -exports[`mixed.js 1`] = ` +exports[`mixed.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -1195,7 +1195,7 @@ function arr0(x: mixed) { ================================================================================ `; -exports[`node1.js 1`] = ` +exports[`node1.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -1209,7 +1209,7 @@ module.exports = "Node1"; ================================================================================ `; -exports[`not.js 1`] = ` +exports[`not.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -1325,7 +1325,7 @@ let tests = [ ================================================================================ `; -exports[`null.js 1`] = ` +exports[`null.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -1357,7 +1357,7 @@ function null_bogus_comparison() { ================================================================================ `; -exports[`number.js 1`] = ` +exports[`number.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -1611,7 +1611,7 @@ let tests = [ ================================================================================ `; -exports[`property.js 1`] = ` +exports[`property.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -1790,7 +1790,7 @@ function c3( ================================================================================ `; -exports[`refinements.js 1`] = ` +exports[`refinements.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -1960,7 +1960,7 @@ function global_in_conditional2(x: number) { ================================================================================ `; -exports[`string.js 1`] = ` +exports[`string.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -2240,7 +2240,7 @@ let tests = [ ================================================================================ `; -exports[`super_member.js 1`] = ` +exports[`super_member.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -2305,7 +2305,7 @@ class C extends A { ================================================================================ `; -exports[`switch.js 1`] = ` +exports[`switch.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -2427,7 +2427,7 @@ function corge(text: string | number | Array): string { ================================================================================ `; -exports[`tagged_union.js 1`] = ` +exports[`tagged_union.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -3004,7 +3004,7 @@ let tests = [ ================================================================================ `; -exports[`tagged_union_import.js 1`] = ` +exports[`tagged_union_import.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -3062,7 +3062,7 @@ function handleStatus(status: Success | Error) { ================================================================================ `; -exports[`typeof.js 1`] = ` +exports[`typeof.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -3202,7 +3202,7 @@ function testInvalidTemplateLiteral(x: string | number) { ================================================================================ `; -exports[`undef.js 1`] = ` +exports[`undef.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -3374,7 +3374,7 @@ function undef_bogus_comparison() { ================================================================================ `; -exports[`union.js 1`] = ` +exports[`union.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -3428,7 +3428,7 @@ function baz(x: ?thing) { ================================================================================ `; -exports[`void.js 1`] = ` +exports[`void.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/reflection/__snapshots__/jsfmt.spec.js.snap b/tests/flow/reflection/__snapshots__/jsfmt.spec.js.snap index ea2e801629..5c15cdd960 100644 --- a/tests/flow/reflection/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/reflection/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`type.js 1`] = ` +exports[`type.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/regexp/__snapshots__/jsfmt.spec.js.snap b/tests/flow/regexp/__snapshots__/jsfmt.spec.js.snap index f99634670d..ac335ccd0c 100644 --- a/tests/flow/regexp/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/regexp/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`regexp.js 1`] = ` +exports[`regexp.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/replace/__snapshots__/jsfmt.spec.js.snap b/tests/flow/replace/__snapshots__/jsfmt.spec.js.snap index a6977bbea7..3bdb8cacdd 100644 --- a/tests/flow/replace/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/replace/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/require/__snapshots__/jsfmt.spec.js.snap b/tests/flow/require/__snapshots__/jsfmt.spec.js.snap index b98f8a5ae4..d08eb4daf8 100644 --- a/tests/flow/require/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/require/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ exports.numberValue = 42; ================================================================================ `; -exports[`C.js 1`] = ` +exports[`C.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -32,7 +32,7 @@ printWidth: 80 ================================================================================ `; -exports[`E.js 1`] = ` +exports[`E.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -64,7 +64,7 @@ exports = { stringValue: "" }; ================================================================================ `; -exports[`ProvidesModuleA.js 1`] = ` +exports[`ProvidesModuleA.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -88,7 +88,7 @@ exports.numberValue = 42; ================================================================================ `; -exports[`ProvidesModuleD.js 1`] = ` +exports[`ProvidesModuleD.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -108,7 +108,7 @@ printWidth: 80 ================================================================================ `; -exports[`not_builtin_require.js 1`] = ` +exports[`not_builtin_require.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -128,7 +128,7 @@ require("not a module name"); ================================================================================ `; -exports[`not_builtin_require2.js 1`] = ` +exports[`not_builtin_require2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -148,7 +148,7 @@ var a: require = 42; ================================================================================ `; -exports[`require.js 1`] = ` +exports[`require.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/requireLazy/__snapshots__/jsfmt.spec.js.snap b/tests/flow/requireLazy/__snapshots__/jsfmt.spec.js.snap index f9be5d15aa..1814145192 100644 --- a/tests/flow/requireLazy/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/requireLazy/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -30,7 +30,7 @@ module.exports = { ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -60,7 +60,7 @@ module.exports = { ================================================================================ `; -exports[`requireLazy.js 1`] = ` +exports[`requireLazy.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/return/__snapshots__/jsfmt.spec.js.snap b/tests/flow/return/__snapshots__/jsfmt.spec.js.snap index 6d9b33741e..f2bda7ceac 100644 --- a/tests/flow/return/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/return/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`function_return.js 1`] = ` +exports[`function_return.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -88,7 +88,7 @@ module.exports = C; ================================================================================ `; -exports[`void.js 1`] = ` +exports[`void.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/return_new/__snapshots__/jsfmt.spec.js.snap b/tests/flow/return_new/__snapshots__/jsfmt.spec.js.snap index eb23d3e58f..747405f964 100644 --- a/tests/flow/return_new/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/return_new/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -66,7 +66,7 @@ function makeUnion(): number | { x: string } { ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/seal/__snapshots__/jsfmt.spec.js.snap b/tests/flow/seal/__snapshots__/jsfmt.spec.js.snap index 68059a96aa..a72038dbab 100644 --- a/tests/flow/seal/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/seal/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`imp.js 1`] = ` +exports[`imp.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -20,7 +20,7 @@ imp({ name: "imp" }); ================================================================================ `; -exports[`obj_annot.js 1`] = ` +exports[`obj_annot.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/sealed/__snapshots__/jsfmt.spec.js.snap b/tests/flow/sealed/__snapshots__/jsfmt.spec.js.snap index 4279f450ee..705a62825e 100644 --- a/tests/flow/sealed/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/sealed/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`function.js 1`] = ` +exports[`function.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -34,7 +34,7 @@ module.exports = Bar; ================================================================================ `; -exports[`proto.js 1`] = ` +exports[`proto.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -80,7 +80,7 @@ module.exports = export_o; ================================================================================ `; -exports[`sealed.js 1`] = ` +exports[`sealed.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/sealed_objects/__snapshots__/jsfmt.spec.js.snap b/tests/flow/sealed_objects/__snapshots__/jsfmt.spec.js.snap index c13aa3d5a8..b1f825b845 100644 --- a/tests/flow/sealed_objects/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/sealed_objects/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/shape/__snapshots__/jsfmt.spec.js.snap b/tests/flow/shape/__snapshots__/jsfmt.spec.js.snap index 42ea56de33..9d871ed4dc 100644 --- a/tests/flow/shape/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/shape/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`shadow.js 1`] = ` +exports[`shadow.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -18,7 +18,7 @@ var o = {}; ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/simple_arrays/__snapshots__/jsfmt.spec.js.snap b/tests/flow/simple_arrays/__snapshots__/jsfmt.spec.js.snap index 828ee61306..d410c8651d 100644 --- a/tests/flow/simple_arrays/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/simple_arrays/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`array.js 1`] = ` +exports[`array.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -61,7 +61,7 @@ function baz(i: number): string { ================================================================================ `; -exports[`array2.js 1`] = ` +exports[`array2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/singleton/__snapshots__/jsfmt.spec.js.snap b/tests/flow/singleton/__snapshots__/jsfmt.spec.js.snap index 7f8f85a430..7bb219c812 100644 --- a/tests/flow/singleton/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/singleton/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`boolean.js 1`] = ` +exports[`boolean.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -86,7 +86,7 @@ function alwaysFalsy(x: boolean): false { ================================================================================ `; -exports[`number.js 1`] = ` +exports[`number.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -143,7 +143,7 @@ sort((x, y) => -1); ================================================================================ `; -exports[`string.js 1`] = ` +exports[`string.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/sketchy_null_default/__snapshots__/jsfmt.spec.js.snap b/tests/flow/sketchy_null_default/__snapshots__/jsfmt.spec.js.snap index a44397a3cf..5e71504a4d 100644 --- a/tests/flow/sketchy_null_default/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/sketchy_null_default/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/spread/__snapshots__/jsfmt.spec.js.snap b/tests/flow/spread/__snapshots__/jsfmt.spec.js.snap index c0494edda6..81b05c5d04 100644 --- a/tests/flow/spread/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/spread/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -74,7 +74,7 @@ function parseTimeframe(line: string): { begin: number, end: number } { ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -104,7 +104,7 @@ foo({ foo: 42 }); ================================================================================ `; -exports[`test3.js 1`] = ` +exports[`test3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -150,7 +150,7 @@ var t: boolean = s.y; // error, string or number ================================================================================ `; -exports[`test4.js 1`] = ` +exports[`test4.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -170,7 +170,7 @@ test(0, ...[1, 2, 3]); ================================================================================ `; -exports[`test5.js 1`] = ` +exports[`test5.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -232,7 +232,7 @@ function test( ================================================================================ `; -exports[`test6.js 1`] = ` +exports[`test6.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -284,7 +284,7 @@ for (var i = 0; i < 10; i++) { ================================================================================ `; -exports[`test7.js 1`] = ` +exports[`test7.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/static_overload/__snapshots__/jsfmt.spec.js.snap b/tests/flow/static_overload/__snapshots__/jsfmt.spec.js.snap index a2adc5d4b7..6b764286d5 100644 --- a/tests/flow/static_overload/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/static_overload/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/static_overload/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/static_overload/lib/__snapshots__/jsfmt.spec.js.snap index 6f7ebfed55..31ad1a0715 100644 --- a/tests/flow/static_overload/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/static_overload/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`lib.js 1`] = ` +exports[`lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/statics/__snapshots__/jsfmt.spec.js.snap b/tests/flow/statics/__snapshots__/jsfmt.spec.js.snap index 95d5adaaec..6b503a27fe 100644 --- a/tests/flow/statics/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/statics/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`class_statics.js 1`] = ` +exports[`class_statics.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -33,7 +33,7 @@ C.x = 0; ================================================================================ `; -exports[`funstatics.js 1`] = ` +exports[`funstatics.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/strict/__snapshots__/jsfmt.spec.js.snap b/tests/flow/strict/__snapshots__/jsfmt.spec.js.snap index 70bf6e8b77..ba6b618589 100644 --- a/tests/flow/strict/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/strict/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`annot.js 1`] = ` +exports[`annot.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -34,7 +34,7 @@ module.exports = B; ================================================================================ `; -exports[`fun.js 1`] = ` +exports[`fun.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -74,7 +74,7 @@ module.exports = f; ================================================================================ `; -exports[`obj.js 1`] = ` +exports[`obj.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/strict_requires/__snapshots__/jsfmt.spec.js.snap b/tests/flow/strict_requires/__snapshots__/jsfmt.spec.js.snap index 1d2fe98555..f10c5f7a41 100644 --- a/tests/flow/strict_requires/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/strict_requires/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -16,7 +16,7 @@ module.exports = 0; ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -32,7 +32,7 @@ module.exports = { foo: "" }; ================================================================================ `; -exports[`C.js 1`] = ` +exports[`C.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -56,7 +56,7 @@ module.exports = o; ================================================================================ `; -exports[`D.js 1`] = ` +exports[`D.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/structural_subtyping/__snapshots__/jsfmt.spec.js.snap b/tests/flow/structural_subtyping/__snapshots__/jsfmt.spec.js.snap index 4b74006525..9fd1ec0512 100644 --- a/tests/flow/structural_subtyping/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/structural_subtyping/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`builtin.js 1`] = ` +exports[`builtin.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -36,7 +36,7 @@ var lengthTest4: IHasLength = true; // bool doesn't have length ================================================================================ `; -exports[`class.js 1`] = ` +exports[`class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -94,7 +94,7 @@ var testInstance3: IHasYString = new ClassWithXString(); // Error missing prop ================================================================================ `; -exports[`obj.js 1`] = ` +exports[`obj.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -146,7 +146,7 @@ function propTest6(y: { [key: string]: number }) { ================================================================================ `; -exports[`optional.js 1`] = ` +exports[`optional.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/suggest/__snapshots__/jsfmt.spec.js.snap b/tests/flow/suggest/__snapshots__/jsfmt.spec.js.snap index a1a7b2de63..55925d6405 100644 --- a/tests/flow/suggest/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/suggest/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`lib.js 1`] = ` +exports[`lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -24,7 +24,7 @@ module.exports = bar; ================================================================================ `; -exports[`suggest.js 1`] = ` +exports[`suggest.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/super/__snapshots__/jsfmt.spec.js.snap b/tests/flow/super/__snapshots__/jsfmt.spec.js.snap index 2937524ad2..28d5815f40 100644 --- a/tests/flow/super/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/super/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`constructor.js 1`] = ` +exports[`constructor.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -322,7 +322,7 @@ class N extends N_ { ================================================================================ `; -exports[`import.js 1`] = ` +exports[`import.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -344,7 +344,7 @@ module.exports = D; ================================================================================ `; -exports[`super.js 1`] = ` +exports[`super.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -401,7 +401,7 @@ class B extends A { ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/suppress/__snapshots__/jsfmt.spec.js.snap b/tests/flow/suppress/__snapshots__/jsfmt.spec.js.snap index 7950dc95b4..640766c4e7 100644 --- a/tests/flow/suppress/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/suppress/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -60,7 +60,7 @@ var test6: string = 123; ================================================================================ `; -exports[`B.js 1`] = ` +exports[`B.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -76,7 +76,7 @@ var test1: string = library_num; ================================================================================ `; -exports[`C.js 1`] = ` +exports[`C.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -104,7 +104,7 @@ function runTest(y: number): void { ================================================================================ `; -exports[`D.js 1`] = ` +exports[`D.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -132,7 +132,7 @@ x = y; ================================================================================ `; -exports[`lib.js 1`] = ` +exports[`lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/suppress_incremental/__snapshots__/jsfmt.spec.js.snap b/tests/flow/suppress_incremental/__snapshots__/jsfmt.spec.js.snap index 333deabd27..6e4cafa434 100644 --- a/tests/flow/suppress_incremental/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/suppress_incremental/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/suppress_traces/__snapshots__/jsfmt.spec.js.snap b/tests/flow/suppress_traces/__snapshots__/jsfmt.spec.js.snap index 24473b18fd..9d36e80dff 100644 --- a/tests/flow/suppress_traces/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/suppress_traces/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`traces.js 1`] = ` +exports[`traces.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/switch/__snapshots__/jsfmt.spec.js.snap b/tests/flow/switch/__snapshots__/jsfmt.spec.js.snap index 9466e8f3f7..a7351e4655 100644 --- a/tests/flow/switch/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/switch/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`more_switch.js 1`] = ` +exports[`more_switch.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -71,7 +71,7 @@ function baz(x): number { ================================================================================ `; -exports[`switch.js 1`] = ` +exports[`switch.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -142,7 +142,7 @@ function qux(b) { ================================================================================ `; -exports[`switch_default_fallthrough.js 1`] = ` +exports[`switch_default_fallthrough.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -248,7 +248,7 @@ function baz(x: mixed): number { ================================================================================ `; -exports[`trailing_cases.js 1`] = ` +exports[`trailing_cases.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/symbol/__snapshots__/jsfmt.spec.js.snap b/tests/flow/symbol/__snapshots__/jsfmt.spec.js.snap index 669657785f..a4496c1842 100644 --- a/tests/flow/symbol/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/symbol/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`symbol.js 1`] = ` +exports[`symbol.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/symlink/__snapshots__/jsfmt.spec.js.snap b/tests/flow/symlink/__snapshots__/jsfmt.spec.js.snap index 402e289474..29f5265e85 100644 --- a/tests/flow/symlink/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/symlink/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`bar.js 1`] = ` +exports[`bar.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ export type Foo = { x: number }; ================================================================================ `; -exports[`foo.js 1`] = ` +exports[`foo.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -28,7 +28,7 @@ export type Foo = { x: number }; ================================================================================ `; -exports[`qux.js 1`] = ` +exports[`qux.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/tagged-unions/__snapshots__/jsfmt.spec.js.snap b/tests/flow/tagged-unions/__snapshots__/jsfmt.spec.js.snap index 95701fa43d..0ce546b86f 100644 --- a/tests/flow/tagged-unions/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/tagged-unions/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`classes.js 1`] = ` +exports[`classes.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -74,7 +74,7 @@ function bar(x: Bar): string { ================================================================================ `; -exports[`interfaces-neg.js 1`] = ` +exports[`interfaces-neg.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -138,7 +138,7 @@ if (data.kind === "user") { ================================================================================ `; -exports[`interfaces-pos.js 1`] = ` +exports[`interfaces-pos.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -202,7 +202,7 @@ if (data.kind === "system") { ================================================================================ `; -exports[`type-decls-neg.js 1`] = ` +exports[`type-decls-neg.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -274,7 +274,7 @@ if (data.kind === "user") { ================================================================================ `; -exports[`type-decls-pos.js 1`] = ` +exports[`type-decls-pos.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/taint/__snapshots__/jsfmt.spec.js.snap b/tests/flow/taint/__snapshots__/jsfmt.spec.js.snap index 62cfca4e2d..5e2ffdbfd3 100644 --- a/tests/flow/taint/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/taint/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`adder.js 1`] = ` +exports[`adder.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -74,7 +74,7 @@ function f7(x: $Tainted, y: $Tainted) { ================================================================================ `; -exports[`any_object.js 1`] = ` +exports[`any_object.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -136,7 +136,7 @@ let tests = [ ================================================================================ `; -exports[`call-object-property.js 1`] = ` +exports[`call-object-property.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -198,7 +198,7 @@ function f_foo3(f1: Function, o1: Object, o2: { t: $Tainted }) { ================================================================================ `; -exports[`comparator.js 1`] = ` +exports[`comparator.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -246,7 +246,7 @@ function f3(x: $Tainted, y: string) { ================================================================================ `; -exports[`function.js 1`] = ` +exports[`function.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -286,7 +286,7 @@ let tests = [ ================================================================================ `; -exports[`globals.js 1`] = ` +exports[`globals.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -322,7 +322,7 @@ class A { ================================================================================ `; -exports[`lib.js 1`] = ` +exports[`lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -358,7 +358,7 @@ declare var fakeLocation: FakeLocation; ================================================================================ `; -exports[`taint1.js 1`] = ` +exports[`taint1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -390,7 +390,7 @@ class A { ================================================================================ `; -exports[`taint2.js 1`] = ` +exports[`taint2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -422,7 +422,7 @@ class A { ================================================================================ `; -exports[`taint3.js 1`] = ` +exports[`taint3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -458,7 +458,7 @@ class A { ================================================================================ `; -exports[`taint4.js 1`] = ` +exports[`taint4.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -496,7 +496,7 @@ function f(x: $Tainted) { ================================================================================ `; -exports[`use-types.js 1`] = ` +exports[`use-types.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/template/__snapshots__/jsfmt.spec.js.snap b/tests/flow/template/__snapshots__/jsfmt.spec.js.snap index 477411dc70..1d266cd3a0 100644 --- a/tests/flow/template/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/template/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`template.js 1`] = ` +exports[`template.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/this/__snapshots__/jsfmt.spec.js.snap b/tests/flow/this/__snapshots__/jsfmt.spec.js.snap index 286b00a45c..115c773cec 100644 --- a/tests/flow/this/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/this/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`This.js 1`] = ` +exports[`This.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -138,7 +138,7 @@ module.exports = true; ================================================================================ `; -exports[`arrows.js 1`] = ` +exports[`arrows.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/this_ctor/__snapshots__/jsfmt.spec.js.snap b/tests/flow/this_ctor/__snapshots__/jsfmt.spec.js.snap index ff9e5f7ebd..6375f19e95 100644 --- a/tests/flow/this_ctor/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/this_ctor/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/this_type/__snapshots__/jsfmt.spec.js.snap b/tests/flow/this_type/__snapshots__/jsfmt.spec.js.snap index a7adeabe15..f2db565cca 100644 --- a/tests/flow/this_type/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/this_type/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`class_expr.js 1`] = ` +exports[`class_expr.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -28,7 +28,7 @@ const Thing = class Thing { ================================================================================ `; -exports[`contra.js 1`] = ` +exports[`contra.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -156,7 +156,7 @@ class Misc { ================================================================================ `; -exports[`export.js 1`] = ` +exports[`export.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -202,7 +202,7 @@ export class A3 extends A2 {} ================================================================================ `; -exports[`generics.js 1`] = ` +exports[`generics.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -237,7 +237,7 @@ class ImplicitNumber extends Implicit { ================================================================================ `; -exports[`import.js 1`] = ` +exports[`import.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -297,7 +297,7 @@ class B3 extends A3 { ================================================================================ `; -exports[`interface.js 1`] = ` +exports[`interface.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -335,7 +335,7 @@ function bar(c: C): J { ================================================================================ `; -exports[`lib_client.js 1`] = ` +exports[`lib_client.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -367,7 +367,7 @@ class C { ================================================================================ `; -exports[`self.js 1`] = ` +exports[`self.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -397,7 +397,7 @@ class A { ================================================================================ `; -exports[`statics.js 1`] = ` +exports[`statics.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -444,7 +444,7 @@ class B extends A {} // inherits statics method too, with \`this\` bound to the ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/this_type/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/this_type/lib/__snapshots__/jsfmt.spec.js.snap index 4ee5e58a79..e11c4ae4e5 100644 --- a/tests/flow/this_type/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/this_type/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`decl.js 1`] = ` +exports[`decl.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/throw/__snapshots__/jsfmt.spec.js.snap b/tests/flow/throw/__snapshots__/jsfmt.spec.js.snap index 22de2ff147..a0e35e14ca 100644 --- a/tests/flow/throw/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/throw/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/traces/__snapshots__/jsfmt.spec.js.snap b/tests/flow/traces/__snapshots__/jsfmt.spec.js.snap index c3c603318e..7526d1716d 100644 --- a/tests/flow/traces/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/traces/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Traces.js 1`] = ` +exports[`Traces.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -64,7 +64,7 @@ f3(double); ================================================================================ `; -exports[`Traces2.js 1`] = ` +exports[`Traces2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/traits/__snapshots__/jsfmt.spec.js.snap b/tests/flow/traits/__snapshots__/jsfmt.spec.js.snap index 92d2884527..3149409740 100644 --- a/tests/flow/traits/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/traits/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -53,7 +53,7 @@ declare class Baz { ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/try/__snapshots__/jsfmt.spec.js.snap b/tests/flow/try/__snapshots__/jsfmt.spec.js.snap index fddce7dc47..419cfd3508 100644 --- a/tests/flow/try/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/try/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`abnormals.js 1`] = ` +exports[`abnormals.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -42,7 +42,7 @@ function foo() { ================================================================================ `; -exports[`init.js 1`] = ` +exports[`init.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -358,7 +358,7 @@ function f(b) { ================================================================================ `; -exports[`return.js 1`] = ` +exports[`return.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -498,7 +498,7 @@ function corge(): string { ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/tuples/__snapshots__/jsfmt.spec.js.snap b/tests/flow/tuples/__snapshots__/jsfmt.spec.js.snap index eea0e1fc3b..f7c008c443 100644 --- a/tests/flow/tuples/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/tuples/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`array.js 1`] = ` +exports[`array.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -30,7 +30,7 @@ function foo(x: Array): [number, ?number] { ================================================================================ `; -exports[`optional.js 1`] = ` +exports[`optional.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -54,7 +54,7 @@ printWidth: 80 ================================================================================ `; -exports[`too-few.js 1`] = ` +exports[`too-few.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -76,7 +76,7 @@ foo([{}]); // error, too few elements in array passed to a tuple ================================================================================ `; -exports[`tuples.js 1`] = ` +exports[`tuples.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/type-at-pos/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type-at-pos/__snapshots__/jsfmt.spec.js.snap index dfb85ec6d6..f9dab23c08 100644 --- a/tests/flow/type-at-pos/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type-at-pos/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`destructuring.js 1`] = ` +exports[`destructuring.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -50,7 +50,7 @@ export const X = { ================================================================================ `; -exports[`function_expressions.js 1`] = ` +exports[`function_expressions.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -110,7 +110,7 @@ const d = { ================================================================================ `; -exports[`generics.js 1`] = ` +exports[`generics.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -176,7 +176,7 @@ mn; ================================================================================ `; -exports[`import.js 1`] = ` +exports[`import.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -198,7 +198,7 @@ module.exports = num; ================================================================================ `; -exports[`object_special_cases.js 1`] = ` +exports[`object_special_cases.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -226,7 +226,7 @@ let tests = [ ================================================================================ `; -exports[`optional.js 1`] = ` +exports[`optional.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -268,7 +268,7 @@ function qux(x?) { ================================================================================ `; -exports[`predicates.js 1`] = ` +exports[`predicates.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -295,7 +295,7 @@ if (Array.isArray(x)) { ================================================================================ `; -exports[`react.js 1`] = ` +exports[`react.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -311,7 +311,7 @@ React.createElement; ================================================================================ `; -exports[`templates.js 1`] = ` +exports[`templates.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -327,7 +327,7 @@ printWidth: 80 ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -367,7 +367,7 @@ const w: MyNum = 42; ================================================================================ `; -exports[`trycatch.js 1`] = ` +exports[`trycatch.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/type-destructors/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type-destructors/__snapshots__/jsfmt.spec.js.snap index e852dceb5f..2ba38d2ba9 100644 --- a/tests/flow/type-destructors/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type-destructors/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`non_maybe_type.js 1`] = ` +exports[`non_maybe_type.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -37,7 +37,7 @@ function foo(x: ?string): $NonMaybeType { ================================================================================ `; -exports[`property_type.js 1`] = ` +exports[`property_type.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -71,7 +71,7 @@ function foo(o: Obj): $PropertyType { ================================================================================ `; -exports[`union.js 1`] = ` +exports[`union.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/type-printer/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type-printer/__snapshots__/jsfmt.spec.js.snap index 1f80fa12a8..5cf6752077 100644 --- a/tests/flow/type-printer/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type-printer/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`printBinaryExpression.js 1`] = ` +exports[`printBinaryExpression.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -50,7 +50,7 @@ module.exports = printBinaryExpression; ================================================================================ `; -exports[`types.js 1`] = ` +exports[`types.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/type_args_nonstrict/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type_args_nonstrict/__snapshots__/jsfmt.spec.js.snap index 9d9e4d2286..d5bd96a35e 100644 --- a/tests/flow/type_args_nonstrict/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type_args_nonstrict/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/type_args_strict/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type_args_strict/__snapshots__/jsfmt.spec.js.snap index 4b48c5b80b..944c063152 100644 --- a/tests/flow/type_args_strict/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type_args_strict/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/type_only_vars/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type_only_vars/__snapshots__/jsfmt.spec.js.snap index 0910516c75..f263473f22 100644 --- a/tests/flow/type_only_vars/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type_only_vars/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`A.js 1`] = ` +exports[`A.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -38,7 +38,7 @@ module.exports = { ================================================================================ `; -exports[`bad_shadowing.js 1`] = ` +exports[`bad_shadowing.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -86,7 +86,7 @@ var duck: string = "quack"; ================================================================================ `; -exports[`good_shadowing.js 1`] = ` +exports[`good_shadowing.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -138,7 +138,7 @@ var b: Foo = new A.Foo(); ================================================================================ `; -exports[`import_type.js 1`] = ` +exports[`import_type.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -184,7 +184,7 @@ var a: Foo = new actualA.Foo(); ================================================================================ `; -exports[`type_alias.js 1`] = ` +exports[`type_alias.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/type_param_defaults/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type_param_defaults/__snapshots__/jsfmt.spec.js.snap index 3f9e0dd2aa..634a0ca51f 100644 --- a/tests/flow/type_param_defaults/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type_param_defaults/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`classes.js 1`] = ` +exports[`classes.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/type_param_scope/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type_param_scope/__snapshots__/jsfmt.spec.js.snap index 777260d17c..1e5b1ed3af 100644 --- a/tests/flow/type_param_scope/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type_param_scope/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`class.js 1`] = ` +exports[`class.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -28,7 +28,7 @@ class C { ================================================================================ `; -exports[`default_params.js 1`] = ` +exports[`default_params.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -64,7 +64,7 @@ f(0); // ok ================================================================================ `; -exports[`method_shadow.js 1`] = ` +exports[`method_shadow.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/type_param_variance/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type_param_variance/__snapshots__/jsfmt.spec.js.snap index cc984496e1..0a8f2849b0 100644 --- a/tests/flow/type_param_variance/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type_param_variance/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`promise.js 1`] = ` +exports[`promise.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/type_param_variance2/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type_param_variance2/__snapshots__/jsfmt.spec.js.snap index f2a4aea37d..d8d27b9195 100644 --- a/tests/flow/type_param_variance2/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type_param_variance2/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`promise.js 1`] = ` +exports[`promise.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/type_param_variance2/libs/__snapshots__/jsfmt.spec.js.snap b/tests/flow/type_param_variance2/libs/__snapshots__/jsfmt.spec.js.snap index 3c3e86a52d..c8e6612a93 100644 --- a/tests/flow/type_param_variance2/libs/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/type_param_variance2/libs/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Promise.js 1`] = ` +exports[`Promise.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/typeapp_perf/__snapshots__/jsfmt.spec.js.snap b/tests/flow/typeapp_perf/__snapshots__/jsfmt.spec.js.snap index 117d44a145..29c42ac95f 100644 --- a/tests/flow/typeapp_perf/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/typeapp_perf/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test1.js 1`] = ` +exports[`test1.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -52,7 +52,7 @@ declare var b: B; ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow/typecast/__snapshots__/jsfmt.spec.js.snap b/tests/flow/typecast/__snapshots__/jsfmt.spec.js.snap index a704b94c96..44fa68b913 100644 --- a/tests/flow/typecast/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/typecast/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`typecast.js 1`] = ` +exports[`typecast.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/typeof/__snapshots__/jsfmt.spec.js.snap b/tests/flow/typeof/__snapshots__/jsfmt.spec.js.snap index cac7af06b5..9785181753 100644 --- a/tests/flow/typeof/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/typeof/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`typeof.js 1`] = ` +exports[`typeof.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/unary/__snapshots__/jsfmt.spec.js.snap b/tests/flow/unary/__snapshots__/jsfmt.spec.js.snap index 161df1d9ce..73d4a2d467 100644 --- a/tests/flow/unary/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/unary/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`unary.js 1`] = ` +exports[`unary.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -50,7 +50,7 @@ function x4(y: string): boolean { ================================================================================ `; -exports[`update.js 1`] = ` +exports[`update.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/unchecked_haste_module_vs_lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/unchecked_haste_module_vs_lib/__snapshots__/jsfmt.spec.js.snap index 6029d5cd41..ac95965a6e 100644 --- a/tests/flow/unchecked_haste_module_vs_lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/unchecked_haste_module_vs_lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`buffer.js 1`] = ` +exports[`buffer.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -36,7 +36,7 @@ export var INSPECT_MAX_BYTES = 0; ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/unchecked_node_module_vs_lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/unchecked_node_module_vs_lib/__snapshots__/jsfmt.spec.js.snap index 110cc61e1a..38f2b99dcd 100644 --- a/tests/flow/unchecked_node_module_vs_lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/unchecked_node_module_vs_lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/undefined/__snapshots__/jsfmt.spec.js.snap b/tests/flow/undefined/__snapshots__/jsfmt.spec.js.snap index c6ab2ee961..d622b9f1c9 100644 --- a/tests/flow/undefined/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/undefined/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`issue-518.js 1`] = ` +exports[`issue-518.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -36,7 +36,7 @@ foo(); ================================================================================ `; -exports[`undefined.js 1`] = ` +exports[`undefined.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -70,7 +70,7 @@ function qux(x?: number, y: string = "", z) {} ================================================================================ `; -exports[`undefined2.js 1`] = ` +exports[`undefined2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/unicode/__snapshots__/jsfmt.spec.js.snap b/tests/flow/unicode/__snapshots__/jsfmt.spec.js.snap index b086ae803d..21dd89b25a 100644 --- a/tests/flow/unicode/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/unicode/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`UnicodeUtils.js 1`] = ` +exports[`UnicodeUtils.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/union-intersection/__snapshots__/jsfmt.spec.js.snap b/tests/flow/union-intersection/__snapshots__/jsfmt.spec.js.snap index dc16ce22a9..405354a940 100644 --- a/tests/flow/union-intersection/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/union-intersection/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`gen_big_disjoint_union.js 1`] = ` +exports[`gen_big_disjoint_union.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -8020,7 +8020,7 @@ function foo(x: TAction): TAction { ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/union/__snapshots__/jsfmt.spec.js.snap b/tests/flow/union/__snapshots__/jsfmt.spec.js.snap index c11bca2a85..20bad672d4 100644 --- a/tests/flow/union/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/union/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`blowup.js 1`] = ` +exports[`blowup.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -113,7 +113,7 @@ export class ModOp extends BinaryExpression< ================================================================================ `; -exports[`fields.js 1`] = ` +exports[`fields.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -137,7 +137,7 @@ class C { ================================================================================ `; -exports[`fields2.js 1`] = ` +exports[`fields2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -167,7 +167,7 @@ class D { ================================================================================ `; -exports[`issue-17.js 1`] = ` +exports[`issue-17.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -209,7 +209,7 @@ var l: Array = [ ================================================================================ `; -exports[`issue-198.js 1`] = ` +exports[`issue-198.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -241,7 +241,7 @@ var p = new Promise(function (resolve, reject) { ================================================================================ `; -exports[`issue-256.js 1`] = ` +exports[`issue-256.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -267,7 +267,7 @@ myclass.myfun(["1", "2", "3", "4", "5", "6", "7", function (ar) {}]); ================================================================================ `; -exports[`issue-323.js 1`] = ` +exports[`issue-323.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -285,7 +285,7 @@ var foostr: Foo | string = foo; ================================================================================ `; -exports[`issue-323-lib.js 1`] = ` +exports[`issue-323-lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -303,7 +303,7 @@ module.exports = Foo; ================================================================================ `; -exports[`issue-324.js 1`] = ` +exports[`issue-324.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -331,7 +331,7 @@ foostr = barstr; ================================================================================ `; -exports[`issue-325.js 1`] = ` +exports[`issue-325.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -371,7 +371,7 @@ class Tag_ { ================================================================================ `; -exports[`issue-326.js 1`] = ` +exports[`issue-326.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -391,7 +391,7 @@ var result = numberAndStringArr.concat(stringArr); // no error ================================================================================ `; -exports[`issue-582.js 1`] = ` +exports[`issue-582.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -431,7 +431,7 @@ var nested2: FooBarBaz = "baz"; ================================================================================ `; -exports[`issue-963.js 1`] = ` +exports[`issue-963.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -511,7 +511,7 @@ const u3: union2 = { ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -561,7 +561,7 @@ bar(f); ================================================================================ `; -exports[`test-lib.js 1`] = ` +exports[`test-lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -581,7 +581,7 @@ module.exports = C; ================================================================================ `; -exports[`type-app.js 1`] = ` +exports[`type-app.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -621,7 +621,7 @@ var b: Iterator | number = 123; ================================================================================ `; -exports[`union.js 1`] = ` +exports[`union.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -675,7 +675,7 @@ function corge(b) { ================================================================================ `; -exports[`yuge.js 1`] = ` +exports[`yuge.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/union_new/__snapshots__/jsfmt.spec.js.snap b/tests/flow/union_new/__snapshots__/jsfmt.spec.js.snap index 913b281dc3..333c3b4311 100644 --- a/tests/flow/union_new/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/union_new/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`issue-815.js 1`] = ` +exports[`issue-815.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -52,7 +52,7 @@ class VirtualNode { ================================================================================ `; -exports[`issue-824.js 1`] = ` +exports[`issue-824.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -96,7 +96,7 @@ export default class A { ================================================================================ `; -exports[`issue-824-helper.js 1`] = ` +exports[`issue-824-helper.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -132,7 +132,7 @@ export class C extends A { ================================================================================ `; -exports[`issue-1349.js 1`] = ` +exports[`issue-1349.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -156,7 +156,7 @@ var bar: Array<{ b: ?boolean, c: number } | { b: boolean }> = [ ================================================================================ `; -exports[`issue-1371.js 1`] = ` +exports[`issue-1371.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -183,7 +183,7 @@ function create( ================================================================================ `; -exports[`issue-1455.js 1`] = ` +exports[`issue-1455.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -212,7 +212,7 @@ function node(content: ?Foobar | String | Array) { ================================================================================ `; -exports[`issue-1455-helper.js 1`] = ` +exports[`issue-1455-helper.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -230,7 +230,7 @@ export class Foobar {} ================================================================================ `; -exports[`issue-1462-i.js 1`] = ` +exports[`issue-1462-i.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -285,7 +285,7 @@ function printAll(val: MyType) { ================================================================================ `; -exports[`issue-1462-ii.js 1`] = ` +exports[`issue-1462-ii.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -349,7 +349,7 @@ function printAll(val: MyType) { ================================================================================ `; -exports[`issue-1664.js 1`] = ` +exports[`issue-1664.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -413,7 +413,7 @@ if (data.kind === "system") { ================================================================================ `; -exports[`issue-1759.js 1`] = ` +exports[`issue-1759.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -442,7 +442,7 @@ function hello(x: X): string { ================================================================================ `; -exports[`issue-2232.js 1`] = ` +exports[`issue-2232.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -501,7 +501,7 @@ function test(f: Foo | EmptyFoo) { ================================================================================ `; -exports[`test1.js 1`] = ` +exports[`test1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -633,7 +633,7 @@ type A6 = B6[]; ================================================================================ `; -exports[`test2.js 1`] = ` +exports[`test2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -799,7 +799,7 @@ type B6 = string; ================================================================================ `; -exports[`test3.js 1`] = ` +exports[`test3.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -869,7 +869,7 @@ type B2 = string; ================================================================================ `; -exports[`test4.js 1`] = ` +exports[`test4.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -959,7 +959,7 @@ type B2 = string; ================================================================================ `; -exports[`test5.js 1`] = ` +exports[`test5.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1031,7 +1031,7 @@ function arr_set(x: string, i: number) { ================================================================================ `; -exports[`test6.js 1`] = ` +exports[`test6.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1095,7 +1095,7 @@ class C {} ================================================================================ `; -exports[`test7.js 1`] = ` +exports[`test7.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1165,7 +1165,7 @@ type PG = { x: X, y?: PG }; ================================================================================ `; -exports[`test8.js 1`] = ` +exports[`test8.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1223,7 +1223,7 @@ type H2_ = number; ================================================================================ `; -exports[`test9.js 1`] = ` +exports[`test9.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1267,7 +1267,7 @@ foo((x): number => square(x)); ================================================================================ `; -exports[`test10.js 1`] = ` +exports[`test10.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1425,7 +1425,7 @@ check_poly_inst(new P()); ================================================================================ `; -exports[`test11.js 1`] = ` +exports[`test11.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1472,7 +1472,7 @@ type Cons = { kind: "cons", next: List }; ================================================================================ `; -exports[`test12.js 1`] = ` +exports[`test12.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1504,7 +1504,7 @@ function rec(x: F): G | H { ================================================================================ `; -exports[`test13.js 1`] = ` +exports[`test13.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1540,7 +1540,7 @@ printWidth: 80 ================================================================================ `; -exports[`test14.js 1`] = ` +exports[`test14.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1578,7 +1578,7 @@ function foo(c: C) { ================================================================================ `; -exports[`test15.js 1`] = ` +exports[`test15.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1638,7 +1638,7 @@ bar(() => {}); ================================================================================ `; -exports[`test16.js 1`] = ` +exports[`test16.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1688,7 +1688,7 @@ x = ""; ================================================================================ `; -exports[`test17.js 1`] = ` +exports[`test17.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1714,7 +1714,7 @@ printWidth: 80 ================================================================================ `; -exports[`test18.js 1`] = ` +exports[`test18.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1752,7 +1752,7 @@ new C().m(f()); ================================================================================ `; -exports[`test19.js 1`] = ` +exports[`test19.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1788,7 +1788,7 @@ declare class D { ================================================================================ `; -exports[`test20.js 1`] = ` +exports[`test20.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1825,7 +1825,7 @@ printWidth: 80 ================================================================================ `; -exports[`test21.js 1`] = ` +exports[`test21.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1877,7 +1877,7 @@ function str() { ================================================================================ `; -exports[`test22.js 1`] = ` +exports[`test22.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1931,7 +1931,7 @@ function foo(x: T) { ================================================================================ `; -exports[`test23.js 1`] = ` +exports[`test23.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -1967,7 +1967,7 @@ function foo(obj: Obj) { ================================================================================ `; -exports[`test24.js 1`] = ` +exports[`test24.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -2044,7 +2044,7 @@ declare class D extends C { ================================================================================ `; -exports[`test25.js 1`] = ` +exports[`test25.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -2079,7 +2079,7 @@ function foo(rows: Rows, set: Set) { ================================================================================ `; -exports[`test26.js 1`] = ` +exports[`test26.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -2131,7 +2131,7 @@ new Record().set("foo", "42"); ================================================================================ `; -exports[`test27.js 1`] = ` +exports[`test27.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -2193,7 +2193,7 @@ function hello4(x: X): string { ================================================================================ `; -exports[`test29.js 1`] = ` +exports[`test29.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -2261,7 +2261,7 @@ class C { ================================================================================ `; -exports[`test30.js 1`] = ` +exports[`test30.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -2289,7 +2289,7 @@ type ActionType = { type: "foo", x: number } | { type: "bar", x: number }; ================================================================================ `; -exports[`test30-helper.js 1`] = ` +exports[`test30-helper.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -2313,7 +2313,7 @@ module.exports = { ================================================================================ `; -exports[`test31.js 1`] = ` +exports[`test31.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -2375,7 +2375,7 @@ function foo(): ImmutableMap { ================================================================================ `; -exports[`test32.js 1`] = ` +exports[`test32.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/union_new/lib/__snapshots__/jsfmt.spec.js.snap b/tests/flow/union_new/lib/__snapshots__/jsfmt.spec.js.snap index 74fb722f5f..03ea1665b3 100644 --- a/tests/flow/union_new/lib/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/union_new/lib/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test23_lib.js 1`] = ` +exports[`test23_lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -14,7 +14,7 @@ declare class SomeLibClass {} ================================================================================ `; -exports[`test25_lib.js 1`] = ` +exports[`test25_lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -68,7 +68,7 @@ declare class Rows { ================================================================================ `; -exports[`test32_lib.js 1`] = ` +exports[`test32_lib.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/unreachable/__snapshots__/jsfmt.spec.js.snap b/tests/flow/unreachable/__snapshots__/jsfmt.spec.js.snap index 6d9a6446cc..3a22254dc3 100644 --- a/tests/flow/unreachable/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/unreachable/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`typecheck.js 1`] = ` +exports[`typecheck.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -58,7 +58,7 @@ function test2() { ================================================================================ `; -exports[`unreachable.js 1`] = ` +exports[`unreachable.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/unused_function_args/__snapshots__/jsfmt.spec.js.snap b/tests/flow/unused_function_args/__snapshots__/jsfmt.spec.js.snap index 95ad316310..ee6ed189fd 100644 --- a/tests/flow/unused_function_args/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/unused_function_args/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/value/__snapshots__/jsfmt.spec.js.snap b/tests/flow/value/__snapshots__/jsfmt.spec.js.snap index 19b9659432..290caf1bd6 100644 --- a/tests/flow/value/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/value/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`value.js 1`] = ` +exports[`value.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/vim_emacs_errors/__snapshots__/jsfmt.spec.js.snap b/tests/flow/vim_emacs_errors/__snapshots__/jsfmt.spec.js.snap index a0b3070b36..65b1bb2117 100644 --- a/tests/flow/vim_emacs_errors/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/vim_emacs_errors/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/weakmode/__snapshots__/jsfmt.spec.js.snap b/tests/flow/weakmode/__snapshots__/jsfmt.spec.js.snap index 8d9a28f079..3067af33f1 100644 --- a/tests/flow/weakmode/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/weakmode/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`should_fail_without_weak.js 1`] = ` +exports[`should_fail_without_weak.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -32,7 +32,7 @@ function expects_an_int() { ================================================================================ `; -exports[`should_pass_with_weak.js 1`] = ` +exports[`should_pass_with_weak.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/while/__snapshots__/jsfmt.spec.js.snap b/tests/flow/while/__snapshots__/jsfmt.spec.js.snap index 03c8b59180..f5d7a70a57 100644 --- a/tests/flow/while/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/while/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`abnormal.js 1`] = ` +exports[`abnormal.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -52,7 +52,7 @@ function bar(x: boolean) { ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/window/__snapshots__/jsfmt.spec.js.snap b/tests/flow/window/__snapshots__/jsfmt.spec.js.snap index 54c5b10b51..12ac3f0498 100644 --- a/tests/flow/window/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/window/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`window1.js 1`] = ` +exports[`window1.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -20,7 +20,7 @@ module.exports = window.history; ================================================================================ `; -exports[`window2.js 1`] = ` +exports[`window2.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow/x/__snapshots__/jsfmt.spec.js.snap b/tests/flow/x/__snapshots__/jsfmt.spec.js.snap index 109c6675e5..ac3c3a9d75 100644 --- a/tests/flow/x/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow/x/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`XControllerURIBuilder.js 1`] = ` +exports[`XControllerURIBuilder.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow_all/__snapshots__/jsfmt.spec.js.snap b/tests/flow_all/__snapshots__/jsfmt.spec.js.snap index 1eadeb60b1..9f534e048f 100644 --- a/tests/flow_all/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_all/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`generic.js 1`] = ` +exports[`generic.js format 1`] = ` ====================================options===================================== parsers: ["babel-flow", "flow"] printWidth: 80 diff --git a/tests/flow_annotation/__snapshots__/jsfmt.spec.js.snap b/tests/flow_annotation/__snapshots__/jsfmt.spec.js.snap index 979c45cf0f..af71442a91 100644 --- a/tests/flow_annotation/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_annotation/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`array_of_functions.js 1`] = ` +exports[`array_of_functions.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_array_comments/__snapshots__/jsfmt.spec.js.snap b/tests/flow_array_comments/__snapshots__/jsfmt.spec.js.snap index 73e222c91f..9af1389bbd 100644 --- a/tests/flow_array_comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_array_comments/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow_array_union/__snapshots__/jsfmt.spec.js.snap b/tests/flow_array_union/__snapshots__/jsfmt.spec.js.snap index 022a9f97fb..22392aaf91 100644 --- a/tests/flow_array_union/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_array_union/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow_babel_only/__snapshots__/jsfmt.spec.js.snap b/tests/flow_babel_only/__snapshots__/jsfmt.spec.js.snap index 05fee2323e..0ba226475d 100644 --- a/tests/flow_babel_only/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_babel_only/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`constructor-field-override.js 1`] = ` +exports[`constructor-field-override.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/flow_class_field/__snapshots__/jsfmt.spec.js.snap b/tests/flow_class_field/__snapshots__/jsfmt.spec.js.snap index 344e6e094e..48d09c47e2 100644 --- a/tests/flow_class_field/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_class_field/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`field_declare_modifier.js 1`] = ` +exports[`field_declare_modifier.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow_comments/__snapshots__/jsfmt.spec.js.snap b/tests/flow_comments/__snapshots__/jsfmt.spec.js.snap index d5abce83dc..c1523e3525 100644 --- a/tests/flow_comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_comments/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`arrow.js 1`] = ` +exports[`arrow.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -30,7 +30,7 @@ const run = (cmd /*: string */) /*: Promise */ => {}; ================================================================================ `; -exports[`class.js 1`] = ` +exports[`class.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -52,7 +52,7 @@ class A { ================================================================================ `; -exports[`functions.js 1`] = ` +exports[`functions.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -66,7 +66,7 @@ function foo(bar /*: T[] */, baz /*: T */) /*: S */ {} ================================================================================ `; -exports[`generics.js 1`] = ` +exports[`generics.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -100,7 +100,7 @@ foo/*:: */(); ================================================================================ `; -exports[`interface.js 1`] = ` +exports[`interface.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -124,7 +124,7 @@ interface Foo { ================================================================================ `; -exports[`issues.js 1`] = ` +exports[`issues.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -202,7 +202,7 @@ export type AsyncExecuteOptions = child_process$execFileOpts & { ================================================================================ `; -exports[`let.js 1`] = ` +exports[`let.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -218,7 +218,7 @@ let bar /*: string */ = "a"; ================================================================================ `; -exports[`object_type_annotation.js 1`] = ` +exports[`object_type_annotation.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -257,7 +257,7 @@ type Props3 = { ================================================================================ `; -exports[`type_annotations.js 1`] = ` +exports[`type_annotations.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -293,7 +293,7 @@ const x = (input /*: string */) /*: string */ => {}; ================================================================================ `; -exports[`union.js 1`] = ` +exports[`union.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_comments/babylon_only/__snapshots__/jsfmt.spec.js.snap b/tests/flow_comments/babylon_only/__snapshots__/jsfmt.spec.js.snap index 732887c04c..f092adc08b 100644 --- a/tests/flow_comments/babylon_only/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_comments/babylon_only/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`class_with_generics.js 1`] = ` +exports[`class_with_generics.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 @@ -34,7 +34,7 @@ class Component extends React.Component /*:: */ { ================================================================================ `; -exports[`functions.js 1`] = ` +exports[`functions.js format 1`] = ` ====================================options===================================== parsers: ["babel"] printWidth: 80 diff --git a/tests/flow_enums/__snapshots__/jsfmt.spec.js.snap b/tests/flow_enums/__snapshots__/jsfmt.spec.js.snap index b8a72a02a0..258b3289ac 100644 --- a/tests/flow_enums/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_enums/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`enum-boolean-explicit.js 1`] = ` +exports[`enum-boolean-explicit.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel-flow"] printWidth: 80 @@ -25,7 +25,7 @@ enum E of boolean { ================================================================================ `; -exports[`enum-boolean-implicit.js 1`] = ` +exports[`enum-boolean-implicit.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel-flow"] printWidth: 80 @@ -50,7 +50,7 @@ enum E { ================================================================================ `; -exports[`enum-comments.js 1`] = ` +exports[`enum-comments.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel-flow"] printWidth: 80 @@ -116,7 +116,7 @@ enum /*Q*/ E6 of string {} ================================================================================ `; -exports[`enum-empty.js 1`] = ` +exports[`enum-empty.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel-flow"] printWidth: 80 @@ -135,7 +135,7 @@ enum E {} ================================================================================ `; -exports[`enum-export.js 1`] = ` +exports[`enum-export.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel-flow"] printWidth: 80 @@ -158,7 +158,7 @@ export default enum B {}; ================================================================================ `; -exports[`enum-name.js 1`] = ` +exports[`enum-name.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel-flow"] printWidth: 80 @@ -178,7 +178,7 @@ enum type {} ================================================================================ `; -exports[`enum-no-trailing-comma.js 1`] = ` +exports[`enum-no-trailing-comma.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel-flow"] printWidth: 80 @@ -201,7 +201,7 @@ enum E { ================================================================================ `; -exports[`enum-number-explicit.js 1`] = ` +exports[`enum-number-explicit.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel-flow"] printWidth: 80 @@ -226,7 +226,7 @@ enum E of number { ================================================================================ `; -exports[`enum-number-implicit.js 1`] = ` +exports[`enum-number-implicit.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel-flow"] printWidth: 80 @@ -251,7 +251,7 @@ enum E { ================================================================================ `; -exports[`enum-string-explicit-defaulted.js 1`] = ` +exports[`enum-string-explicit-defaulted.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel-flow"] printWidth: 80 @@ -276,7 +276,7 @@ enum E of string { ================================================================================ `; -exports[`enum-string-explicit-initialized.js 1`] = ` +exports[`enum-string-explicit-initialized.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel-flow"] printWidth: 80 @@ -301,7 +301,7 @@ enum E of string { ================================================================================ `; -exports[`enum-string-implicit-defaulted.js 1`] = ` +exports[`enum-string-implicit-defaulted.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel-flow"] printWidth: 80 @@ -326,7 +326,7 @@ enum E { ================================================================================ `; -exports[`enum-string-implicit-initialized.js 1`] = ` +exports[`enum-string-implicit-initialized.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel-flow"] printWidth: 80 @@ -351,7 +351,7 @@ enum E { ================================================================================ `; -exports[`enum-symbol.js 1`] = ` +exports[`enum-symbol.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel-flow"] printWidth: 80 diff --git a/tests/flow_export/__snapshots__/jsfmt.spec.js.snap b/tests/flow_export/__snapshots__/jsfmt.spec.js.snap index fbdb1fdf9f..2881b390f0 100644 --- a/tests/flow_export/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_export/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`type.js 1`] = ` +exports[`type.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_function_parentheses/__snapshots__/jsfmt.spec.js.snap b/tests/flow_function_parentheses/__snapshots__/jsfmt.spec.js.snap index f431f8340c..8e5b6c109e 100644 --- a/tests/flow_function_parentheses/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_function_parentheses/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`single.js 1`] = ` +exports[`single.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -24,7 +24,7 @@ const selectorByPath: (Path) => SomethingSelector< ================================================================================ `; -exports[`single.js 2`] = ` +exports[`single.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -49,7 +49,7 @@ const selectorByPath: (Path) => SomethingSelector< ================================================================================ `; -exports[`single.js 3`] = ` +exports[`single.js format 3`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["flow", "babel"] @@ -74,7 +74,7 @@ const selectorByPath: Path => SomethingSelector< ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -210,7 +210,7 @@ type T8 = ??(() => A) | B; ================================================================================ `; -exports[`test.js 2`] = ` +exports[`test.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -347,7 +347,7 @@ type T8 = ??(() => A) | B; ================================================================================ `; -exports[`test.js 3`] = ` +exports[`test.js format 3`] = ` ====================================options===================================== arrowParens: "avoid" parsers: ["flow", "babel"] diff --git a/tests/flow_generic/__snapshots__/jsfmt.spec.js.snap b/tests/flow_generic/__snapshots__/jsfmt.spec.js.snap index b569839f44..8948669a81 100644 --- a/tests/flow_generic/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_generic/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`break.js 1`] = ` +exports[`break.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -34,7 +34,7 @@ var X = { ================================================================================ `; -exports[`break.js 2`] = ` +exports[`break.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -69,7 +69,7 @@ var X = { ================================================================================ `; -exports[`generic.js 1`] = ` +exports[`generic.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -85,7 +85,7 @@ const a = 1; ================================================================================ `; -exports[`generic.js 2`] = ` +exports[`generic.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -102,7 +102,7 @@ const a = 1; ================================================================================ `; -exports[`interface.js 1`] = ` +exports[`interface.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -122,7 +122,7 @@ interface B { ================================================================================ `; -exports[`interface.js 2`] = ` +exports[`interface.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -143,7 +143,7 @@ interface B { ================================================================================ `; -exports[`nullable.js 1`] = ` +exports[`nullable.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -173,7 +173,7 @@ function foo(): Promise {} ================================================================================ `; -exports[`nullable.js 2`] = ` +exports[`nullable.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -204,7 +204,7 @@ function foo(): Promise {} ================================================================================ `; -exports[`single-identifier.js 1`] = ` +exports[`single-identifier.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -218,7 +218,7 @@ const longVariableName: Array = this.foo.bar.baz.collider.body.vertices. ================================================================================ `; -exports[`single-identifier.js 2`] = ` +exports[`single-identifier.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -233,7 +233,7 @@ const longVariableName: Array = this.foo.bar.baz.collider.body.vertices. ================================================================================ `; -exports[`trailing.js 1`] = ` +exports[`trailing.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -259,7 +259,7 @@ type State = { ================================================================================ `; -exports[`trailing.js 2`] = ` +exports[`trailing.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -286,7 +286,7 @@ type State = { ================================================================================ `; -exports[`type.js 1`] = ` +exports[`type.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -304,7 +304,7 @@ type H = { A: string, B: number }; ================================================================================ `; -exports[`type.js 2`] = ` +exports[`type.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -323,7 +323,7 @@ type H = { A: string, B: number }; ================================================================================ `; -exports[`union.js 1`] = ` +exports[`union.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -343,7 +343,7 @@ type Foo = Promise< ================================================================================ `; -exports[`union.js 2`] = ` +exports[`union.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_implements/__snapshots__/jsfmt.spec.js.snap b/tests/flow_implements/__snapshots__/jsfmt.spec.js.snap index 62b425d16d..a86e0ccd0f 100644 --- a/tests/flow_implements/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_implements/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`implements.js 1`] = ` +exports[`implements.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow_import_type_specifier/__snapshots__/jsfmt.spec.js.snap b/tests/flow_import_type_specifier/__snapshots__/jsfmt.spec.js.snap index 1b71aff759..8f692d214c 100644 --- a/tests/flow_import_type_specifier/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_import_type_specifier/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow_interface_types/__snapshots__/jsfmt.spec.js.snap b/tests/flow_interface_types/__snapshots__/jsfmt.spec.js.snap index 2773fef73d..7845a12dbb 100644 --- a/tests/flow_interface_types/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_interface_types/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`interface_types.js 1`] = ` +exports[`interface_types.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_internal_slot/__snapshots__/jsfmt.spec.js.snap b/tests/flow_internal_slot/__snapshots__/jsfmt.spec.js.snap index 5766e764e1..514311ba9c 100644 --- a/tests/flow_internal_slot/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_internal_slot/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`internal_slot.js 1`] = ` +exports[`internal_slot.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_intersection/__snapshots__/jsfmt.spec.js.snap b/tests/flow_intersection/__snapshots__/jsfmt.spec.js.snap index d5c0525b89..a2ce2158b6 100644 --- a/tests/flow_intersection/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_intersection/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`intersection.js 1`] = ` +exports[`intersection.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_jsx/__snapshots__/jsfmt.spec.js.snap b/tests/flow_jsx/__snapshots__/jsfmt.spec.js.snap index ae879a94ad..545065ce72 100644 --- a/tests/flow_jsx/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_jsx/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`func_inside_attr.js 1`] = ` +exports[`func_inside_attr.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -14,7 +14,7 @@ printWidth: 80 ================================================================================ `; -exports[`return_type.js 1`] = ` +exports[`return_type.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_maybe/__snapshots__/jsfmt.spec.js.snap b/tests/flow_maybe/__snapshots__/jsfmt.spec.js.snap index 0689032160..ff378e4743 100644 --- a/tests/flow_maybe/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_maybe/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`maybe_return.js 1`] = ` +exports[`maybe_return.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_method/__snapshots__/jsfmt.spec.js.snap b/tests/flow_method/__snapshots__/jsfmt.spec.js.snap index cc954b0b31..fc9bddf339 100644 --- a/tests/flow_method/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_method/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comment.js 1`] = ` +exports[`comment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -24,7 +24,7 @@ type Foo = { ================================================================================ `; -exports[`method.js 1`] = ` +exports[`method.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_mixins/__snapshots__/jsfmt.spec.js.snap b/tests/flow_mixins/__snapshots__/jsfmt.spec.js.snap index c33d4e3216..4a8de59aef 100644 --- a/tests/flow_mixins/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_mixins/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`type.js 1`] = ` +exports[`type.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow"] printWidth: 80 diff --git a/tests/flow_object_comment/__snapshots__/jsfmt.spec.js.snap b/tests/flow_object_comment/__snapshots__/jsfmt.spec.js.snap index 95f34d8f50..0db03dd1f9 100644 --- a/tests/flow_object_comment/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_object_comment/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`flow_object_comment.js 1`] = ` +exports[`flow_object_comment.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow_object_inexact/__snapshots__/jsfmt.spec.js.snap b/tests/flow_object_inexact/__snapshots__/jsfmt.spec.js.snap index f873374c1b..5ae3dcb2fe 100644 --- a/tests/flow_object_inexact/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_object_inexact/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -135,7 +135,7 @@ type Foo = { ================================================================================ `; -exports[`comments.js 2`] = ` +exports[`comments.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -270,7 +270,7 @@ type Foo = { ================================================================================ `; -exports[`comments.js 3`] = ` +exports[`comments.js format 3`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -405,7 +405,7 @@ type Foo = { ================================================================================ `; -exports[`test.js 1`] = ` +exports[`test.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -518,7 +518,7 @@ type X = { ... }; ================================================================================ `; -exports[`test.js 2`] = ` +exports[`test.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -631,7 +631,7 @@ type X = { ... }; ================================================================================ `; -exports[`test.js 3`] = ` +exports[`test.js format 3`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_object_order/__snapshots__/jsfmt.spec.js.snap b/tests/flow_object_order/__snapshots__/jsfmt.spec.js.snap index 34c458b8d2..aec074abd9 100644 --- a/tests/flow_object_order/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_object_order/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`order.js 1`] = ` +exports[`order.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -36,7 +36,7 @@ type Foo = { ================================================================================ `; -exports[`order.js 2`] = ` +exports[`order.js format 2`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow_parameter_with_type/__snapshots__/jsfmt.spec.js.snap b/tests/flow_parameter_with_type/__snapshots__/jsfmt.spec.js.snap index 42006eb9e4..04419c87f8 100644 --- a/tests/flow_parameter_with_type/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_parameter_with_type/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`param.js 1`] = ` +exports[`param.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -16,7 +16,7 @@ function g({}: Foo) {} ================================================================================ `; -exports[`param.js 2`] = ` +exports[`param.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_private_class_fields/__snapshots__/jsfmt.spec.js.snap b/tests/flow_private_class_fields/__snapshots__/jsfmt.spec.js.snap index 9b510afffb..d29714474b 100644 --- a/tests/flow_private_class_fields/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_private_class_fields/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`quotes.js 1`] = ` +exports[`quotes.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow_proto_props/__snapshots__/jsfmt.spec.js.snap b/tests/flow_proto_props/__snapshots__/jsfmt.spec.js.snap index 20ccbd04fd..3bb71299c8 100644 --- a/tests/flow_proto_props/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_proto_props/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`proto_props.js 1`] = ` +exports[`proto_props.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow_return_arrow/__snapshots__/jsfmt.spec.js.snap b/tests/flow_return_arrow/__snapshots__/jsfmt.spec.js.snap index 7fd49f8388..e8c33368a0 100644 --- a/tests/flow_return_arrow/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_return_arrow/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`in_object_type.js 1`] = ` +exports[`in_object_type.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -68,7 +68,7 @@ const example17 = (): (?{ p: (string) => string }) => (0: any); ================================================================================ `; -exports[`issue-1249.js 1`] = ` +exports[`issue-1249.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -122,7 +122,7 @@ type X = (a & b) => void; ================================================================================ `; -exports[`parens.js 1`] = ` +exports[`parens.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/flow_type_cast/__snapshots__/jsfmt.spec.js.snap b/tests/flow_type_cast/__snapshots__/jsfmt.spec.js.snap index 0f6e296414..a83172e506 100644 --- a/tests/flow_type_cast/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_type_cast/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`expression.js 1`] = ` +exports[`expression.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -20,7 +20,7 @@ const foo = ((1 ? 2 : 3): number); ================================================================================ `; -exports[`statement.js 1`] = ` +exports[`statement.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_type_declarations/__snapshots__/jsfmt.spec.js.snap b/tests/flow_type_declarations/__snapshots__/jsfmt.spec.js.snap index 5cf45ebb04..8b737991e8 100644 --- a/tests/flow_type_declarations/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_type_declarations/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`declare_export.js 1`] = ` +exports[`declare_export.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -14,7 +14,7 @@ declare export default 5; ================================================================================ `; -exports[`declare_export.js 2`] = ` +exports[`declare_export.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -29,7 +29,7 @@ declare export default 5 ================================================================================ `; -exports[`declare_type.js 1`] = ` +exports[`declare_type.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -43,7 +43,7 @@ declare type A = string; ================================================================================ `; -exports[`declare_type.js 2`] = ` +exports[`declare_type.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -58,7 +58,7 @@ declare type A = string ================================================================================ `; -exports[`declare_var.js 1`] = ` +exports[`declare_var.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -72,7 +72,7 @@ declare var bool: React$PropType$Primitive; ================================================================================ `; -exports[`declare_var.js 2`] = ` +exports[`declare_var.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -87,7 +87,7 @@ declare var bool: React$PropType$Primitive ================================================================================ `; -exports[`long.js 1`] = ` +exports[`long.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -115,7 +115,7 @@ type SomeOtherLongLongLongLongLongLongLongLongLongLongLongLongLongLongKey2 = Som ================================================================================ `; -exports[`long.js 2`] = ` +exports[`long.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -144,7 +144,7 @@ type SomeOtherLongLongLongLongLongLongLongLongLongLongLongLongLongLongKey2 = Som ================================================================================ `; -exports[`opaque.js 1`] = ` +exports[`opaque.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -184,7 +184,7 @@ opaque type overloads = ((x: string) => number) & ((x: number) => string); ================================================================================ `; -exports[`opaque.js 2`] = ` +exports[`opaque.js format 2`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_type_parameters/__snapshots__/jsfmt.spec.js.snap b/tests/flow_type_parameters/__snapshots__/jsfmt.spec.js.snap index 17903e02df..5c87552f45 100644 --- a/tests/flow_type_parameters/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_type_parameters/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`empty_generic_break.js 1`] = ` +exports[`empty_generic_break.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_type_spread/__snapshots__/jsfmt.spec.js.snap b/tests/flow_type_spread/__snapshots__/jsfmt.spec.js.snap index fa40e2cbd7..5c4ea93303 100644 --- a/tests/flow_type_spread/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_type_spread/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comments.js 1`] = ` +exports[`comments.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_typeapp_call/__snapshots__/jsfmt.spec.js.snap b/tests/flow_typeapp_call/__snapshots__/jsfmt.spec.js.snap index 7527102a4e..f46f114d43 100644 --- a/tests/flow_typeapp_call/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_typeapp_call/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`typeapp_call.js 1`] = ` +exports[`typeapp_call.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_union/__snapshots__/jsfmt.spec.js.snap b/tests/flow_union/__snapshots__/jsfmt.spec.js.snap index 892377bbbb..410ed49892 100644 --- a/tests/flow_union/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_union/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comment.js 1`] = ` +exports[`comment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -22,7 +22,7 @@ const myValue = (callcallcallcallcallcall( ================================================================================ `; -exports[`union.js 1`] = ` +exports[`union.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 @@ -102,7 +102,7 @@ export function aPrettyLongFunctionE( ================================================================================ `; -exports[`within-tuple.js 1`] = ` +exports[`within-tuple.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/flow_variance/__snapshots__/jsfmt.spec.js.snap b/tests/flow_variance/__snapshots__/jsfmt.spec.js.snap index e5e083b5dd..2298288226 100644 --- a/tests/flow_variance/__snapshots__/jsfmt.spec.js.snap +++ b/tests/flow_variance/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`variance.js 1`] = ` +exports[`variance.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel"] printWidth: 80 diff --git a/tests/for/__snapshots__/jsfmt.spec.js.snap b/tests/for/__snapshots__/jsfmt.spec.js.snap index de7d21bbbc..f8ecb49c66 100644 --- a/tests/for/__snapshots__/jsfmt.spec.js.snap +++ b/tests/for/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comment.js 1`] = ` +exports[`comment.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -74,7 +74,7 @@ for (x of y); ================================================================================ `; -exports[`for.js 1`] = ` +exports[`for.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -96,7 +96,7 @@ for (var i = 0; i < 10; ++i) 0; ================================================================================ `; -exports[`in.js 1`] = ` +exports[`in.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -132,7 +132,7 @@ for (a in b) 0; ================================================================================ `; -exports[`var.js 1`] = ` +exports[`var.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/for_await/__snapshots__/jsfmt.spec.js.snap b/tests/for_await/__snapshots__/jsfmt.spec.js.snap index 7e7c560ea1..1d41773577 100644 --- a/tests/for_await/__snapshots__/jsfmt.spec.js.snap +++ b/tests/for_await/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`for-await.js 1`] = ` +exports[`for-await.js format 1`] = ` ====================================options===================================== parsers: ["babel", "flow", "typescript"] printWidth: 80 diff --git a/tests/function/__snapshots__/jsfmt.spec.js.snap b/tests/function/__snapshots__/jsfmt.spec.js.snap index 15879a8e41..9ff19afd5a 100644 --- a/tests/function/__snapshots__/jsfmt.spec.js.snap +++ b/tests/function/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`function_expression.js 1`] = ` +exports[`function_expression.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 @@ -34,7 +34,7 @@ new (function () {})(); ================================================================================ `; -exports[`single_expand.js 1`] = ` +exports[`single_expand.js format 1`] = ` ====================================options===================================== parsers: ["flow", "typescript"] printWidth: 80 diff --git a/tests/function_first_param/__snapshots__/jsfmt.spec.js.snap b/tests/function_first_param/__snapshots__/jsfmt.spec.js.snap index 011cc901be..24f54f4281 100644 --- a/tests/function_first_param/__snapshots__/jsfmt.spec.js.snap +++ b/tests/function_first_param/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`function_expression.js 1`] = ` +exports[`function_expression.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/function_single_destructuring/__snapshots__/jsfmt.spec.js.snap b/tests/function_single_destructuring/__snapshots__/jsfmt.spec.js.snap index 3dbd8fb4a8..e27f510b70 100644 --- a/tests/function_single_destructuring/__snapshots__/jsfmt.spec.js.snap +++ b/tests/function_single_destructuring/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`array.js 1`] = ` +exports[`array.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 @@ -123,7 +123,7 @@ promise.then( ================================================================================ `; -exports[`object.js 1`] = ` +exports[`object.js format 1`] = ` ====================================options===================================== parsers: ["flow"] printWidth: 80 diff --git a/tests/functional_composition/__snapshots__/jsfmt.spec.js.snap b/tests/functional_composition/__snapshots__/jsfmt.spec.js.snap index 7fedd6b548..f816879ec9 100644 --- a/tests/functional_composition/__snapshots__/jsfmt.spec.js.snap +++ b/tests/functional_composition/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`functional_compose.js 1`] = ` +exports[`functional_compose.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -107,7 +107,7 @@ this.subscriptions.add( ================================================================================ `; -exports[`gobject_connect.js 1`] = ` +exports[`gobject_connect.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -135,7 +135,7 @@ app.connect("activate", async () => { ================================================================================ `; -exports[`lodash_flow.js 1`] = ` +exports[`lodash_flow.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -185,7 +185,7 @@ bar(6); ================================================================================ `; -exports[`lodash_flow_right.js 1`] = ` +exports[`lodash_flow_right.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -235,7 +235,7 @@ bar(6); ================================================================================ `; -exports[`mongo_connect.js 1`] = ` +exports[`mongo_connect.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -258,7 +258,7 @@ MongoClient.connect("mongodb://localhost:27017/posts", (err, db) => { ================================================================================ `; -exports[`ramda_compose.js 1`] = ` +exports[`ramda_compose.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -360,7 +360,7 @@ const mapStateToProps = (state) => ({ ================================================================================ `; -exports[`ramda_pipe.js 1`] = ` +exports[`ramda_pipe.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -418,7 +418,7 @@ var followersForUser = R.pipeP(db.getUserById, db.getFollowers); ================================================================================ `; -exports[`redux_compose.js 1`] = ` +exports[`redux_compose.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -452,7 +452,7 @@ const store = createStore( ================================================================================ `; -exports[`redux_connect.js 1`] = ` +exports[`redux_connect.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -470,7 +470,7 @@ const ArtistInput = connect( ================================================================================ `; -exports[`reselect_createselector.js 1`] = ` +exports[`reselect_createselector.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 @@ -503,7 +503,7 @@ const bar = createSelector([getIds, getObjects], (ids, objects) => ================================================================================ `; -exports[`rxjs_pipe.js 1`] = ` +exports[`rxjs_pipe.js format 1`] = ` ====================================options===================================== parsers: ["flow", "babel", "typescript"] printWidth: 80 diff --git a/tests/generator/__snapshots__/jsfmt.spec.js.snap b/tests/generator/__snapshots__/jsfmt.spec.js.snap index 829de9e2b9..456ea8eb43 100644 --- a/tests/generator/__snapshots__/jsfmt.spec.js.snap +++ b/tests/generator/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`anonymous.js 1`] = ` +exports[`anonymous.js format 1`] = ` ====================================options===================================== parsers: ["babel", "typescript", "flow"] printWidth: 80 diff --git a/tests/graphql_arguments/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_arguments/__snapshots__/jsfmt.spec.js.snap index a7eed37cc0..3ebcfe7990 100644 --- a/tests/graphql_arguments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_arguments/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`hello.graphql 1`] = ` +exports[`hello.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_bracket_spacing/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_bracket_spacing/__snapshots__/jsfmt.spec.js.snap index 3476b5f0d0..2fda795e24 100644 --- a/tests/graphql_bracket_spacing/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_bracket_spacing/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`bracket_spacing.graphql 1`] = ` +exports[`bracket_spacing.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -22,7 +22,7 @@ fragment Visit on HighlightedVisit ================================================================================ `; -exports[`bracket_spacing.graphql 2`] = ` +exports[`bracket_spacing.graphql format 2`] = ` ====================================options===================================== bracketSpacing: false parsers: ["graphql"] diff --git a/tests/graphql_comments/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_comments/__snapshots__/jsfmt.spec.js.snap index 2319a5befd..3f1dc01f78 100644 --- a/tests/graphql_comments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_comments/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`argument_comment.graphql 1`] = ` +exports[`argument_comment.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -25,7 +25,7 @@ query( ================================================================================ `; -exports[`fields.graphql 1`] = ` +exports[`fields.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -45,7 +45,7 @@ query { ================================================================================ `; -exports[`tokens.graphql 1`] = ` +exports[`tokens.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_definitions/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_definitions/__snapshots__/jsfmt.spec.js.snap index da2c7f0bf9..8440e44cdb 100644 --- a/tests/graphql_definitions/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_definitions/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`fields.graphql 1`] = ` +exports[`fields.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_directive_decl/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_directive_decl/__snapshots__/jsfmt.spec.js.snap index 15439bb2bb..a41e8dc414 100644 --- a/tests/graphql_directive_decl/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_directive_decl/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`directive_decl.graphql 1`] = ` +exports[`directive_decl.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_directives/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_directives/__snapshots__/jsfmt.spec.js.snap index e7fb4eed42..1194993028 100644 --- a/tests/graphql_directives/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_directives/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`directives.graphql 1`] = ` +exports[`directives.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_enum/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_enum/__snapshots__/jsfmt.spec.js.snap index b0e357e2a5..fd98250215 100644 --- a/tests/graphql_enum/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_enum/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`enum.graphql 1`] = ` +exports[`enum.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_fields/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_fields/__snapshots__/jsfmt.spec.js.snap index a779a9aa40..d7816e22a7 100644 --- a/tests/graphql_fields/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_fields/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`fields.graphql 1`] = ` +exports[`fields.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_fragment_variables/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_fragment_variables/__snapshots__/jsfmt.spec.js.snap index b89bfbd346..98da659946 100644 --- a/tests/graphql_fragment_variables/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_fragment_variables/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`fragment_variables.graphql 1`] = ` +exports[`fragment_variables.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_fragments/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_fragments/__snapshots__/jsfmt.spec.js.snap index a10b731bf3..7e1aea443a 100644 --- a/tests/graphql_fragments/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_fragments/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`fragments.graphql 1`] = ` +exports[`fragments.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_hello/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_hello/__snapshots__/jsfmt.spec.js.snap index ca4a9bd2e2..63446aa308 100644 --- a/tests/graphql_hello/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_hello/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`hello.graphql 1`] = ` +exports[`hello.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_interface/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_interface/__snapshots__/jsfmt.spec.js.snap index a02599253d..64047f412b 100644 --- a/tests/graphql_interface/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_interface/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`interface.graphql 1`] = ` +exports[`interface.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -20,7 +20,7 @@ interface Actor { ================================================================================ `; -exports[`object_type_def.graphql 1`] = ` +exports[`object_type_def.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -75,7 +75,7 @@ type Artist implements Node & Entity { ================================================================================ `; -exports[`object_type_def_mixed_syntax.graphql 1`] = ` +exports[`object_type_def_mixed_syntax.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -130,7 +130,7 @@ type MixedArtist implements Node, Entity & Releasable { ================================================================================ `; -exports[`object_type_def_old_syntax.graphql 1`] = ` +exports[`object_type_def_old_syntax.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -185,7 +185,7 @@ type OldArtist implements Node, Entity { ================================================================================ `; -exports[`separator-detection.graphql 1`] = ` +exports[`separator-detection.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_kitchen_sink/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_kitchen_sink/__snapshots__/jsfmt.spec.js.snap index 1d1e0b8adf..c930d15b20 100644 --- a/tests/graphql_kitchen_sink/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_kitchen_sink/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`kitchen_sink.graphql 1`] = ` +exports[`kitchen_sink.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -133,7 +133,7 @@ fragment frag on Friend { ================================================================================ `; -exports[`schema_kitchen_sink.graphql 1`] = ` +exports[`schema_kitchen_sink.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_lists/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_lists/__snapshots__/jsfmt.spec.js.snap index f3057bd77c..5d62ca1e6d 100644 --- a/tests/graphql_lists/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_lists/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`lists.graphql 1`] = ` +exports[`lists.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_newline/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_newline/__snapshots__/jsfmt.spec.js.snap index 9600ad4ea0..fc563c0b22 100644 --- a/tests/graphql_newline/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_newline/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`directive_decl.graphql 1`] = ` +exports[`directive_decl.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -30,7 +30,7 @@ directive @dir( ================================================================================ `; -exports[`directives.graphql 1`] = ` +exports[`directives.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -78,7 +78,7 @@ query MyQuery ================================================================================ `; -exports[`enum.graphql 1`] = ` +exports[`enum.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -112,7 +112,7 @@ enum State { ================================================================================ `; -exports[`fields.graphql 1`] = ` +exports[`fields.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -187,7 +187,7 @@ subscription MySubscription { ================================================================================ `; -exports[`input.graphql 1`] = ` +exports[`input.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -214,7 +214,7 @@ input Params { ================================================================================ `; -exports[`interface.graphql 1`] = ` +exports[`interface.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -243,7 +243,7 @@ interface Actor { ================================================================================ `; -exports[`object_type_def.graphql 1`] = ` +exports[`object_type_def.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -298,7 +298,7 @@ type Artist implements Node, Entity { ================================================================================ `; -exports[`schema.graphql 1`] = ` +exports[`schema.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_object_type_def/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_object_type_def/__snapshots__/jsfmt.spec.js.snap index 48da5d3877..c96eaec965 100644 --- a/tests/graphql_object_type_def/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_object_type_def/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`arguments.graphql 1`] = ` +exports[`arguments.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -18,7 +18,7 @@ type Video { ================================================================================ `; -exports[`directives.graphql 1`] = ` +exports[`directives.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -36,7 +36,7 @@ type PokemonType { ================================================================================ `; -exports[`extend.graphql 1`] = ` +exports[`extend.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -54,7 +54,7 @@ extend type Feedback { ================================================================================ `; -exports[`implements.graphql 1`] = ` +exports[`implements.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -72,7 +72,7 @@ type VRMConversation implements Node, Entity @foo { ================================================================================ `; -exports[`input.graphql 1`] = ` +exports[`input.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -92,7 +92,7 @@ input Params { ================================================================================ `; -exports[`object_type_def.graphql 1`] = ` +exports[`object_type_def.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_objects/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_objects/__snapshots__/jsfmt.spec.js.snap index b3aa27e3f1..7f8b7d0349 100644 --- a/tests/graphql_objects/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_objects/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`objects.graphql 1`] = ` +exports[`objects.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_scalar/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_scalar/__snapshots__/jsfmt.spec.js.snap index 77c32ced96..e10052db79 100644 --- a/tests/graphql_scalar/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_scalar/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`scalar.graphql 1`] = ` +exports[`scalar.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_schema/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_schema/__snapshots__/jsfmt.spec.js.snap index 91ec491214..055d21275b 100644 --- a/tests/graphql_schema/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_schema/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`schema.graphql 1`] = ` +exports[`schema.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_string/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_string/__snapshots__/jsfmt.spec.js.snap index bc73457c3c..0ecf890412 100644 --- a/tests/graphql_string/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_string/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`string.graphql 1`] = ` +exports[`string.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_trailing_comma/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_trailing_comma/__snapshots__/jsfmt.spec.js.snap index 0d8acdb998..353171de4b 100644 --- a/tests/graphql_trailing_comma/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_trailing_comma/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`trailing.graphql 1`] = ` +exports[`trailing.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -60,7 +60,7 @@ query Query( ================================================================================ `; -exports[`trailing.graphql 2`] = ` +exports[`trailing.graphql format 2`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 @@ -120,7 +120,7 @@ query Query( ================================================================================ `; -exports[`trailing.graphql 3`] = ` +exports[`trailing.graphql format 3`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_union_types/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_union_types/__snapshots__/jsfmt.spec.js.snap index 9a55406255..7bbed85084 100644 --- a/tests/graphql_union_types/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_union_types/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`union_types.graphql 1`] = ` +exports[`union_types.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/graphql_variable_definitions/__snapshots__/jsfmt.spec.js.snap b/tests/graphql_variable_definitions/__snapshots__/jsfmt.spec.js.snap index 12ef7d37ed..5d2cc773c7 100644 --- a/tests/graphql_variable_definitions/__snapshots__/jsfmt.spec.js.snap +++ b/tests/graphql_variable_definitions/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`variable_definitions.graphql 1`] = ` +exports[`variable_definitions.graphql format 1`] = ` ====================================options===================================== parsers: ["graphql"] printWidth: 80 diff --git a/tests/handlebars-attr-node/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars-attr-node/__snapshots__/jsfmt.spec.js.snap index 9e26f891e2..28d08f5d92 100644 --- a/tests/handlebars-attr-node/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars-attr-node/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`brackets.hbs 1`] = ` +exports[`brackets.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -19,7 +19,7 @@ printWidth: 80 ================================================================================ `; -exports[`brackets.hbs 2`] = ` +exports[`brackets.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 diff --git a/tests/handlebars-basics/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars-basics/__snapshots__/jsfmt.spec.js.snap index efb6f4a987..94032943d9 100644 --- a/tests/handlebars-basics/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars-basics/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`component.hbs 1`] = ` +exports[`component.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -74,7 +74,7 @@ printWidth: 80 ================================================================================ `; -exports[`component.hbs 2`] = ` +exports[`component.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -149,7 +149,7 @@ singleQuote: true ================================================================================ `; -exports[`literals.hbs 1`] = ` +exports[`literals.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -174,7 +174,7 @@ printWidth: 80 ================================================================================ `; -exports[`literals.hbs 2`] = ` +exports[`literals.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -200,7 +200,7 @@ singleQuote: true ================================================================================ `; -exports[`nested-path.hbs 1`] = ` +exports[`nested-path.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -231,7 +231,7 @@ printWidth: 80 ================================================================================ `; -exports[`nested-path.hbs 2`] = ` +exports[`nested-path.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -263,7 +263,7 @@ singleQuote: true ================================================================================ `; -exports[`raw.hbs 1`] = ` +exports[`raw.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -278,7 +278,7 @@ printWidth: 80 ================================================================================ `; -exports[`raw.hbs 2`] = ` +exports[`raw.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -294,7 +294,7 @@ singleQuote: true ================================================================================ `; -exports[`string-literals.hbs 1`] = ` +exports[`string-literals.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -317,7 +317,7 @@ printWidth: 80 ================================================================================ `; -exports[`string-literals.hbs 2`] = ` +exports[`string-literals.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 diff --git a/tests/handlebars-block-statement/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars-block-statement/__snapshots__/jsfmt.spec.js.snap index 6c7aeb52d8..49d2da4752 100644 --- a/tests/handlebars-block-statement/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars-block-statement/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`block-statement.hbs 1`] = ` +exports[`block-statement.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -157,7 +157,7 @@ printWidth: 80 ================================================================================ `; -exports[`block-statement.hbs 2`] = ` +exports[`block-statement.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -315,7 +315,7 @@ singleQuote: true ================================================================================ `; -exports[`each.hbs 1`] = ` +exports[`each.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -344,7 +344,7 @@ printWidth: 80 ================================================================================ `; -exports[`each.hbs 2`] = ` +exports[`each.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -374,7 +374,7 @@ singleQuote: true ================================================================================ `; -exports[`if-else.hbs 1`] = ` +exports[`if-else.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -595,7 +595,7 @@ printWidth: 80 ================================================================================ `; -exports[`if-else.hbs 2`] = ` +exports[`if-else.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -817,7 +817,7 @@ singleQuote: true ================================================================================ `; -exports[`loop.hbs 1`] = ` +exports[`loop.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -840,7 +840,7 @@ printWidth: 80 ================================================================================ `; -exports[`loop.hbs 2`] = ` +exports[`loop.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 diff --git a/tests/handlebars-comment/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars-comment/__snapshots__/jsfmt.spec.js.snap index 619dac9720..98dedda6ad 100644 --- a/tests/handlebars-comment/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars-comment/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`comments.hbs 1`] = ` +exports[`comments.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 diff --git a/tests/handlebars-concat-statement/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars-concat-statement/__snapshots__/jsfmt.spec.js.snap index 92a4eddebe..63dee28e07 100644 --- a/tests/handlebars-concat-statement/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars-concat-statement/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`concat-statement.hbs 1`] = ` +exports[`concat-statement.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -54,7 +54,7 @@ printWidth: 80 ================================================================================ `; -exports[`concat-statement.hbs 2`] = ` +exports[`concat-statement.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -109,7 +109,7 @@ singleQuote: true ================================================================================ `; -exports[`in-attr-node.hbs 1`] = ` +exports[`in-attr-node.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -148,7 +148,7 @@ printWidth: 80 ================================================================================ `; -exports[`in-attr-node.hbs 2`] = ` +exports[`in-attr-node.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 diff --git a/tests/handlebars-element-node/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars-element-node/__snapshots__/jsfmt.spec.js.snap index f7914071ba..81c1a6916a 100644 --- a/tests/handlebars-element-node/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars-element-node/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`element-node.hbs 1`] = ` +exports[`element-node.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -83,7 +83,7 @@ printWidth: 80 ================================================================================ `; -exports[`element-node.hbs 2`] = ` +exports[`element-node.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 diff --git a/tests/handlebars-escape/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars-escape/__snapshots__/jsfmt.spec.js.snap index f593d0c084..970869656d 100644 --- a/tests/handlebars-escape/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars-escape/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`html-entities.hbs 1`] = ` +exports[`html-entities.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -14,7 +14,7 @@ printWidth: 80 ================================================================================ `; -exports[`html-entities.hbs 2`] = ` +exports[`html-entities.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 diff --git a/tests/handlebars-last-line/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars-last-line/__snapshots__/jsfmt.spec.js.snap index ba4ac6a88c..917aa0fb3f 100644 --- a/tests/handlebars-last-line/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars-last-line/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`empty-with-no-trailing-newline.hbs 1`] = ` +exports[`empty-with-no-trailing-newline.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -12,7 +12,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty-with-no-trailing-newline.hbs 2`] = ` +exports[`empty-with-no-trailing-newline.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -25,7 +25,7 @@ singleQuote: true ================================================================================ `; -exports[`empty-with-trailing-newline.hbs 1`] = ` +exports[`empty-with-trailing-newline.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -38,7 +38,7 @@ printWidth: 80 ================================================================================ `; -exports[`empty-with-trailing-newline.hbs 2`] = ` +exports[`empty-with-trailing-newline.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -52,7 +52,7 @@ singleQuote: true ================================================================================ `; -exports[`end-of-line-last.hbs 1`] = ` +exports[`end-of-line-last.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -65,7 +65,7 @@ a bare string to hightlight eol last handling ================================================================================ `; -exports[`end-of-line-last.hbs 2`] = ` +exports[`end-of-line-last.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 diff --git a/tests/handlebars-mustache-statement/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars-mustache-statement/__snapshots__/jsfmt.spec.js.snap index 4808e2b90a..42609ffaa9 100644 --- a/tests/handlebars-mustache-statement/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars-mustache-statement/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`basics.hbs 1`] = ` +exports[`basics.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -118,7 +118,7 @@ printWidth: 80 ================================================================================ `; -exports[`basics.hbs 2`] = ` +exports[`basics.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -237,7 +237,7 @@ singleQuote: true ================================================================================ `; -exports[`element-modifier-statement.hbs 1`] = ` +exports[`element-modifier-statement.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -313,7 +313,7 @@ printWidth: 80 ================================================================================ `; -exports[`element-modifier-statement.hbs 2`] = ` +exports[`element-modifier-statement.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 diff --git a/tests/handlebars-newline/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars-newline/__snapshots__/jsfmt.spec.js.snap index d0695fdb97..afb2f03357 100644 --- a/tests/handlebars-newline/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars-newline/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.hbs 1`] = ` +exports[`test.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 diff --git a/tests/handlebars-prettier-ignore/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars-prettier-ignore/__snapshots__/jsfmt.spec.js.snap index f7e122adf8..dff93ea4d1 100644 --- a/tests/handlebars-prettier-ignore/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars-prettier-ignore/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`prettier-ignore.hbs 1`] = ` +exports[`prettier-ignore.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -76,7 +76,7 @@ printWidth: 80 ================================================================================ `; -exports[`prettier-ignore.hbs 2`] = ` +exports[`prettier-ignore.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 diff --git a/tests/handlebars-sub-expression/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars-sub-expression/__snapshots__/jsfmt.spec.js.snap index 9b29346fd8..6721680e28 100644 --- a/tests/handlebars-sub-expression/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars-sub-expression/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`sub-expressions.hbs 1`] = ` +exports[`sub-expressions.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 @@ -98,7 +98,7 @@ printWidth: 80 ================================================================================ `; -exports[`sub-expressions.hbs 2`] = ` +exports[`sub-expressions.hbs format 2`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 diff --git a/tests/handlebars-text-wrap/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars-text-wrap/__snapshots__/jsfmt.spec.js.snap index c41e5e6c96..6b196b2024 100644 --- a/tests/handlebars-text-wrap/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars-text-wrap/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test.hbs 1`] = ` +exports[`test.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 80 diff --git a/tests/handlebars-venerable/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars-venerable/__snapshots__/jsfmt.spec.js.snap index 9d1862d993..100559aaf4 100644 --- a/tests/handlebars-venerable/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars-venerable/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`template.html 1`] = ` +exports[`template.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -40,7 +40,7 @@ printWidth: 80 ================================================================================ `; -exports[`template.html 2`] = ` +exports[`template.html format 2`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 diff --git a/tests/handlebars-whitespace/__snapshots__/jsfmt.spec.js.snap b/tests/handlebars-whitespace/__snapshots__/jsfmt.spec.js.snap index 9bcd3e4d04..4209dcfed6 100644 --- a/tests/handlebars-whitespace/__snapshots__/jsfmt.spec.js.snap +++ b/tests/handlebars-whitespace/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`basics.hbs 1`] = ` +exports[`basics.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 40 @@ -94,7 +94,7 @@ printWidth: 40 ================================================================================ `; -exports[`boss.hbs 1`] = ` +exports[`boss.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 40 @@ -145,7 +145,7 @@ hey ================================================================================ `; -exports[`curly.hbs 1`] = ` +exports[`curly.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 40 @@ -163,7 +163,7 @@ printWidth: 40 ================================================================================ `; -exports[`display-inline-block.hbs 1`] = ` +exports[`display-inline-block.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 40 @@ -209,7 +209,7 @@ Click here! Click here! Click here! Click here! Click here! Click here! ================================================================================ `; -exports[`display-none.hbs 1`] = ` +exports[`display-none.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 40 @@ -233,7 +233,7 @@ printWidth: 40 ================================================================================ `; -exports[`fill.hbs 1`] = ` +exports[`fill.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 40 @@ -270,7 +270,7 @@ printWidth: 40 ================================================================================ `; -exports[`inline-element.hbs 1`] = ` +exports[`inline-element.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 40 @@ -327,7 +327,7 @@ conubia nostra, per inceptos himenaeos. Donec in ornare velit. ================================================================================ `; -exports[`non-breaking-whitespace.hbs 1`] = ` +exports[`non-breaking-whitespace.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 40 @@ -356,7 +356,7 @@ printWidth: 40 ================================================================================ `; -exports[`preserved-spaces-and-breaks.hbs 1`] = ` +exports[`preserved-spaces-and-breaks.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 40 @@ -448,7 +448,7 @@ sometimes{{nogaps ================================================================================ `; -exports[`punctuation.hbs 1`] = ` +exports[`punctuation.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 40 @@ -471,7 +471,7 @@ printWidth: 40 ================================================================================ `; -exports[`surrounding-linebreak.hbs 1`] = ` +exports[`surrounding-linebreak.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 40 @@ -524,7 +524,7 @@ printWidth: 40 ================================================================================ `; -exports[`table.hbs 1`] = ` +exports[`table.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 40 @@ -611,7 +611,7 @@ printWidth: 40 ================================================================================ `; -exports[`whitespace-control.hbs 1`] = ` +exports[`whitespace-control.hbs format 1`] = ` ====================================options===================================== parsers: ["glimmer"] printWidth: 40 diff --git a/tests/html_angular/__snapshots__/jsfmt.spec.js.snap b/tests/html_angular/__snapshots__/jsfmt.spec.js.snap index 3ac88a70fa..9d0a7a1969 100644 --- a/tests/html_angular/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_angular/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`angularjs.html 1`] = ` +exports[`angularjs.html format 1`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -41,7 +41,7 @@ trailingComma: "none" ================================================================================ `; -exports[`angularjs.html 2`] = ` +exports[`angularjs.html format 2`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -81,7 +81,7 @@ printWidth: 80 ================================================================================ `; -exports[`angularjs.html 3`] = ` +exports[`angularjs.html format 3`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 1 @@ -152,7 +152,7 @@ printWidth: 1 ================================================================================ `; -exports[`angularjs.html 4`] = ` +exports[`angularjs.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["angular"] @@ -193,7 +193,7 @@ printWidth: 80 ================================================================================ `; -exports[`angularjs.html 5`] = ` +exports[`angularjs.html format 5`] = ` ====================================options===================================== bracketSpacing: false parsers: ["angular"] @@ -234,7 +234,7 @@ printWidth: 80 ================================================================================ `; -exports[`attr-name.component.html 1`] = ` +exports[`attr-name.component.html format 1`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -249,7 +249,7 @@ trailingComma: "none" ================================================================================ `; -exports[`attr-name.component.html 2`] = ` +exports[`attr-name.component.html format 2`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -263,7 +263,7 @@ printWidth: 80 ================================================================================ `; -exports[`attr-name.component.html 3`] = ` +exports[`attr-name.component.html format 3`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 1 @@ -280,7 +280,7 @@ printWidth: 1 ================================================================================ `; -exports[`attr-name.component.html 4`] = ` +exports[`attr-name.component.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["angular"] @@ -295,7 +295,7 @@ printWidth: 80 ================================================================================ `; -exports[`attr-name.component.html 5`] = ` +exports[`attr-name.component.html format 5`] = ` ====================================options===================================== bracketSpacing: false parsers: ["angular"] @@ -310,7 +310,7 @@ printWidth: 80 ================================================================================ `; -exports[`attributes.component.html 1`] = ` +exports[`attributes.component.html format 1`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -581,7 +581,7 @@ trailingComma: "none" ================================================================================ `; -exports[`attributes.component.html 2`] = ` +exports[`attributes.component.html format 2`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -851,7 +851,7 @@ printWidth: 80 ================================================================================ `; -exports[`attributes.component.html 3`] = ` +exports[`attributes.component.html format 3`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 1 @@ -1450,7 +1450,7 @@ printWidth: 1 ================================================================================ `; -exports[`attributes.component.html 4`] = ` +exports[`attributes.component.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["angular"] @@ -1721,7 +1721,7 @@ printWidth: 80 ================================================================================ `; -exports[`attributes.component.html 5`] = ` +exports[`attributes.component.html format 5`] = ` ====================================options===================================== bracketSpacing: false parsers: ["angular"] @@ -1992,7 +1992,7 @@ printWidth: 80 ================================================================================ `; -exports[`first-lf.component.html 1`] = ` +exports[`first-lf.component.html format 1`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -2085,7 +2085,7 @@ trailingComma: "none" ================================================================================ `; -exports[`first-lf.component.html 2`] = ` +exports[`first-lf.component.html format 2`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -2177,7 +2177,7 @@ printWidth: 80 ================================================================================ `; -exports[`first-lf.component.html 3`] = ` +exports[`first-lf.component.html format 3`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 1 @@ -2349,7 +2349,7 @@ printWidth: 1 ================================================================================ `; -exports[`first-lf.component.html 4`] = ` +exports[`first-lf.component.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["angular"] @@ -2442,7 +2442,7 @@ printWidth: 80 ================================================================================ `; -exports[`first-lf.component.html 5`] = ` +exports[`first-lf.component.html format 5`] = ` ====================================options===================================== bracketSpacing: false parsers: ["angular"] @@ -2535,7 +2535,7 @@ printWidth: 80 ================================================================================ `; -exports[`ignore-attribute.component.html 1`] = ` +exports[`ignore-attribute.component.html format 1`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -2594,7 +2594,7 @@ trailingComma: "none" ================================================================================ `; -exports[`ignore-attribute.component.html 2`] = ` +exports[`ignore-attribute.component.html format 2`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -2652,7 +2652,7 @@ printWidth: 80 ================================================================================ `; -exports[`ignore-attribute.component.html 3`] = ` +exports[`ignore-attribute.component.html format 3`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 1 @@ -2734,7 +2734,7 @@ printWidth: 1 ================================================================================ `; -exports[`ignore-attribute.component.html 4`] = ` +exports[`ignore-attribute.component.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["angular"] @@ -2793,7 +2793,7 @@ printWidth: 80 ================================================================================ `; -exports[`ignore-attribute.component.html 5`] = ` +exports[`ignore-attribute.component.html format 5`] = ` ====================================options===================================== bracketSpacing: false parsers: ["angular"] @@ -2852,7 +2852,7 @@ printWidth: 80 ================================================================================ `; -exports[`interpolation.component.html 1`] = ` +exports[`interpolation.component.html format 1`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -3019,7 +3019,7 @@ trailingComma: "none" ================================================================================ `; -exports[`interpolation.component.html 2`] = ` +exports[`interpolation.component.html format 2`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -3185,7 +3185,7 @@ printWidth: 80 ================================================================================ `; -exports[`interpolation.component.html 3`] = ` +exports[`interpolation.component.html format 3`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 1 @@ -3557,7 +3557,7 @@ printWidth: 1 ================================================================================ `; -exports[`interpolation.component.html 4`] = ` +exports[`interpolation.component.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["angular"] @@ -3729,7 +3729,7 @@ printWidth: 80 ================================================================================ `; -exports[`interpolation.component.html 5`] = ` +exports[`interpolation.component.html format 5`] = ` ====================================options===================================== bracketSpacing: false parsers: ["angular"] @@ -3896,7 +3896,7 @@ printWidth: 80 ================================================================================ `; -exports[`real-world.component.html 1`] = ` +exports[`real-world.component.html format 1`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -5425,7 +5425,7 @@ can be found in the LICENSE file at http://angular.io/license ================================================================================ `; -exports[`real-world.component.html 2`] = ` +exports[`real-world.component.html format 2`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -6953,7 +6953,7 @@ can be found in the LICENSE file at http://angular.io/license ================================================================================ `; -exports[`real-world.component.html 3`] = ` +exports[`real-world.component.html format 3`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 1 @@ -10364,7 +10364,7 @@ can be found in the LICENSE file at http://angular.io/license ================================================================================ `; -exports[`real-world.component.html 4`] = ` +exports[`real-world.component.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["angular"] @@ -12031,7 +12031,7 @@ can be found in the LICENSE file at http://angular.io/license ================================================================================ `; -exports[`real-world.component.html 5`] = ` +exports[`real-world.component.html format 5`] = ` ====================================options===================================== bracketSpacing: false parsers: ["angular"] @@ -13560,7 +13560,7 @@ can be found in the LICENSE file at http://angular.io/license ================================================================================ `; -exports[`tag-name.component.html 1`] = ` +exports[`tag-name.component.html format 1`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -13575,7 +13575,7 @@ trailingComma: "none" ================================================================================ `; -exports[`tag-name.component.html 2`] = ` +exports[`tag-name.component.html format 2`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 80 @@ -13589,7 +13589,7 @@ printWidth: 80 ================================================================================ `; -exports[`tag-name.component.html 3`] = ` +exports[`tag-name.component.html format 3`] = ` ====================================options===================================== parsers: ["angular"] printWidth: 1 @@ -13603,7 +13603,7 @@ printWidth: 1 ================================================================================ `; -exports[`tag-name.component.html 4`] = ` +exports[`tag-name.component.html format 4`] = ` ====================================options===================================== htmlWhitespaceSensitivity: "ignore" parsers: ["angular"] @@ -13618,7 +13618,7 @@ printWidth: 80 ================================================================================ `; -exports[`tag-name.component.html 5`] = ` +exports[`tag-name.component.html format 5`] = ` ====================================options===================================== bracketSpacing: false parsers: ["angular"] diff --git a/tests/html_attributes/__snapshots__/jsfmt.spec.js.snap b/tests/html_attributes/__snapshots__/jsfmt.spec.js.snap index 3f8782a11a..107fc925e6 100644 --- a/tests/html_attributes/__snapshots__/jsfmt.spec.js.snap +++ b/tests/html_attributes/__snapshots__/jsfmt.spec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`attributes.html 1`] = ` +exports[`attributes.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -156,7 +156,7 @@ and HTML5 Apps. It also documents Mozilla products, like Firefox OS." ================================================================================ `; -exports[`boolean.html 1`] = ` +exports[`boolean.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -220,7 +220,7 @@ printWidth: 80 ================================================================================ `; -exports[`case-sensitive.html 1`] = ` +exports[`case-sensitive.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -234,7 +234,7 @@ printWidth: 80 ================================================================================ `; -exports[`class-names.html 1`] = ` +exports[`class-names.html format 1`] = ` ====================================options===================================== parsers: ["html"] printWidth: 80 @@ -339,7 +339,7 @@ width="205px" alt="Yahoo"/>