[INFO] cloning repository https://github.com/dprint/dprint-plugin-typescript [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dprint/dprint-plugin-typescript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdprint%2Fdprint-plugin-typescript", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdprint%2Fdprint-plugin-typescript'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f500b2918db57e09f6310f6f7225134be1ff651 [INFO] testing dprint/dprint-plugin-typescript against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdprint%2Fdprint-plugin-typescript" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dprint/dprint-plugin-typescript on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/dprint/dprint-plugin-typescript [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/dprint/dprint-plugin-typescript [INFO] tweaked toml for git repo https://github.com/dprint/dprint-plugin-typescript written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dprint/dprint-plugin-typescript already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 309be05f2f833b248e886cee0a6f6edfd97a205a6c4709b8a44d4cd99ca6e54b [INFO] running `Command { std: "docker" "start" "-a" "309be05f2f833b248e886cee0a6f6edfd97a205a6c4709b8a44d4cd99ca6e54b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "309be05f2f833b248e886cee0a6f6edfd97a205a6c4709b8a44d4cd99ca6e54b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "309be05f2f833b248e886cee0a6f6edfd97a205a6c4709b8a44d4cd99ca6e54b", kill_on_drop: false }` [INFO] [stdout] 309be05f2f833b248e886cee0a6f6edfd97a205a6c4709b8a44d4cd99ca6e54b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 946593865f17be852c57ce8a5b97a266971a9057b422fde652877c464ad476b7 [INFO] running `Command { std: "docker" "start" "-a" "946593865f17be852c57ce8a5b97a266971a9057b422fde652877c464ad476b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling swc_visit v2.0.0 [INFO] [stderr] Compiling better_scoped_tls v1.0.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling unicode-id-start v1.2.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling data-url v0.3.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling string_capacity v0.1.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling deno_terminal v0.2.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling dprint-core-macros v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling swc_macros_common v1.0.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling ast_node v3.0.0 [INFO] [stderr] Compiling from_variant v2.0.0 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.0 [INFO] [stderr] Compiling string_enum v1.0.0 [INFO] [stderr] Compiling is-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling deno_error_macro v0.5.2 [INFO] [stderr] Compiling ptr_meta v0.3.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling deno_error v0.5.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling triomphe v0.1.13 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling text_lines v0.6.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling hstr v1.0.0 [INFO] [stderr] Compiling swc_allocator v4.0.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling swc_atoms v5.0.0 [INFO] [stderr] Compiling dprint-core v0.67.4 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling swc_common v8.0.0 [INFO] [stderr] Compiling deno_media_type v0.2.1 [INFO] [stderr] Compiling swc_ecma_ast v8.0.0 [INFO] [stderr] Compiling swc_ecma_parser v10.0.0 [INFO] [stderr] Compiling dprint-swc-ext v0.22.1 [INFO] [stderr] Compiling deno_ast v0.46.0 [INFO] [stderr] Compiling dprint-plugin-typescript v0.94.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.62s [INFO] running `Command { std: "docker" "inspect" "946593865f17be852c57ce8a5b97a266971a9057b422fde652877c464ad476b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "946593865f17be852c57ce8a5b97a266971a9057b422fde652877c464ad476b7", kill_on_drop: false }` [INFO] [stdout] 946593865f17be852c57ce8a5b97a266971a9057b422fde652877c464ad476b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63e68e5aadf92810e522ad575af6e13f5a98d5d7980ca2031f82115a646a0adb [INFO] running `Command { std: "docker" "start" "-a" "63e68e5aadf92810e522ad575af6e13f5a98d5d7980ca2031f82115a646a0adb", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling deno_terminal v0.1.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling similar v2.6.0 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling file_test_runner v0.5.1 [INFO] [stderr] Compiling dprint-development v0.10.1 [INFO] [stderr] Compiling dprint-plugin-typescript v0.94.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.48s [INFO] running `Command { std: "docker" "inspect" "63e68e5aadf92810e522ad575af6e13f5a98d5d7980ca2031f82115a646a0adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63e68e5aadf92810e522ad575af6e13f5a98d5d7980ca2031f82115a646a0adb", kill_on_drop: false }` [INFO] [stdout] 63e68e5aadf92810e522ad575af6e13f5a98d5d7980ca2031f82115a646a0adb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cd7a256982a57020429ae7ecb794e7d656b115c9cd35fc212c421812f21a94b7 [INFO] running `Command { std: "docker" "start" "-a" "cd7a256982a57020429ae7ecb794e7d656b115c9cd35fc212c421812f21a94b7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dprint_plugin_typescript-feecd48212a6b6bd) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test configuration::resolve_config::tests::handle_global_config ... ok [INFO] [stdout] test configuration::resolve_config::tests::handle_deno_config_with_overwrites ... ok [INFO] [stdout] test configuration::resolve_config::tests::handle_deno_config ... ok [INFO] [stdout] test generation::sorting::module_specifiers::test::it_should_compare_module_specifiers ... ok [INFO] [stdout] test configuration::builder::tests::check_all_values_set ... ok [INFO] [stdout] test format_text::test::strips_bom ... ok [INFO] [stdout] test generation::sorting::module_specifiers::test::it_should_get_module_specifier_info_when_empty ... ok [INFO] [stdout] test generation::sorting::module_specifiers::test::it_should_get_module_specifier_info_for_relative ... ok [INFO] [stdout] test configuration::resolve_config::tests::handle_global_config_default ... ok [INFO] [stdout] test generation::sorting::module_specifiers::test::it_should_get_module_specifier_info_for_absolute ... ok [INFO] [stdout] test swc::tests::file_extension_overwrite ... ok [INFO] [stdout] test swc::tests::it_should_error_for_exected_close_brace ... ok [INFO] [stdout] test swc::tests::it_should_error_for_merge_conflict_marker ... ok [INFO] [stdout] test swc::tests::it_should_error_closing_paren_missing ... ok [INFO] [stdout] test swc::tests::should_error_on_unary_expression_dot_semicolon ... ok [INFO] [stdout] test swc::tests::it_should_error_without_issue_when_there_exists_multi_byte_char_on_line_with_syntax_error ... ok [INFO] [stdout] test swc::tests::should_error_on_syntax_diagnostic ... ok [INFO] [stdout] test utils::file_text_has_ignore_comment::tests::it_should_be_true_when_first_comment_in_file ... ok [INFO] [stdout] test utils::file_text_has_ignore_comment::tests::it_should_be_true_when_multi_line_comment ... ok [INFO] [stdout] test utils::file_text_has_ignore_comment::tests::it_should_be_true_when_multi_line_comment_and_new_lines_before ... ok [INFO] [stdout] test utils::file_text_has_ignore_comment::tests::it_should_be_true_when_not_first_and_other_types_of_comments ... ok [INFO] [stdout] test swc::tests::it_should_error_for_exected_expr_issue_121 ... ok [INFO] [stdout] test swc::tests::should_error_on_unary_expression_dot ... ok [INFO] [stdout] test swc::tests::test_from_file_path_wasm ... ok [INFO] [stdout] test swc::tests::it_should_error_for_no_equals_sign_in_var_decl ... ok [INFO] [stdout] test swc::tests::it_should_error_when_var_stmts_sep_by_comma ... ok [INFO] [stdout] test utils::string_utils::test::split_lines_empty_last_line ... ok [INFO] [stdout] test utils::string_utils::test::split_lines_non_empty_last_line ... ok [INFO] [stdout] test swc::tests::it_should_error_for_exected_string_literal ... ok [INFO] [stdout] test utils::file_text_has_ignore_comment::tests::it_should_skip_over_shebang ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/spec_test.rs (/opt/rustwide/target/debug/deps/specs-6530a7519d99d2ca) [INFO] [stderr] [INFO] [stderr] Running specs::clauses::catchClause [INFO] [stderr] [INFO] [stderr] test specs::clauses::catchClause::CatchClause_All ... (4ms) [INFO] [stderr] should output without param ok [INFO] [stderr] should output with param ok [INFO] [stderr] should output with type on param ok [INFO] [stderr] test specs::clauses::catchClause::CatchClause_SpaceAround_True ... (7ms) [INFO] [stderr] should output without param ok [INFO] [stderr] should output with param ok [INFO] [stderr] should output with type on param ok [INFO] [stderr] [INFO] [stderr] Running specs::comments [INFO] [stderr] [INFO] [stderr] test specs::comments::CommentLines_ForceSpaceAfterDoubleSlash_False ... (1ms) [INFO] [stderr] should not force a space after a double slash ok [INFO] [stderr] test specs::comments::IgnoreComments_Custom ... (8ms) [INFO] [stderr] should ignore formatting a node marked with a custom ignore comment ok [INFO] [stderr] should not ignore when a comment block ok [INFO] [stderr] should not ignore when ignore word has extra characters on the end ok [INFO] [stderr] should ignore when there is a colon after (or some other non word character) ok [INFO] [stderr] should ignore a custom file ignore comment ok [INFO] [stderr] test specs::comments::CommentLines_All ... (13ms) [INFO] [stderr] should format triple slash directives ok [INFO] [stderr] should format triple slash directives with a space at the beginning if it doesn't have one ok [INFO] [stderr] should allow as many slashes at the beginning as the user likes ok [INFO] [stderr] should format when empty ok [INFO] [stderr] should allow indenting ok [INFO] [stderr] should force a space after a double slash by default ok [INFO] [stderr] should allow as many spaces after the slash except for no space ok [INFO] [stderr] should not panic for tab in comment ok [INFO] [stderr] test specs::comments::InnerComments_All ... (18ms) [INFO] [stderr] should put each comment on a separate line ok [INFO] [stderr] test specs::comments::CommentBlocks_All ... (29ms) [INFO] [stderr] should keep comments within nodes ok [INFO] [stderr] should keep blank lines between comments ok [INFO] [stderr] should not add newlines for comments between interface declarations ok [INFO] [stderr] should use newlines when the comment block is on a different line ok [INFO] [stderr] should format multi-line comments ok [INFO] [stderr] should handle changing indentation of block comments ok [INFO] [stderr] should format comments in arguments ok [INFO] [stderr] should not panic for tab in comment block ok [INFO] [stderr] test specs::comments::IgnoreComments_All ... (32ms) [INFO] [stderr] should ignore formatting a node marked with an ignore comment ok [INFO] [stderr] should not ignore when a comment block ok [INFO] [stderr] should not ignore when ignore word has extra characters on the end ok [INFO] [stderr] should ignore when there is a colon after (or some other non word character) ok [INFO] [stderr] should ignore even when it's not the immediately preceding comment ok [INFO] [stderr] ignore comment at top of file should not ignore everything ok [INFO] [stderr] test specs::comments::IgnoreComments_Jsx ... (37ms) [INFO] [stderr] should ignore element after ignore comment in an element ok [INFO] [stderr] should ignore element after ignore comment in a fragment ok [INFO] [stderr] should ignore element after ignore comment in a previous empty element ok [INFO] [stderr] test specs::comments::JSDocComments_All ... (54ms) [INFO] [stderr] should handle changing indentation of js doc ok [INFO] [stderr] should add spaces when missing ok [INFO] [stderr] should support JS doc with text on the first line and last line ok [INFO] [stderr] should trim leading and trailing blank lines ok [INFO] [stderr] should remove consecutive blank lines ok [INFO] [stderr] should allow indented text at any indentation ok [INFO] [stderr] empty JS doc comment ok [INFO] [stderr] should handle stars at zero indent ok [INFO] [stderr] should not panic for tab in js doc ok [INFO] [stderr] should not add spaces jsdoc when sibling char is asterisk ok [INFO] [stderr] should not remove the space in this scenario with an asterisk ok [INFO] [stderr] [INFO] [stderr] Running specs::common [INFO] [stderr] [INFO] [stderr] test specs::common::CjsFile_All ... (3ms) [INFO] [stderr] should format cjs file ok [INFO] [stderr] should support JSX in cjs file ok [INFO] [stderr] test specs::common::DeclarationFile_All ... (3ms) [INFO] [stderr] should format a declaration file ok [INFO] [stderr] test specs::common::JsxInTs_All ... (12ms) [INFO] [stderr] should support JSX in ts file ok [INFO] [stderr] test specs::common::MjsFile_All ... (14ms) [INFO] [stderr] should format mjs file ok [INFO] [stderr] should support JSX in mjs file ok [INFO] [stderr] [INFO] [stderr] Running specs::common::ComputedProperty [INFO] [stderr] [INFO] [stderr] test specs::common::ComputedProperty::ComputedProperty_All ... (4ms) [INFO] [stderr] should format ok [INFO] [stderr] should make multi-line when inner node is on newline ok [INFO] [stderr] should allow comments inside ok [INFO] [stderr] [INFO] [stderr] Running specs::common::configuration [INFO] [stderr] [INFO] [stderr] test specs::common::configuration::UseTabs_IndentWidth ... (2ms) [INFO] [stderr] should use the specified indent width for the tab size ok [INFO] [stderr] test specs::common::configuration::IllegalTrailingCommas ... (13ms) [INFO] [stderr] should not do a trailing comma in rest parameters ok [INFO] [stderr] should not do a trailing comma in array patterns ok [INFO] [stderr] should not do a trailing comma in object patterns ok [INFO] [stderr] should not use trailing commas on a dynamic import ok [INFO] [stderr] should not use trailing commas in a rest param in arrow functions ok [INFO] [stderr] should not use trailing comma in type argument in class decl ok [INFO] [stderr] should not use trailing comma in type argument in class expr ok [INFO] [stderr] [INFO] [stderr] Running specs::common::identifier [INFO] [stderr] [INFO] [stderr] test specs::common::identifier::Identifier_All ... (3ms) [INFO] [stderr] should parse ok [INFO] [stderr] should parse with type annotation ok [INFO] [stderr] should parse when optional ok [INFO] [stderr] should convert escape sequencies in an identifier to the character ok [INFO] [stderr] [INFO] [stderr] Running specs::common::typeAnnotation [INFO] [stderr] [INFO] [stderr] test specs::common::typeAnnotation::TypeAnnotation_SpaceBeforeColon_True ... (5ms) [INFO] [stderr] should format with a space before the colon ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::class [INFO] [stderr] [INFO] [stderr] test specs::declarations::class::ClassDeclaration_BracePosition_Maintain ... (7ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the same line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the next line ok [INFO] [stderr] test specs::declarations::class::ClassDeclaration_BracePosition_SameLine ... (8ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] should use the same line for the brace position when hanging ok [INFO] [stderr] test specs::declarations::class::ClassDeclaration_Body_Comments ... (10ms) [INFO] [stderr] should inner comments ok [INFO] [stderr] should print on single line with comment ok [INFO] [stderr] should go multi-line when the comment is long ok [INFO] [stderr] test specs::declarations::class::ClassDeclaration_BracePosition_NextLine ... (12ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] should use the next line for type parameters on multiple lines ok [INFO] [stderr] should use the next line for the brace position when hanging ok [INFO] [stderr] should handle export default with a name ok [INFO] [stderr] should not consider a class in an export default decl with no name as a declaration ok [INFO] [stderr] test specs::declarations::class::ClassDeclaration_Body ... (14ms) [INFO] [stderr] should print members ok [INFO] [stderr] should leave an empty class declaration block on the same line ok [INFO] [stderr] should remove empty semi-colons ok [INFO] [stderr] test specs::declarations::class::ClassDeclaration_Decorators ... (22ms) [INFO] [stderr] should print decorator ok [INFO] [stderr] should print decorator with export keyword ok [INFO] [stderr] should print decorator with export default ok [INFO] [stderr] should print multiple decorators ok [INFO] [stderr] should print multiple decorators that go over the line width ok [INFO] [stderr] should use newlines if the first two decorators are on different lines ok [INFO] [stderr] should have preference to break between decorators when going above line width ok [INFO] [stderr] test specs::declarations::class::ClassDeclaration_PreferHanging_True ... (27ms) [INFO] [stderr] should print with type parameters hanging when they go over the limit ok [INFO] [stderr] should print with type parameters hanging and extends when they go over the limit ok [INFO] [stderr] should print with type parameters hanging, extends, and implements when they go over the limit ok [INFO] [stderr] should print with type parameters on multiple lines ok [INFO] [stderr] should print with type parameters on multiple lines and extends ok [INFO] [stderr] should not split up within an implements ok [INFO] [stderr] should print multiple implements that go over the line width twice ok [INFO] [stderr] test specs::declarations::class::ClassDeclaration_Header ... (42ms) [INFO] [stderr] should print with no members ok [INFO] [stderr] should print with no name ok [INFO] [stderr] should not print on single line with member ok [INFO] [stderr] should print abstract ok [INFO] [stderr] should print declare ok [INFO] [stderr] should print declare and abstract ok [INFO] [stderr] should print an extends clause ok [INFO] [stderr] should print a verly long extends clause so that it goes to the next line ok [INFO] [stderr] should not split up within an extends ok [INFO] [stderr] should print an implements clause ok [INFO] [stderr] should print multiple implements ok [INFO] [stderr] should print multiple implements that go over the line width ok [INFO] [stderr] should not split up within an implements ok [INFO] [stderr] should print multiple implements that go over the line width twice ok [INFO] [stderr] should print long extends and then put implements on separate line ok [INFO] [stderr] should print with type parameters ok [INFO] [stderr] should print type parameters when they go over the limit ok [INFO] [stderr] should print with type parameters and extends when they go over the limit ok [INFO] [stderr] should print with type parameters on multiple lines ok [INFO] [stderr] should print with type parameters on multiple lines and extends ok [INFO] [stderr] should print a super's type argument ok [INFO] [stderr] should print mixins ok [INFO] [stderr] header with comment after name and implements ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::class::auto_accessor [INFO] [stderr] [INFO] [stderr] test specs::declarations::class::auto_accessor::AutoAccessor_All ... (3ms) [INFO] [stderr] should format auto accessors ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::class::decorator [INFO] [stderr] [INFO] [stderr] test specs::declarations::class::decorator::Decorator_JavaScript ... (1ms) [INFO] [stderr] should support decorators in javascript ok [INFO] [stderr] test specs::declarations::class::decorator::Decorator_All ... (12ms) [INFO] [stderr] should print a decorator ok [INFO] [stderr] should print a decorator with a call expression ok [INFO] [stderr] should print a decorator parameters on multiple lines when exceeding the line width ok [INFO] [stderr] should print decorator with comments surrounding for an export declaration ok [INFO] [stderr] should print decorator with comments surrounding for an export default declaration ok [INFO] [stderr] should allow decorators on parameters ok [INFO] [stderr] should handle mutli-line decorators on parameter ok [INFO] [stderr] test specs::declarations::class::decorator::Decorators_PreferSingleLine_True ... (12ms) [INFO] [stderr] should print the decorators on a single line when they fit ok [INFO] [stderr] should keep multi-line when they exceed the width ok [INFO] [stderr] should print decorators on a single line when they fit for class expressions ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::class::method [INFO] [stderr] [INFO] [stderr] test specs::declarations::class::method::ClassMethod_DeclareMethod_SemiColons_Asi ... (1ms) [INFO] [stderr] should not use semi colons when specified not to ok [INFO] [stderr] test specs::declarations::class::method::ClassMethod_BracePosition_NextLine ... (4ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] should use the next line for type parameters on multiple lines ok [INFO] [stderr] should use the next line for the brace position when going multi-line ok [INFO] [stderr] test specs::declarations::class::method::ClassMethod_SpaceBeforeParentheses_True ... (5ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::declarations::class::method::ClassMethod_DeclareMethod ... (5ms) [INFO] [stderr] should format different kinds of declare class methods ok [INFO] [stderr] test specs::declarations::class::method::ClassMethod_BracePosition_SameLine ... (7ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] should use the same line for the brace position when going multi-line ok [INFO] [stderr] test specs::declarations::class::method::ClassMethod_BracePosition_Maintain ... (15ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] should maintain the position for the brace position when multi-line and on the same line ok [INFO] [stderr] should maintain the position for the brace position when multi-line and on the next line ok [INFO] [stderr] test specs::declarations::class::method::ClassMethod_PreferHanging_True ... (15ms) [INFO] [stderr] should format the return type on the same line when the rest of the header is hanging ok [INFO] [stderr] should format the return type on a new line when it's hanging and the rest of the header is hanging ok [INFO] [stderr] should format the return type on the same line when the rest of the header is hanging ok [INFO] [stderr] should format the return type on a new line when it's hanging and the rest of the header is hanging ok [INFO] [stderr] test specs::declarations::class::method::ClassMethod_All ... (21ms) [INFO] [stderr] should format different kinds of class methods ok [INFO] [stderr] should format as multi-line when the return type extends past the line width ok [INFO] [stderr] should force multi-line parameters when exceeding the line width ok [INFO] [stderr] should not be multi-line when not exceeding the line width ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::class::parameter_property [INFO] [stderr] [INFO] [stderr] test specs::declarations::class::parameter_property::ParameterProperty_All ... (3ms) [INFO] [stderr] should format ok [INFO] [stderr] should format with decorators ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::class::private_method [INFO] [stderr] [INFO] [stderr] test specs::declarations::class::private_method::PrivateMethod_All ... (2ms) [INFO] [stderr] should format private methods ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::class::private_property [INFO] [stderr] [INFO] [stderr] test specs::declarations::class::private_property::PrivateProperty_All ... (3ms) [INFO] [stderr] should format ok [INFO] [stderr] should wrap an assignment that goes over the line width when sufficient ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::class::property [INFO] [stderr] [INFO] [stderr] test specs::declarations::class::property::ClassProperty_SemiColons_Asi ... (6ms) [INFO] [stderr] should not use a semi-colon when false ok [INFO] [stderr] should not remove semi on property before computed ok [INFO] [stderr] test specs::declarations::class::property::ClassProperty_All ... (10ms) [INFO] [stderr] should format different kinds of class properties ok [INFO] [stderr] should wrap an assignment that goes over the line width when sufficient ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::class::static_block [INFO] [stderr] [INFO] [stderr] test specs::declarations::class::static_block::StaticBlock_All ... (1ms) [INFO] [stderr] should format static blocks ok [INFO] [stderr] test specs::declarations::class::static_block::StaticBlock_BracePosition_Maintain ... (1ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] test specs::declarations::class::static_block::StaticBlock_BracePosition_SameLine ... (2ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] test specs::declarations::class::static_block::StaticBlock_BracePosition_NextLine ... (3ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::enum [INFO] [stderr] [INFO] [stderr] test specs::declarations::enum::EnumDeclaration_TrailingCommas_Always ... (1ms) [INFO] [stderr] should format with trailing commas ok [INFO] [stderr] test specs::declarations::enum::EnumDeclaration_BracePosition_Maintain ... (1ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] test specs::declarations::enum::EnumDeclaration_BracePosition_NextLine ... (2ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] test specs::declarations::enum::EnumDeclaration_MemberSpacing_Maintain ... (2ms) [INFO] [stderr] should format keeping the spacing ok [INFO] [stderr] test specs::declarations::enum::EnumDeclaration_TrailingCommas_Never ... (2ms) [INFO] [stderr] should not format with trailing commas ok [INFO] [stderr] test specs::declarations::enum::EnumDeclaration_MemberSpacing_Newline ... (3ms) [INFO] [stderr] should format with newLines ok [INFO] [stderr] test specs::declarations::enum::EnumDeclaration_TrailingCommas_OnlyMultiLine ... (3ms) [INFO] [stderr] should format with trailing commas ok [INFO] [stderr] test specs::declarations::enum::EnumDeclaration_BracePosition_SameLine ... (6ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] test specs::declarations::enum::EnumDeclaration_MemberSpacing_Blankline ... (7ms) [INFO] [stderr] should format with blankLines ok [INFO] [stderr] test specs::declarations::enum::EnumDeclaration_All ... (8ms) [INFO] [stderr] should format ok [INFO] [stderr] should format when const ok [INFO] [stderr] should format with members ok [INFO] [stderr] should format with only comments ok [INFO] [stderr] should format when has comments ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::enum::members [INFO] [stderr] [INFO] [stderr] test specs::declarations::enum::members::EnumMember_All ... (3ms) [INFO] [stderr] should format ok [INFO] [stderr] should format with initializer on next line if it goes over ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::export [INFO] [stderr] [INFO] [stderr] test specs::declarations::export::ExportDefaultDeclaration_All ... (2ms) [INFO] [stderr] should not have a semi-colon when exporting a class ok [INFO] [stderr] should not have a semi-colon when exporting a function ok [INFO] [stderr] test specs::declarations::export::ExportDeclaration_All ... (5ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::declarations::export::ExportDefaultExpression_SemiColons_Asi ... (6ms) [INFO] [stderr] should format without a semi-colon ok [INFO] [stderr] test specs::declarations::export::ExportDeclaration_SpaceSurroundingNamedExports_False ... (10ms) [INFO] [stderr] should format when using named exports ok [INFO] [stderr] test specs::declarations::export::ExportNamedDeclaration_SemiColons_Asi ... (10ms) [INFO] [stderr] should format without semi-colons ok [INFO] [stderr] test specs::declarations::export::NamedExports_PreferHanging_False ... (11ms) [INFO] [stderr] should format when single line ok [INFO] [stderr] should format when using many named exports that go over the line width ok [INFO] [stderr] test specs::declarations::export::ExportDeclaration_PreferSingleLine_True ... (16ms) [INFO] [stderr] should format on a single line when short enough ok [INFO] [stderr] should format on multiple lines when long enough ok [INFO] [stderr] should format on multiple lines when short enough, but there's a comment ok [INFO] [stderr] test specs::declarations::export::ExportAllDeclaration_SemiColons_Asi ... (16ms) [INFO] [stderr] should format without a semi-colon ok [INFO] [stderr] test specs::declarations::export::ExportDefaultExpression_All ... (19ms) [INFO] [stderr] should format when using a default export ok [INFO] [stderr] should have semi-colon for object literal ok [INFO] [stderr] should have semi-colon when exporting function call ok [INFO] [stderr] test specs::declarations::export::NamedExports_SortNamedTypeExports_None ... (1ms) [INFO] [stderr] should sort ok [INFO] [stderr] test specs::declarations::export::NamedExports_SortOrder_Maintain ... (3ms) [INFO] [stderr] should maintain sort order ok [INFO] [stderr] test specs::declarations::export::NamedExports_TrailingCommas_Never ... (2ms) [INFO] [stderr] should not use trailing commas when multi-line ok [INFO] [stderr] should sort the exports in alphabetical order taking into account the comma ok [INFO] [stderr] test specs::declarations::export::NamedExports_SortNamedTypeExports_Last ... (7ms) [INFO] [stderr] should sort ok [INFO] [stderr] test specs::declarations::export::NamedExports_SortOrder_CaseSensitive ... (8ms) [INFO] [stderr] should sort case sensitive ok [INFO] [stderr] test specs::declarations::export::ExportDeclaration_ForceMultiLine_Always ... (29ms) [INFO] [stderr] should always add a new line between exports ok [INFO] [stderr] should not collapse a multi-line one ok [INFO] [stderr] should make a single export multi-line ok [INFO] [stderr] test specs::declarations::export::ExportAllDeclaration_All ... (32ms) [INFO] [stderr] should format ok [INFO] [stderr] should format assertions ok [INFO] [stderr] should format attributes ok [INFO] [stderr] test specs::declarations::export::ExportDeclaration_ForceMultiLine_OnlyWhenMultiple ... (33ms) [INFO] [stderr] should never add a new line between exports ok [INFO] [stderr] should not collapse a single-line one ok [INFO] [stderr] test specs::declarations::export::NamedExports_SortNamedTypeExports_First ... (15ms) [INFO] [stderr] should sort first ok [INFO] [stderr] test specs::declarations::export::ExportDeclaration_ForceSingleLine_True ... (35ms) [INFO] [stderr] should keep export decls on same line unless they contain a line comment ok [INFO] [stderr] should collapse a multi-line one ok [INFO] [stderr] test specs::declarations::export::NamedExports_PreferHanging_True ... (42ms) [INFO] [stderr] should format when using many named exports ok [INFO] [stderr] should format when using many named exports that go over the line width ok [INFO] [stderr] should not format with newlines if the first is on a different line since preferSingleLine is true by default for export decls ok [INFO] [stderr] should always do a newline as a unit ok [INFO] [stderr] should break up on `as` when really long on the same line ok [INFO] [stderr] should break up on `as` when really long on a different line ok [INFO] [stderr] test specs::declarations::export::NamedExports_SortOrder_CaseInsensitive ... (25ms) [INFO] [stderr] should sort case insensitive ok [INFO] [stderr] should handle and move around comments ok [INFO] [stderr] should handle and move around line comments ok [INFO] [stderr] should move around comments on single line ok [INFO] [stderr] should not move a leading comment line ok [INFO] [stderr] should not sort type imports by default in order to reduce merge conflicts ok [INFO] [stderr] test specs::declarations::export::ExportNamedDeclaration_All ... (54ms) [INFO] [stderr] should format when using no named exports ok [INFO] [stderr] should format when using named exports ok [INFO] [stderr] should format when using a namespace export specifier ok [INFO] [stderr] should format a type-only export ok [INFO] [stderr] should format a type only export specifiers ok [INFO] [stderr] should format when has zero named exports ok [INFO] [stderr] should format when has zero named exports and is type-only export ok [INFO] [stderr] should remain single line when has no named exports and exceeding the line width ok [INFO] [stderr] should remain single line when has one named export and exceeding the line width ok [INFO] [stderr] should remain single line when has one named export with alias and exceeding the line width ok [INFO] [stderr] should not be single line when has two named exports and exceeding the line width ok [INFO] [stderr] should prefer single line by default ok [INFO] [stderr] should sort the exports in alphabetical order ok [INFO] [stderr] should sort the declarations by their module specifiers ok [INFO] [stderr] should sort the declarations by their module specifiers ok [INFO] [stderr] should format assertions ok [INFO] [stderr] should format attributes ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::function [INFO] [stderr] [INFO] [stderr] test specs::declarations::function::Function_BracePosition_SameLine ... (2ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] should use the same line for the brace position when hanging ok [INFO] [stderr] test specs::declarations::function::Function_SemiColons_Asi ... (3ms) [INFO] [stderr] should format without semi-colon ok [INFO] [stderr] test specs::declarations::function::Function_Parens_PreferSingleLine_True ... (5ms) [INFO] [stderr] should not keep parameters on multiple lines on multiple lines ok [INFO] [stderr] should not make multi-line when the first param is on a new line ok [INFO] [stderr] test specs::declarations::function::Function_SpaceBeforeParentheses_True ... (6ms) [INFO] [stderr] should format with a space before the parens ok [INFO] [stderr] should format with a space before the parens even when multi-line ok [INFO] [stderr] should format for a declaration function ok [INFO] [stderr] test specs::declarations::function::Function_BracePosition_NextLine ... (10ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] should use the next line for the brace position when hanging ok [INFO] [stderr] test specs::declarations::function::Function_Parens_PreferSingleLine_False ... (2ms) [INFO] [stderr] should keep parameters on multiple lines on multiple lines ok [INFO] [stderr] should make multi-line when the first param is on a new line ok [INFO] [stderr] test specs::declarations::function::Function_BracePosition_Maintain ... (22ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the same line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the next line ok [INFO] [stderr] test specs::declarations::function::Function_PreferHanging_True ... (23ms) [INFO] [stderr] should format params with a hanging indent ok [INFO] [stderr] should revert a hanging indent to a single line if short enough ok [INFO] [stderr] should format the return type on the same line when the rest of the header is hanging ok [INFO] [stderr] should format the return type on a new line when it's multi-line and the rest of the header is hanging ok [INFO] [stderr] test specs::declarations::function::Function_CloseBraceOverMaxWidth ... (24ms) [INFO] [stderr] Brace at 79 ok [INFO] [stderr] Brace at 80 ok [INFO] [stderr] Brace at 81 ok [INFO] [stderr] Brace at 82 ok [INFO] [stderr] With return type ok [INFO] [stderr] test specs::declarations::function::Function_All ... (25ms) [INFO] [stderr] should format everything in a function declaration ok [INFO] [stderr] should format a generator ok [INFO] [stderr] should format an async generator ok [INFO] [stderr] should format a declare function with an export keyword ok [INFO] [stderr] should format a declare function without an export keyword ok [INFO] [stderr] should format the params as multi-line when the return type exceeds the line width ok [INFO] [stderr] should format the params as multi-line when the return type exceeds the line width and there is only 1 param ok [INFO] [stderr] should not move the close brace to the next line when empty and on the same line ok [INFO] [stderr] should allow comments inside the braces when on the same line ok [INFO] [stderr] should support object destructuring in parameter with type ok [INFO] [stderr] should force multi-line parameters when exceeding the line width ok [INFO] [stderr] should not be multi-line when not exceeding the line width ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::import [INFO] [stderr] [INFO] [stderr] test specs::declarations::import::ImportDeclaration_PreferSingleLine_True ... (4ms) [INFO] [stderr] should format on a single line when short enough ok [INFO] [stderr] should format on multiple lines when long enough ok [INFO] [stderr] should format on multiple lines when short enough, but there's a comment ok [INFO] [stderr] test specs::declarations::import::ImportDeclaration_ForceMultiLine_Never ... (6ms) [INFO] [stderr] should never add a new line between ok [INFO] [stderr] test specs::declarations::import::ImportDeclaration_SemiColons_Asi ... (6ms) [INFO] [stderr] should format without a semi colon ok [INFO] [stderr] test specs::declarations::import::NamedImports_SortNamedTypeImports_First ... (7ms) [INFO] [stderr] should sort first ok [INFO] [stderr] test specs::declarations::import::ImportDeclaration_ForceMultiLine_OnlyWhenMultiple ... (8ms) [INFO] [stderr] should break imports when more than one ok [INFO] [stderr] should not break single-line imports ok [INFO] [stderr] test specs::declarations::import::ImportDeclaration_SpaceSurroundingNamedExports_False ... (9ms) [INFO] [stderr] should format when using named imports ok [INFO] [stderr] test specs::declarations::import::NamedImports_SortNamedTypeImports_Last ... (11ms) [INFO] [stderr] should sort ok [INFO] [stderr] test specs::declarations::import::NamedImports_SortNamedTypeImports_None ... (15ms) [INFO] [stderr] should sort ok [INFO] [stderr] test specs::declarations::import::NamedImports_PreferHanging_False ... (16ms) [INFO] [stderr] should format on a single line when hanging and short enough ok [INFO] [stderr] should format on multiple lines when long enough ok [INFO] [stderr] test specs::declarations::import::ImportDeclaration_ForceMultiLine_Always ... (22ms) [INFO] [stderr] should always add a new line between ok [INFO] [stderr] should collapse a multi-line one ok [INFO] [stderr] should make a single import multi-line ok [INFO] [stderr] test specs::declarations::import::NamedImports_SortOrder_Maintain ... (5ms) [INFO] [stderr] should maintain sort order ok [INFO] [stderr] test specs::declarations::import::NamedImports_SortOrder_CaseSensitive ... (23ms) [INFO] [stderr] should sort case sensitive ok [INFO] [stderr] test specs::declarations::import::NamedImports_TrailingCommas_Never ... (18ms) [INFO] [stderr] should not use trailing commas when multi-line ok [INFO] [stderr] should sort the imports in alphabetical order taking into account the comma ok [INFO] [stderr] test specs::declarations::import::NamedImports_PreferHanging_True ... (38ms) [INFO] [stderr] should format on a single line when hanging and short enough ok [INFO] [stderr] should format hanging when long enough ok [INFO] [stderr] should break up on `as` when really long on the same line ok [INFO] [stderr] should break up on `as` when really long on a different line ok [INFO] [stderr] test specs::declarations::import::ImportDeclaration_ForceSingleLine_True ... (38ms) [INFO] [stderr] should keep import decls on same line unless they contain a line comment ok [INFO] [stderr] should collapse a multi-line one ok [INFO] [stderr] test specs::declarations::import::NamedImports_SortOrder_CaseInsensitive ... (43ms) [INFO] [stderr] should sort case insensitive ok [INFO] [stderr] should handle and move around comments ok [INFO] [stderr] should handle and move around line comments ok [INFO] [stderr] should move around comments on single line ok [INFO] [stderr] should not move a leading comment line ok [INFO] [stderr] should not sort type only imports by default to reduce merge conflicts ok [INFO] [stderr] test specs::declarations::import::ImportDeclaration_All ... (56ms) [INFO] [stderr] should format when only having a module specifier ok [INFO] [stderr] should format when using a default and namespace import ok [INFO] [stderr] should format when using a default and named imports ok [INFO] [stderr] should format when using a default import ok [INFO] [stderr] should format when using a namespace import ok [INFO] [stderr] should format when using named imports ok [INFO] [stderr] should format a type only import ok [INFO] [stderr] should format a type only import specifiers ok [INFO] [stderr] should format when has zero named imports ok [INFO] [stderr] should format when has zero named imports and is type-only import ok [INFO] [stderr] should remain single line when has no named imports and exceeding the line width ok [INFO] [stderr] should remain single line when has one named import and exceeding the line width ok [INFO] [stderr] should remain single line when has one named import with alias and exceeding the line width ok [INFO] [stderr] should not be single line when has two named imports and exceeding the line width ok [INFO] [stderr] should sort the import declarations in alphabetical order based on the module specifiers ok [INFO] [stderr] should sort the imports in alphabetical order ok [INFO] [stderr] should prefer single line by default ok [INFO] [stderr] should support import assertions ok [INFO] [stderr] should support import attributes ok [INFO] [stderr] source phase imports ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::importEquals [INFO] [stderr] [INFO] [stderr] test specs::declarations::importEquals::ImportEqualsDeclaration_All ... (2ms) [INFO] [stderr] should format ok [INFO] [stderr] should keep on a single line ok [INFO] [stderr] test specs::declarations::importEquals::ImportEqualsDeclaration_SemiColons_Asi ... (8ms) [INFO] [stderr] should format without a semi colon ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::interface [INFO] [stderr] [INFO] [stderr] test specs::declarations::interface::InterfaceDeclaration_BracePosition_SameLine ... (2ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] should use the same line for the brace position when hanging ok [INFO] [stderr] test specs::declarations::interface::InterfaceDeclaration_BracePosition_NextLine ... (2ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] should use the next line for type parameters on multiple lines ok [INFO] [stderr] should use the next line for the brace position when hanging ok [INFO] [stderr] test specs::declarations::interface::InterfaceDeclaration_BracePosition_Maintain ... (12ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the same line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the next line ok [INFO] [stderr] test specs::declarations::interface::InterfaceDeclaration_Body ... (13ms) [INFO] [stderr] should print members ok [INFO] [stderr] should inner comments ok [INFO] [stderr] test specs::declarations::interface::InterfaceDeclaration_Header ... (15ms) [INFO] [stderr] should print with no members ok [INFO] [stderr] should print with no members and when on same line ok [INFO] [stderr] should print declare ok [INFO] [stderr] should print an extends clause ok [INFO] [stderr] should print multiple extends ok [INFO] [stderr] should print multiple extends that go over the line width ok [INFO] [stderr] should print multiple extends that go over the line width twice ok [INFO] [stderr] should print with type parameters ok [INFO] [stderr] should print with type parameters on multiple lines when they go over the limit ok [INFO] [stderr] should print with type parameters on multiple lines and extends when they go over the limit ok [INFO] [stderr] should print with type parameters on multiple lines ok [INFO] [stderr] should print with type parameters on multiple lines and extends ok [INFO] [stderr] test specs::declarations::interface::InterfaceDeclaration_PreferHanging_True ... (18ms) [INFO] [stderr] should print multiple extends that go over the line width ok [INFO] [stderr] should print multiple extends that go over the line width twice ok [INFO] [stderr] should print with type parameters ok [INFO] [stderr] should print with type parameters hanging when they go over the limit ok [INFO] [stderr] should print with type parameters hanging and extends when they go over the limit ok [INFO] [stderr] should print with type parameters on multiple lines ok [INFO] [stderr] should print with type parameters on multiple lines and extends ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::interface::callSignature [INFO] [stderr] [INFO] [stderr] test specs::declarations::interface::callSignature::CallSignature_SemiColons_Asi ... (1ms) [INFO] [stderr] should format without a semi-colon ok [INFO] [stderr] test specs::declarations::interface::callSignature::CallSignature_PreferHanging_True ... (8ms) [INFO] [stderr] should format the return type on the same line when the rest of the header is hanging ok [INFO] [stderr] should format the return type on a new line when it's hanging and the rest of the header is hanging ok [INFO] [stderr] test specs::declarations::interface::callSignature::CallSignature_All ... (10ms) [INFO] [stderr] should format ok [INFO] [stderr] should format the params as multi-line when the return type exceeds the line width ok [INFO] [stderr] should force multi-line parameters when exceeding the line width ok [INFO] [stderr] should not be multi-line when not exceeding the line width ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::interface::constructSignature [INFO] [stderr] [INFO] [stderr] test specs::declarations::interface::constructSignature::ConstructSignature_SemiColons_Asi ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::declarations::interface::constructSignature::ConstructSignature_SpaceAfterNewKeyword_True ... (5ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::declarations::interface::constructSignature::ConstructSignature_PreferHanging_True ... (8ms) [INFO] [stderr] should format the return type on the same line when the rest of the header is hanging ok [INFO] [stderr] should format the return type on a new line when it's hanging and the rest of the header is hanging ok [INFO] [stderr] test specs::declarations::interface::constructSignature::ConstructSignature_All ... (17ms) [INFO] [stderr] should format ok [INFO] [stderr] should format the param as multi-line when the return type exceeds the line width ok [INFO] [stderr] should format the params as multi-line when the return type exceeds the line width ok [INFO] [stderr] should force multi-line parameters when exceeding the line width ok [INFO] [stderr] should not be multi-line when not exceeding the line width ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::interface::getterSignature [INFO] [stderr] [INFO] [stderr] test specs::declarations::interface::getterSignature::GetterSignature_All ... (2ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::interface::indexSignature [INFO] [stderr] [INFO] [stderr] test specs::declarations::interface::indexSignature::IndexSignature_SemiColons_Asi ... (3ms) [INFO] [stderr] should format without a semi-colon ok [INFO] [stderr] test specs::declarations::interface::indexSignature::IndexSignature_All ... (7ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::interface::methodSignature [INFO] [stderr] [INFO] [stderr] test specs::declarations::interface::methodSignature::MethodSignature_SemiColons_Asi ... (11ms) [INFO] [stderr] should format without a semi-colon ok [INFO] [stderr] test specs::declarations::interface::methodSignature::MethodSignature_PreferHanging_True ... (11ms) [INFO] [stderr] should format the return type on the same line when the rest of the header is hanging ok [INFO] [stderr] should format the return type on a new line when it's hanging and the rest of the header is hanging ok [INFO] [stderr] test specs::declarations::interface::methodSignature::MethodSignature_All ... (14ms) [INFO] [stderr] should format ok [INFO] [stderr] should format the params as multi-line when the return type exceeds the line width ok [INFO] [stderr] should force multi-line parameters when exceeding the line width ok [INFO] [stderr] should not be multi-line when not exceeding the line width ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::interface::propertySignature [INFO] [stderr] [INFO] [stderr] test specs::declarations::interface::propertySignature::PropertySignature_SemiColons_Asi ... (4ms) [INFO] [stderr] should format with no semi-colon ok [INFO] [stderr] test specs::declarations::interface::propertySignature::PropertySignature_All ... (6ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::interface::setterSignature [INFO] [stderr] [INFO] [stderr] test specs::declarations::interface::setterSignature::SetterSignature_All ... (2ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::module [INFO] [stderr] [INFO] [stderr] test specs::declarations::module::ModuleDeclaration_BracePosition_NextLine ... (0ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] test specs::declarations::module::ModuleDeclaration_NoBody ... (0ms) [INFO] [stderr] should format without a body ok [INFO] [stderr] test specs::declarations::module::ModuleDeclaration_BracePosition_Maintain ... (2ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] test specs::declarations::module::ModuleDeclaration_BracePosition_SameLine ... (4ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] test specs::declarations::module::ModuleDeclaration_NoBody_SemiColons_Asi ... (3ms) [INFO] [stderr] should format without a semi-colon ok [INFO] [stderr] test specs::declarations::module::ModuleDeclaration_Header ... (7ms) [INFO] [stderr] should format ok [INFO] [stderr] should format with namespace keyword ok [INFO] [stderr] should format with declare keyword ok [INFO] [stderr] should format with namespace keyword and a declare keyword ok [INFO] [stderr] should format with nested declarations ok [INFO] [stderr] should format a "global" namespace ok [INFO] [stderr] test specs::declarations::module::ModuleDeclaration_Body ... (8ms) [INFO] [stderr] should format statements ok [INFO] [stderr] should format inner comments ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::namespaceExport [INFO] [stderr] [INFO] [stderr] test specs::declarations::namespaceExport::TSNamespaceExportDeclaration_All ... (0ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::declarations::namespaceExport::TSNamespaceExportDeclaration_SemiColons_Asi ... (1ms) [INFO] [stderr] should format without semi-colon ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::typeAlias [INFO] [stderr] [INFO] [stderr] test specs::declarations::typeAlias::TypeAlias_All ... (3ms) [INFO] [stderr] should print everything in a type alias ok [INFO] [stderr] should break up in the type when exceeding the line width (this would previous break up the type params) ok [INFO] [stderr] should handle type parameters going over line width ok [INFO] [stderr] [INFO] [stderr] Running specs::declarations::using [INFO] [stderr] [INFO] [stderr] test specs::declarations::using::Using_All ... (9ms) [INFO] [stderr] should format ok [INFO] [stderr] should not wrap within a variable declaration ok [INFO] [stderr] should handle declarations that span multiple lines ok [INFO] [stderr] async ok [INFO] [stderr] [INFO] [stderr] Running specs::deno [INFO] [stderr] [INFO] [stderr] test specs::deno::Deno_SortNamedImportExportSpecifiers ... (3ms) [INFO] [stderr] should sort named imports and exports case insensitive with deno config ok [INFO] [stderr] test specs::deno::Deno_ImportsExportsPreferSingleLineTrue ... (9ms) [INFO] [stderr] should collapse imports and exports when able ok [INFO] [stderr] test specs::deno::Deno_SortImportsAndExports_Maintain ... (10ms) [INFO] [stderr] should keep the imports and export declaration sort order as-is ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::ArrayExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::ArrayExpression::ArrayExpression_SpaceAround_True ... (1ms) [INFO] [stderr] should format with space around elements ok [INFO] [stderr] test specs::expressions::ArrayExpression::ArrayExpression_TrailingCommas_Always ... (4ms) [INFO] [stderr] should format with trailing commas when multiline ok [INFO] [stderr] should format with trailing commas when single line ok [INFO] [stderr] should print with trailing comma when becoming multi-line due to the line width ok [INFO] [stderr] test specs::expressions::ArrayExpression::ArrayExpression_TrailingCommas_OnlyMultiLine ... (8ms) [INFO] [stderr] should format with trailing commas when multiline ok [INFO] [stderr] should not format with trailing commas when single line ok [INFO] [stderr] should print with trailing comma when becoming multi-line due to the line width ok [INFO] [stderr] test specs::expressions::ArrayExpression::ArrayExpression_PreferHanging_Always ... (10ms) [INFO] [stderr] should format ok [INFO] [stderr] should split on multiple lines when first is on different line ok [INFO] [stderr] should hang when exceeding line width ok [INFO] [stderr] should not divide up elements ok [INFO] [stderr] test specs::expressions::ArrayExpression::ArrayExpression_PreferSingleLine_True ... (13ms) [INFO] [stderr] should format on a single line when below the line width ok [INFO] [stderr] should do multiple lines if one ends with a line comment even if it could fit on one line ok [INFO] [stderr] should not be multi line if the objects are allowed to be inline multi-line ok [INFO] [stderr] should maintain blank lines when exceeding the line width ok [INFO] [stderr] test specs::expressions::ArrayExpression::ArrayExpression_All ... (18ms) [INFO] [stderr] should format ok [INFO] [stderr] should split on multiple lines when first is on different line ok [INFO] [stderr] should print on multiple lines when exceeding line width ok [INFO] [stderr] should allow blank lines between items ok [INFO] [stderr] should allow blank lines between leading inner comments ok [INFO] [stderr] should handle spacing between trailing comments ok [INFO] [stderr] should format handling multiple multi-line block comments starting and stopping on same line after an item ok [INFO] [stderr] should become single line when empty ok [INFO] [stderr] should leave commas ok [INFO] [stderr] test specs::expressions::ArrayExpression::ArrayExpression_Comments ... (26ms) [INFO] [stderr] should get comments on first line ok [INFO] [stderr] should format any comments inside when single line ok [INFO] [stderr] multiple block comments should have a space separator ok [INFO] [stderr] should format multi-line when the comment extends past the line width ok [INFO] [stderr] should format comments inside when multi-line ok [INFO] [stderr] should not parse first comment as trailing when it's a comment block ok [INFO] [stderr] should format trailing comments of the last member ok [INFO] [stderr] should handle comments in the place of a member ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::ArrowFunctionExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::ArrowFunctionExpression::ArrowFunctionExpression_PreferSingleLine_False ... (2ms) [INFO] [stderr] should keep parameters on multiple lines on multiple lines when below the line width ok [INFO] [stderr] should make multi-line when first param is on a new line ok [INFO] [stderr] test specs::expressions::ArrowFunctionExpression::ArrowFunctionExpression_PreferHanging_Never ... (2ms) [INFO] [stderr] should force multi-line parameters when exceeding the line width ok [INFO] [stderr] should not be multi-line when not exceeding the line width ok [INFO] [stderr] test specs::expressions::ArrowFunctionExpression::ArrowFunctionExpression_BracePosition_NextLine ... (9ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] should use the next line for the brace position when hanging ok [INFO] [stderr] test specs::expressions::ArrowFunctionExpression::ArrowFunctionExpression_BracePosition_SameLine ... (17ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] should use the same line for the brace position when hanging ok [INFO] [stderr] test specs::expressions::ArrowFunctionExpression::ArrowFunctionExpression_BracePosition_Maintain ... (19ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the same line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the next line ok [INFO] [stderr] test specs::expressions::ArrowFunctionExpression::ArrowFunctionExpression_UseParentheses_PreferNone ... (7ms) [INFO] [stderr] should not use parens when there is only an identifier and a single param ok [INFO] [stderr] should not use parens when there is only an identifier and a single param and it currently has parens ok [INFO] [stderr] should use parens when it has a type ok [INFO] [stderr] should use parens when there is no params ok [INFO] [stderr] should use parens when there is multiple params ok [INFO] [stderr] should use parens when it is a rest parameter ok [INFO] [stderr] should not remove when optional ok [INFO] [stderr] test specs::expressions::ArrowFunctionExpression::ArrowFunctionExpression_Cts ... (26ms) [INFO] [stderr] should keep trailing comma for type parameter with only identifier ok [INFO] [stderr] test specs::expressions::ArrowFunctionExpression::ArrowFunctionExpression_PreferHanging_Always ... (34ms) [INFO] [stderr] should format params with a hanging indent by default ok [INFO] [stderr] should revert a hanging indent to a single line if short enough ok [INFO] [stderr] test specs::expressions::ArrowFunctionExpression::ArrowFunctionExpression_PreferSingleLine_True ... (34ms) [INFO] [stderr] should not keep parameters on multiple lines on multiple lines when below the line width ok [INFO] [stderr] should not make multi-line when first param is on a new line when below line width ok [INFO] [stderr] test specs::expressions::ArrowFunctionExpression::ArrowFunctionExpression_Mts ... (35ms) [INFO] [stderr] should keep trailing comma for type parameter with only identifier ok [INFO] [stderr] test specs::expressions::ArrowFunctionExpression::ArrowFunctionExpression_UseParentheses_Force ... (36ms) [INFO] [stderr] should force using parentheses ok [INFO] [stderr] should also use parens when specified ok [INFO] [stderr] should use parens when has a type ok [INFO] [stderr] test specs::expressions::ArrowFunctionExpression::ArrowFunctionExpression_UseParentheses_Maintain ... (26ms) [INFO] [stderr] should allow arrow functions without parens ok [INFO] [stderr] should use parens when specified ok [INFO] [stderr] should use parens when has a type ok [INFO] [stderr] should maintain when has an async keyword ok [INFO] [stderr] should handle when expression is inside parens ok [INFO] [stderr] test specs::expressions::ArrowFunctionExpression::ArrowFunctionExpression_All ... (73ms) [INFO] [stderr] should format a single line statement ok [INFO] [stderr] should format with everything ok [INFO] [stderr] should keep the body on a single line when formatted that way ok [INFO] [stderr] should support multiple line expressions ok [INFO] [stderr] should allow arrow functions without parens ok [INFO] [stderr] should use parens when specified ok [INFO] [stderr] should use parens when there is a type ok [INFO] [stderr] should use parens when async and no parens ok [INFO] [stderr] should not use parens when async and has no parens ok [INFO] [stderr] should format the params as multi-line when the return type exceeds the line width ok [INFO] [stderr] should format the return type on the same line when the rest of the header is multi-line ok [INFO] [stderr] should format the return type on a new line when it's multiple lines and the rest of the header is multi-line ok [INFO] [stderr] should format arrow function containing an object expression ok [INFO] [stderr] should not newline when the arrow is on a separate line -- previously would newline before sum, which was useless ok [INFO] [stderr] should break up appropriately when the body is in parens ok [INFO] [stderr] should not keep trailing comma for type parameter with only identifier since this is not a cts or mts file ok [INFO] [stderr] curried functions ok [INFO] [stderr] curried functions with comments ok [INFO] [stderr] curried functions with comment at before ok [INFO] [stderr] curried functions with comments between ok [INFO] [stderr] should format with const type params ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::AsExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::AsExpression::AsExpression_All ... (3ms) [INFO] [stderr] should format ok [INFO] [stderr] should format when multiple lines ok [INFO] [stderr] should indent the as expression when initial expression is hanging and the as expression is multi-line ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::AssignmentExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::AssignmentExpression::AssignmentExpression_All ... (6ms) [INFO] [stderr] should format ok [INFO] [stderr] should indent the right side when the left side is hanging and the right is hanging ok [INFO] [stderr] should format if the right side goes over the line width ok [INFO] [stderr] should format when the left side is hanging and the right side goes over the line width ok [INFO] [stderr] should not do a newline if the assignment is below the indent width ok [INFO] [stderr] should support these new TS 4.0 assignments ok [INFO] [stderr] should go multi-line once excessive -- probably minified file, so don't really care about this ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::AwaitExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::AwaitExpression::AwaitExpression_All ... (1ms) [INFO] [stderr] should format the await expression ok [INFO] [stderr] should format a top level await ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::BinaryExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::BinaryExpression::BinaryExpression_SpaceSurroundingOperator_False ... (4ms) [INFO] [stderr] should format without spaces ok [INFO] [stderr] test specs::expressions::BinaryExpression::BinaryExpression_OperatorPosition_Maintain ... (23ms) [INFO] [stderr] should maintain the operator position ok [INFO] [stderr] should maintain for logical operators ok [INFO] [stderr] test specs::expressions::BinaryExpression::BinaryExpression_LinePerExpression_True ... (23ms) [INFO] [stderr] should go full multi-line when exceeding the width ok [INFO] [stderr] should maintain single line when below the width ok [INFO] [stderr] should go multi-line when the first and second are on different lines ok [INFO] [stderr] test specs::expressions::BinaryExpression::BinaryExpression_LinePerExpression_True_PreferSingleLine_True ... (30ms) [INFO] [stderr] should go full multi-line when exceeding the width ok [INFO] [stderr] should maintain single line when below the width ok [INFO] [stderr] should go single line when able ok [INFO] [stderr] should format with nested binary expressions ok [INFO] [stderr] test specs::expressions::BinaryExpression::BinaryExpression_OperatorPosition_SameLine ... (30ms) [INFO] [stderr] should move the operator to the same line ok [INFO] [stderr] should maintain the operator position when one of the multiplications go multi-line ok [INFO] [stderr] should move the operator to the same line for logical operators ok [INFO] [stderr] should keep comment before operator as well ok [INFO] [stderr] should indent equality check when multi-line ok [INFO] [stderr] test specs::expressions::BinaryExpression::BinaryExpression_PreferSingleLine_True ... (31ms) [INFO] [stderr] should fit onto lines as able ok [INFO] [stderr] should maintain single line when below the width ok [INFO] [stderr] should go single line when able ok [INFO] [stderr] should maintain line breaks ok [INFO] [stderr] test specs::expressions::BinaryExpression::BinaryExpression_OperatorPosition_NextLine ... (34ms) [INFO] [stderr] should move the operator to the next line ok [INFO] [stderr] should maintain the operator position when one of the multiplications go multi-line ok [INFO] [stderr] should move the operator to the next line ok [INFO] [stderr] should support comments before and after operator ok [INFO] [stderr] should indent equality check when multi-line ok [INFO] [stderr] test specs::expressions::BinaryExpression::BinaryExpression_All ... (38ms) [INFO] [stderr] should print ok [INFO] [stderr] should print hanging when exceeding line width ok [INFO] [stderr] should print hanging when exceeding line width multiple times ok [INFO] [stderr] should maintain newlines ok [INFO] [stderr] should group together multiplication when used with addition or subtraction ok [INFO] [stderr] should maintain parentheses ok [INFO] [stderr] should handle comments on a different line in-between ok [INFO] [stderr] should handle comments on a different line in-between when the operator is on the preceding line ok [INFO] [stderr] should decide based on the left side's open paren token if it should be on a newline ok [INFO] [stderr] should not cut off an inner expression midway ok [INFO] [stderr] should not put triple equals on new line ok [INFO] [stderr] should indent when a non-breaking expression happens to be on a new line ok [INFO] [stderr] should not place triple equals at same indentation as OR = ok [INFO] [stderr] should indent following lines when in call expr argument ok [INFO] [stderr] should indent following lines when in new expr argument ok [INFO] [stderr] should support multi-line ok [INFO] [stderr] should format bitwise operators with proper presedence ok [INFO] [stderr] should format bitwise inline ok [INFO] [stderr] swc issue where it didn't tokenize << correctly here ok [INFO] [stderr] should format bitshift inline ok [INFO] [stderr] should format mod inline ok [INFO] [stderr] should use a newline group for equality checks and not break them up so easily ok [INFO] [stderr] should format with comment before ok [INFO] [stderr] test specs::expressions::BinaryExpression::BinaryExpression_Unary_In ... (24ms) [INFO] [stderr] should properly parenthesize ! operator in in ok [INFO] [stderr] should properly parenthesize ! operator in instanceof ok [INFO] [stderr] should properly parenthesize void operator in instanceof ok [INFO] [stderr] test specs::expressions::BinaryExpression::BinaryExpression_Logical ... (46ms) [INFO] [stderr] should print ok [INFO] [stderr] should print hanging when exceeding line width ok [INFO] [stderr] should print hanging when exceeding line width multiple times ok [INFO] [stderr] should handle comments on a different line in-between ok [INFO] [stderr] should handle comments on a different line in-between when the operator is on the preceding line ok [INFO] [stderr] should decide based on the left side's open paren token if it should be on a newline ok [INFO] [stderr] should not cut off an inner expression midway ok [INFO] [stderr] should support the nullish coalescing operator ok [INFO] [stderr] should get comments that are trailing of the left expression ok [INFO] [stderr] should handle when the comments are after the operator ok [INFO] [stderr] should indent according to the kind ok [INFO] [stderr] should only indent once when it has binary expressions nested within ok [INFO] [stderr] should indent only once when parens are inlined ok [INFO] [stderr] should indent twice if the parens start on a different line ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::CallExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::CallExpression::CallExpression_PreferSingleLine_False ... (3ms) [INFO] [stderr] should print multi-line when the first parameter is on a different line even when surrounded in parentheses ok [INFO] [stderr] test specs::expressions::CallExpression::CallExpression_PreferSingleLine_True ... (4ms) [INFO] [stderr] should prefer keeping arguments on a single line ok [INFO] [stderr] test specs::expressions::CallExpression::CallExpression_PreferHanging_Always ... (5ms) [INFO] [stderr] should force multi-line arguments when exceeding the line width ok [INFO] [stderr] should force multi-line when exceeding the line width, even when there's only a single argument ok [INFO] [stderr] test specs::expressions::CallExpression::CallExpression_HangingIndentWithHangingArgs ... (9ms) [INFO] [stderr] should indent within the arguments when hanging indented through the call expression's callee ok [INFO] [stderr] test specs::expressions::CallExpression::CallExpression_All ... (9ms) [INFO] [stderr] should print the call expression ok [INFO] [stderr] should print type arguments ok [INFO] [stderr] should print when optional ok [INFO] [stderr] should support optional call expressions ok [INFO] [stderr] source phase import ok [INFO] [stderr] test specs::expressions::CallExpression::CallExpression_PreferHanging_Never ... (23ms) [INFO] [stderr] should force multi-line arguments when exceeding the line width ok [INFO] [stderr] should not be multi-line when not exceeding the line width ok [INFO] [stderr] should not move a function expression onto multiple lines when there only exists one ok [INFO] [stderr] should not move an arrow function expression onto multiple lines when there only exists one ok [INFO] [stderr] should not do a newline when the call expr's identifier and paren is below the indent width ok [INFO] [stderr] should do a newline when the call expr's identifier and paren is at or above the indent width ok [INFO] [stderr] test specs::expressions::CallExpression::CallExpression_PreferHanging_OnlySingleItem ... (33ms) [INFO] [stderr] should use hanging indentation for a single item ok [INFO] [stderr] should use hanging indentation for nested single items, even over the line width ok [INFO] [stderr] should use multi-line indentation if there are multiple items ok [INFO] [stderr] should use multi-line indentation if there is a leading comment, even for a single item ok [INFO] [stderr] should use multi-line indentation if there is a trailing comment, even for a single item ok [INFO] [stderr] test specs::expressions::CallExpression::CallExpression_TestLibraries ... (34ms) [INFO] [stderr] should not go multiline when going above line width for a describe ok [INFO] [stderr] should not go multiline when it has a property ok [INFO] [stderr] should not go multiline for an it ok [INFO] [stderr] should not be hanging for template literal ok [INFO] [stderr] should make multi-line when the arrow function expression is not on the same line (since doing this makes it not match the test library code) ok [INFO] [stderr] should not go multiline when going above line width for a test call expression ok [INFO] [stderr] should not go multiline when going above line width for an x.test call expression ok [INFO] [stderr] should not go multiline for `Deno.test` call with parameter ok [INFO] [stderr] should go multi-line if the parameter has a comment inside ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::ClassExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::ClassExpression::ClassExpression_BracePosition_SameLine ... (2ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] should use the same line for the brace position when hanging ok [INFO] [stderr] test specs::expressions::ClassExpression::ClassExpression_BracePosition_Maintain ... (3ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the same line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the next line ok [INFO] [stderr] test specs::expressions::ClassExpression::ClassExpression_BracePosition_NextLine ... (21ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] should use the next line for type parameters on multiple lines ok [INFO] [stderr] should use the next line for the brace position when hanging ok [INFO] [stderr] should consider export default with no name as an expr ok [INFO] [stderr] export default class is a declaration ok [INFO] [stderr] test specs::expressions::ClassExpression::ClassExpression_Decorators ... (24ms) [INFO] [stderr] should print decorator ok [INFO] [stderr] should print multiple decorators ok [INFO] [stderr] should print multiple decorators that go over the line width ok [INFO] [stderr] should use newlines if the first two decorators are on different lines ok [INFO] [stderr] should handle preceeding comment blocks ok [INFO] [stderr] should handle preceeding comment lines ok [INFO] [stderr] should handle comments before the decorators ok [INFO] [stderr] should handle comments before the decorators with a comment block on the line with the first decorator ok [INFO] [stderr] test specs::expressions::ClassExpression::ClassExpression_Header ... (36ms) [INFO] [stderr] should print with no members ok [INFO] [stderr] should print with no name ok [INFO] [stderr] should print an extends clause ok [INFO] [stderr] should print a verly long extends clause so that it goes to the next line ok [INFO] [stderr] should print an implements clause ok [INFO] [stderr] should print multiple implements ok [INFO] [stderr] should print multiple implements that go over the line width ok [INFO] [stderr] should print multiple implements that go over the line width twice ok [INFO] [stderr] should print long extends and then put implements on separate line ok [INFO] [stderr] should print with type parameters ok [INFO] [stderr] should print with type parameters on new lines when they go over the limit ok [INFO] [stderr] should print with type parameters on new lines and extends when they go over the limit ok [INFO] [stderr] should print with type parameters on multiple lines ok [INFO] [stderr] should print with type parameters on multiple lines and extends ok [INFO] [stderr] should print a super's type argument ok [INFO] [stderr] should print mixins ok [INFO] [stderr] should handle comments before expression ok [INFO] [stderr] should handle comment that starts on assignment and ends on same line before expression on different line ok [INFO] [stderr] should handle comments before with comment block on same line as expr ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::Computed [INFO] [stderr] [INFO] [stderr] test specs::expressions::Computed::Computed_PreferSingleLine_True ... (1ms) [INFO] [stderr] should format on a single line when it can -- note: computed is general ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::ConditionalExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::ConditionalExpression::ConditionalExpression_OperatorPosition_Maintain ... (2ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::expressions::ConditionalExpression::ConditionalExpression_PreferSingleLine_False ... (4ms) [INFO] [stderr] should use newlines when both are newlines ok [INFO] [stderr] should use newlines when only the first is ok [INFO] [stderr] should use newlines when only the second is ok [INFO] [stderr] test specs::expressions::ConditionalExpression::ConditionalExpression_PreferSingleLine_True ... (20ms) [INFO] [stderr] should handle nested conditionals ok [INFO] [stderr] should make it multi-line when there's a comment on any line ok [INFO] [stderr] test specs::expressions::ConditionalExpression::ConditionalExpression_OperatorPosition_SameLine ... (27ms) [INFO] [stderr] should format ok [INFO] [stderr] should not indent if the first line is a comment ok [INFO] [stderr] should handle moving comments before the question token to now be after ok [INFO] [stderr] should handle comments moving ok [INFO] [stderr] test specs::expressions::ConditionalExpression::ConditionalExpression_OperatorPosition_NextLine ... (28ms) [INFO] [stderr] should format ok [INFO] [stderr] should move standalone comments of token up to previous line ok [INFO] [stderr] should handle comments moving ok [INFO] [stderr] test specs::expressions::ConditionalExpression::ConditionalExpression_LinePerExpression_False ... (37ms) [INFO] [stderr] should move only alt over ok [INFO] [stderr] should move when cons over ok [INFO] [stderr] should maintain match like formatting ok [INFO] [stderr] should support putting expressions on any line ok [INFO] [stderr] test specs::expressions::ConditionalExpression::ConditionalExpression_All ... (42ms) [INFO] [stderr] should format ok [INFO] [stderr] should convert to newlines when the first condition goes over the line width ok [INFO] [stderr] should convert to newlines when the second condition goes over the line width ok [INFO] [stderr] should not use newlines when the first and second start on the same line, but the second goes onto multiple lines ok [INFO] [stderr] should handle multi-line nested conditionals ok [INFO] [stderr] should handle single line nested conditionals ok [INFO] [stderr] should handle single line nested conditionals that exceed line width twice ok [INFO] [stderr] additional nested condition test (from Deno's code) ok [INFO] [stderr] should handle nested conditionals with the nested conditional being after the question mark ok [INFO] [stderr] should handle when the semi-colon falls exactly on the line width ok [INFO] [stderr] should handle comments ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::ConstAssertion [INFO] [stderr] [INFO] [stderr] test specs::expressions::ConstAssertion::ConstAssertion_All ... (1ms) [INFO] [stderr] should format a const assertion ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::ExpressionWithTypeArguments [INFO] [stderr] [INFO] [stderr] test specs::expressions::ExpressionWithTypeArguments::ExpressionWithTypeArguments_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::ExternalModuleReference [INFO] [stderr] [INFO] [stderr] test specs::expressions::ExternalModuleReference::ExternalModuleReference_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] should always keep on one line ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::FunctionExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::FunctionExpression::FunctionExpression_PreferSingleLine_False ... (5ms) [INFO] [stderr] should keep parameters on multiple lines on multiple lines ok [INFO] [stderr] should make multiline when the first param is on a different line ok [INFO] [stderr] test specs::expressions::FunctionExpression::FunctionExpression_BracePosition_NextLine ... (8ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] should use the next line for the brace position when hanging ok [INFO] [stderr] test specs::expressions::FunctionExpression::FunctionExpression_BracePosition_SameLine ... (9ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] should use the same line for the brace position when hanging ok [INFO] [stderr] test specs::expressions::FunctionExpression::FunctionExpression_PreferHanging_Always ... (11ms) [INFO] [stderr] should format params with a hanging indent ok [INFO] [stderr] should revert a hanging indent to a single line if short enough ok [INFO] [stderr] test specs::expressions::FunctionExpression::FunctionExpression_SpaceBeforeParentheses_True ... (12ms) [INFO] [stderr] should format with a space before the parens ok [INFO] [stderr] test specs::expressions::FunctionExpression::FunctionExpression_PreferHanging_Never ... (16ms) [INFO] [stderr] should force multi-line parameters when exceeding the line width ok [INFO] [stderr] should not be multi-line when not exceeding the line width ok [INFO] [stderr] test specs::expressions::FunctionExpression::FunctionExpression_SpaceAfterFunctionKeyword_True ... (16ms) [INFO] [stderr] should format with a space before the parens ok [INFO] [stderr] test specs::expressions::FunctionExpression::FunctionExpression_BracePosition_Maintain ... (21ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the same line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the next line ok [INFO] [stderr] test specs::expressions::FunctionExpression::FunctionExpression_SpaceSettings_True ... (17ms) [INFO] [stderr] should format with a space before the parens ok [INFO] [stderr] test specs::expressions::FunctionExpression::FunctionExpression_All ... (26ms) [INFO] [stderr] should format ok [INFO] [stderr] should format generator ok [INFO] [stderr] should format async generators ok [INFO] [stderr] should format the params as multi-line when the return type exceeds the line width ok [INFO] [stderr] should format the return type on the same line when the rest of the header is multi-line ok [INFO] [stderr] should format the return type on a new line when it's multi-line and the rest of the header is multi-line ok [INFO] [stderr] should allow keeping the close brace on the same line when empty and placing the close brace on the same line ok [INFO] [stderr] should format with const type params ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::MemberExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::MemberExpression::MemberExpression_PreferSingleLine_True ... (2ms) [INFO] [stderr] should move expressions to be single line when able ok [INFO] [stderr] test specs::expressions::MemberExpression::MemberExpression_WiderWidth ... (4ms) [INFO] [stderr] property access expression with string literal -- this was failing ok [INFO] [stderr] test specs::expressions::MemberExpression::MemberExpression_LinePerExpression_True_PreferSingleLine_True ... (6ms) [INFO] [stderr] should go full multi-line when exceeding the width ok [INFO] [stderr] should maintain single line when below the width ok [INFO] [stderr] should be single line when below the width even when on multiple lines ok [INFO] [stderr] test specs::expressions::MemberExpression::MemberExpression_LinePerExpression_True ... (11ms) [INFO] [stderr] should go full multi-line when exceeding the width ok [INFO] [stderr] should maintain single line when below the width ok [INFO] [stderr] should go multi-line once one of the nodes are on different lines ok [INFO] [stderr] test specs::expressions::MemberExpression::MemberExpression_All ... (28ms) [INFO] [stderr] should format ok [INFO] [stderr] should not indent for other nodes ok [INFO] [stderr] should support optional chaining ok [INFO] [stderr] should support non-null assertion ok [INFO] [stderr] should keep comments in long chains ok [INFO] [stderr] should keep comments inside computed properties in long chains ok [INFO] [stderr] should look at computed property end for determining whether to go to a newline or not ok [INFO] [stderr] more optional tests ok [INFO] [stderr] member with optional chain call ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::MetaProperty [INFO] [stderr] [INFO] [stderr] test specs::expressions::MetaProperty::MetaProperty_All ... (2ms) [INFO] [stderr] should format ok [INFO] [stderr] should format on multiple lines ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::NewExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::NewExpression::NewExpression_All ... (2ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::expressions::NewExpression::NewExpression_PreferHanging_Never ... (4ms) [INFO] [stderr] should force multi-line arguments when exceeding the line width ok [INFO] [stderr] should not be multi-line when not exceeding the line width ok [INFO] [stderr] should not move a function expression onto multiple lines when there only exists one ok [INFO] [stderr] should not move an arrow function expression onto multiple lines when there only exists one ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::NonNullExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::NonNullExpression::NonNullExpression_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::ObjectExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::ObjectExpression::ObjectExpression_SpaceSurroundingProperties_False ... (5ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::expressions::ObjectExpression::ObjectExpression_PreferSingleLine_True ... (7ms) [INFO] [stderr] should maintain blank lines when above line width ok [INFO] [stderr] should collapse to a single line when below the line width ok [INFO] [stderr] should force using multiple lines when there's a comment ok [INFO] [stderr] test specs::expressions::ObjectExpression::ObjectExpression_TrailingCommas_Always ... (2ms) [INFO] [stderr] should format with trailing commas when multiple lines ok [INFO] [stderr] should format with trailing commas when single line ok [INFO] [stderr] test specs::expressions::ObjectExpression::ObjectExpression_Comments ... (11ms) [INFO] [stderr] should support comments on the same line ok [INFO] [stderr] should become multi-line when the inner comment is long ok [INFO] [stderr] should support inner comments ok [INFO] [stderr] should move a block comment to the next line when it is trailing the first ok [INFO] [stderr] should support blanklines between comments ok [INFO] [stderr] test specs::expressions::ObjectExpression::ObjectExpression_PreferHanging_True ... (12ms) [INFO] [stderr] should format when empty ok [INFO] [stderr] should format when a single line ok [INFO] [stderr] should make multiple lines wrap ok [INFO] [stderr] should keep multi-line when multi-line ok [INFO] [stderr] test specs::expressions::ObjectExpression::ObjectExpression_TrailingCommas_Never ... (6ms) [INFO] [stderr] should not format with trailing commas when multiple lines ok [INFO] [stderr] should not format with trailing commas when single line ok [INFO] [stderr] test specs::expressions::ObjectExpression::ObjectExpression_All ... (16ms) [INFO] [stderr] should format when empty ok [INFO] [stderr] should format when a single line ok [INFO] [stderr] should format when multi-line ok [INFO] [stderr] should make multiple lines multi-line ok [INFO] [stderr] should respect blank lines in certain places ok [INFO] [stderr] should prefer to be inline multi-line when exceeding line width ok [INFO] [stderr] should turn an assignment prop into a key value prop ok [INFO] [stderr] test specs::expressions::ObjectExpression::ObjectExpression_TrailingCommas_OnlyMultiLine ... (9ms) [INFO] [stderr] should format with trailing commas when multiple lines ok [INFO] [stderr] should not format with trailing commas when single line ok [INFO] [stderr] should format with trailing commas when going from single line to multi-line ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::ObjectMethod [INFO] [stderr] [INFO] [stderr] test specs::expressions::ObjectMethod::ObjectMethod_PreferHanging_Always ... (4ms) [INFO] [stderr] should format the return type on the same line when the rest of the header is hanging ok [INFO] [stderr] should format the return type on a new line when it's hanging and the rest of the header is hanging ok [INFO] [stderr] test specs::expressions::ObjectMethod::ObjectMethod_All ... (11ms) [INFO] [stderr] should format ok [INFO] [stderr] should force multi-line parameters when exceeding the line width ok [INFO] [stderr] should not be multi-line when not exceeding the line width ok [INFO] [stderr] should format the params as multi-line when the return type exceeds the line width ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::ObjectProperty [INFO] [stderr] [INFO] [stderr] test specs::expressions::ObjectProperty::ObjectProperty_All ... (4ms) [INFO] [stderr] should format ok [INFO] [stderr] should indent arrow function expression appropriately ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::ParenExpr [INFO] [stderr] [INFO] [stderr] test specs::expressions::ParenExpr::ParenExpr_SpaceAround_True ... (66ms) [INFO] [stderr] should format allowing comment on header line ok [INFO] [stderr] should keep comment inside ok [INFO] [stderr] should keep paren expr on left hand side of assignment ok [INFO] [stderr] should not keep paren expr on right hand side of assignment ok [INFO] [stderr] should keep for IIFE ok [INFO] [stderr] should keep for property access expr where appropriate ok [INFO] [stderr] should handle wrapped exprs for function expressions ok [INFO] [stderr] should handle wrapped exprs for arrow fn expressions ok [INFO] [stderr] should handle object literal expr in paren expr in expr stmt ok [INFO] [stderr] should not remove when there's a JS doc type assertion ok [INFO] [stderr] should add spaces for update expr with assertion ok [INFO] [stderr] test specs::expressions::ParenExpr::ParenExpr_All ... (70ms) [INFO] [stderr] should format allowing comment on header line ok [INFO] [stderr] should keep comment inside ok [INFO] [stderr] should keep paren expr on left hand side of assignment ok [INFO] [stderr] should not keep paren expr on right hand side of assignment ok [INFO] [stderr] should ignore paren exprs within paren exprs ok [INFO] [stderr] should keep for IIFE ok [INFO] [stderr] should keep for property access expr where appropriate ok [INFO] [stderr] should handle wrapped exprs for function expressions ok [INFO] [stderr] should handle wrapped exprs for arrow fn expressions ok [INFO] [stderr] should handle object literal expr in paren expr in expr stmt ok [INFO] [stderr] should not remove when there's a JS doc type assertion ok [INFO] [stderr] should remove for block comment same line ok [INFO] [stderr] should keep for update expr with assertion ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::SatisfactionExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::SatisfactionExpression::SatisfactionExpression_All ... (4ms) [INFO] [stderr] should format ok [INFO] [stderr] should format when multiple lines ok [INFO] [stderr] should indent the expression when initial expression is hanging and the expression is multi-line ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::SequenceExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::SequenceExpression::SequenceExpression_PreferHanging_True ... (1ms) [INFO] [stderr] should format multi-line with a hanging indent ok [INFO] [stderr] test specs::expressions::SequenceExpression::SequenceExpression_All ... (4ms) [INFO] [stderr] should format ok [INFO] [stderr] should format inside a member expression ok [INFO] [stderr] should format multi-line with a hanging indent ok [INFO] [stderr] should not remove parens around the sequence expression in this bin expr ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::SpreadElement [INFO] [stderr] [INFO] [stderr] test specs::expressions::SpreadElement::SpreadElement_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::TaggedTemplateExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::TaggedTemplateExpression::TaggedTemplateExpression_All ... (8ms) [INFO] [stderr] should format ok [INFO] [stderr] should format with type parameters ok [INFO] [stderr] should move the template literal to the next line when exceeding the width when has type args ok [INFO] [stderr] should not newline if the tagged template tag is below the indent width ok [INFO] [stderr] should handle block comments between the tag and tpl on the same line ok [INFO] [stderr] should handle line comments between the tag and tpl ok [INFO] [stderr] test specs::expressions::TaggedTemplateExpression::TaggedTemplateExpression_SpaceBeforeTemplate_False ... (8ms) [INFO] [stderr] should format ok [INFO] [stderr] should format with type parameters ok [INFO] [stderr] should not move the template literal to the next line when exceeding the width ok [INFO] [stderr] should move the template literal type arguments to the next line when exceeding the width ok [INFO] [stderr] should not newline if the tagged template tag is below the indent width ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::TsInstantiation [INFO] [stderr] [INFO] [stderr] test specs::expressions::TsInstantiation::TsInstantiation_All ... (12ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::TypeAssertion [INFO] [stderr] [INFO] [stderr] test specs::expressions::TypeAssertion::TypeAssertion_All ... (2ms) [INFO] [stderr] should parse the type assertion ok [INFO] [stderr] should parse when multiple lines ok [INFO] [stderr] test specs::expressions::TypeAssertion::TypeAssertion_SpaceBeforeExpression_False ... (3ms) [INFO] [stderr] should not use a space in a type assertion ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::UnaryExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::UnaryExpression::UnaryExpression_All ... (2ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::UpdateExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::UpdateExpression::UpdateExpression_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::expressions::YieldExpression [INFO] [stderr] [INFO] [stderr] test specs::expressions::YieldExpression::YieldExpression_All ... (4ms) [INFO] [stderr] should print without a delegate ok [INFO] [stderr] should print with a delegate ok [INFO] [stderr] should print with hanging indent ok [INFO] [stderr] should not do a hanging indent when an object expression ok [INFO] [stderr] [INFO] [stderr] Running specs::file [INFO] [stderr] [INFO] [stderr] test specs::file::File_IgnoreFileComment ... (2ms) [INFO] [stderr] should skip parsing when the file starts off with a skip comment and it's a comment line ok [INFO] [stderr] should skip parsing when the file starts off with a skip comment and it's a comment line without a leading space ok [INFO] [stderr] should skip parsing when the file starts off with a skip comment and it's a comment block ok [INFO] [stderr] should skip parsing when the file starts off with a skip comment and it's a comment block without a leading space ok [INFO] [stderr] should skip parsing when the file when the comment is on a different line ok [INFO] [stderr] should skip even when it's not the first comment ok [INFO] [stderr] should skip when there are only comments ok [INFO] [stderr] should not skip when it's not before the first statement -- it doesn't bother searching the rest of the file ok [INFO] [stderr] test specs::file::File_All ... (5ms) [INFO] [stderr] should print out comments ok [INFO] [stderr] should print out the directives ok [INFO] [stderr] multiple block comments on same line should be placed on their own lines ok [INFO] [stderr] [INFO] [stderr] Running specs::file::sorting [INFO] [stderr] [INFO] [stderr] test specs::file::sorting::Statements_SortExportDeclarations_Maintain ... (1ms) [INFO] [stderr] should keep the imports declaration sort order as-is ok [INFO] [stderr] test specs::file::sorting::Statements_SortExportDeclarations_CaseSensitive ... (1ms) [INFO] [stderr] should sort the export declarations ok [INFO] [stderr] test specs::file::sorting::Statements_SortImportDeclarations_Alpha ... (2ms) [INFO] [stderr] should change the sort order to alphabetical sort ok [INFO] [stderr] test specs::file::sorting::Statements_SortExportDeclarations_CaseInsensitive ... (5ms) [INFO] [stderr] should sort the export declarations ok [INFO] [stderr] test specs::file::sorting::Statements_SortImportDeclarations_CaseInsensitive ... (5ms) [INFO] [stderr] should sort the import declarations ok [INFO] [stderr] test specs::file::sorting::Statements_SortImportDeclarations_CaseSensitive ... (6ms) [INFO] [stderr] should sort the import declarations ok [INFO] [stderr] test specs::file::sorting::Statements_SortImportDeclarations_Maintain ... (6ms) [INFO] [stderr] should keep the imports declaration sort order as-is ok [INFO] [stderr] test specs::file::sorting::Statements_SortOrder ... (24ms) [INFO] [stderr] should sort groups of many kinds of statements ok [INFO] [stderr] should keep comments on same line as part of the node ok [INFO] [stderr] should allow placing a comment to break up the sorting ok [INFO] [stderr] should keep leading comment block on separate line ok [INFO] [stderr] should handle comments in between on different lines ok [INFO] [stderr] should sort straight alphabetical for absolute paths or import map/package names ok [INFO] [stderr] should put package names in alphabetical order regardless of directories ok [INFO] [stderr] should not sort import declarations that are only imported for their side effects ok [INFO] [stderr] should handle import declarations with no named or default imports mixed in ok [INFO] [stderr] [INFO] [stderr] Running specs::fileTypes [INFO] [stderr] [INFO] [stderr] test specs::fileTypes::ParseJsAsJsx ... (2ms) [INFO] [stderr] should allow jsx in js files ok [INFO] [stderr] test specs::fileTypes::ParseJsxFiles ... (2ms) [INFO] [stderr] should parse jsx files ok [INFO] [stderr] [INFO] [stderr] Running specs::file_indent_level [INFO] [stderr] [INFO] [stderr] test specs::file_indent_level::FileIndentLevel ... (1ms) [INFO] [stderr] formats with indentation ok [INFO] [stderr] [INFO] [stderr] Running specs::general [INFO] [stderr] [INFO] [stderr] test specs::general::Parameters_PreferHanging_True ... (1ms) [INFO] [stderr] should not split up within a parameter that exceeds the line width ok [INFO] [stderr] test specs::general::Arguments_Comments ... (6ms) [INFO] [stderr] should format comments inside args when single line ok [INFO] [stderr] should format a trailing single line comment on the header line ok [INFO] [stderr] should move a trailing comment block on the header line to the next line ok [INFO] [stderr] should format multiple comments ok [INFO] [stderr] test specs::general::Parameters_PreferSingleLine_False ... (13ms) [INFO] [stderr] should make parameters multi-line when they collectively exceed the line width ok [INFO] [stderr] should keep parameters multi-line when they are below the line width ok [INFO] [stderr] test specs::general::Arguments_PreferSingleLine_False ... (18ms) [INFO] [stderr] should keep multi-line when multi-line and below the line width ok [INFO] [stderr] test specs::general::Parameters_SpaceAround_True ... (20ms) [INFO] [stderr] should add spaces around parameters ok [INFO] [stderr] test specs::general::Parameters_PreferSingleLine_True ... (21ms) [INFO] [stderr] should not keep parameters multi-line when they are below the line width ok [INFO] [stderr] should keep multi-line if there is a preceeding comment ok [INFO] [stderr] should keep multi-line if there is a following comment and not using a trailing comma ok [INFO] [stderr] should keep multi-line if there is a following comment and using a trailing comma ok [INFO] [stderr] should keep multi-line if there is a comment on the next line ok [INFO] [stderr] should bring back to single-line when there is a block comment before on the same line and it's below the width ok [INFO] [stderr] should bring back to single-line when there is a block comment after on the same line and it's below the width ok [INFO] [stderr] test specs::general::SpaceSurroundingProperties_False ... (10ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::general::Arguments_PreferHanging_True ... (29ms) [INFO] [stderr] should use the parenthesis before the argument for deciding whether to use multiple lines ok [INFO] [stderr] should put the argument that goes over the width on a newline rather than the property value start ok [INFO] [stderr] should not indent within object literal ok [INFO] [stderr] should not split up within an argument that exceeds the line width ok [INFO] [stderr] test specs::general::Jsx_TrailingCommas ... (31ms) [INFO] [stderr] should not keep trailing comma in expression type parameters in non-jsx file since there is no parsing ambiguity ok [INFO] [stderr] should keep trailing comma in expression type parameters in file parsed as jsx since there is no parsing ambiguity ok [INFO] [stderr] test specs::general::Arguments_PreferSingleLine_True ... (32ms) [INFO] [stderr] should not keep multi-line when multi-line and below the line width ok [INFO] [stderr] should stay multi-line when a binary expression exists that is multi-line ok [INFO] [stderr] should stay multi-line for multiple chained call expressions ok [INFO] [stderr] test specs::general::Arguments_PreferSingleLine_PreferHanging_True ... (34ms) [INFO] [stderr] should not keep multi-line when multi-line and below the line width ok [INFO] [stderr] should become hanging when exceeding the line width ok [INFO] [stderr] should become multi-line when a comment exists ok [INFO] [stderr] should become multi-line when a trailing line comment exists ok [INFO] [stderr] should not become multi-line when a trailing line block exists ok [INFO] [stderr] should become multi-line when there is a trailing block comment that goes onto the next line ok [INFO] [stderr] test specs::general::Parameters_All ... (37ms) [INFO] [stderr] should make parameters multi-line when they collectively exceed the line width ok [INFO] [stderr] should keep inline multi-line when multi-line assignment pattern with object pattern ok [INFO] [stderr] should keep inline multi-line when multi-line assignment pattern with object pattern ok [INFO] [stderr] should keep inline multi-line when multi-line type literal ok [INFO] [stderr] should keep inline multi-line when multi-line assignment ok [INFO] [stderr] should keep comment and remove trailing comma on single line ok [INFO] [stderr] should handle comments on next line ok [INFO] [stderr] test specs::general::Arguments_SpaceAround_True ... (37ms) [INFO] [stderr] should add spaces around arguments ok [INFO] [stderr] should not add spaces on empty arguments ok [INFO] [stderr] should not add spaces when indented ok [INFO] [stderr] test specs::general::Parentheses_PreferSingleLine_True ... (31ms) [INFO] [stderr] should not keep multi-line when they are below the line width ok [INFO] [stderr] should keep multi-line if there is a preceeding comment ok [INFO] [stderr] should keep multi-line if there is a following comment ok [INFO] [stderr] should keep multi-line if there is a comment on the next line ok [INFO] [stderr] should bring back to single-line when there is a block comment before on the same line and it's below the width ok [INFO] [stderr] should bring back to single-line when there is a block comment after on the same line and it's below the width ok [INFO] [stderr] test specs::general::Arguments_All ... (46ms) [INFO] [stderr] should go multi-line when the following args are on a different line ok [INFO] [stderr] should go multi-line if a single arg is single-line ok [INFO] [stderr] should go multi-line if a non-inline multi-line node is multi-line in the middle ok [INFO] [stderr] should go multi-line if a non-inline multi-line node is at the end ok [INFO] [stderr] should not go multi-line if the last arg is on a single line ok [INFO] [stderr] should go multi-line if the last two args are on a single line ok [INFO] [stderr] should keep object literal inline when going multi-line ok [INFO] [stderr] should keep array literal inline when going multi-line ok [INFO] [stderr] should handle going multi-line for a template literal ok [INFO] [stderr] should handle going multi-line for conditional expr ok [INFO] [stderr] should handle going multi-line for binary expr ok [INFO] [stderr] test specs::general::Parentheses_All ... (43ms) [INFO] [stderr] should format with parens ok [INFO] [stderr] should format on a new line when the opening paren is on a different line ok [INFO] [stderr] should format logical expressions in parens without hanging indentation ok [INFO] [stderr] should format logical expressions without hanging indentation within parens in headers ok [INFO] [stderr] should format binary expressions without hanging indentation ok [INFO] [stderr] should format a paren on a hanging line to have indent ok [INFO] [stderr] [INFO] [stderr] Running specs::issues [INFO] [stderr] [INFO] [stderr] test specs::issues::issue0011 ... (2ms) [INFO] [stderr] should use commas when single line ok [INFO] [stderr] should not use anything multi-line ok [INFO] [stderr] test specs::issues::issue0025 ... (3ms) [INFO] [stderr] should format as-is (previously it would move to next line) ok [INFO] [stderr] test specs::issues::issue0046 ... (4ms) [INFO] [stderr] should move a single line if statement to be multi-line when exceeding line width ok [INFO] [stderr] test specs::issues::issue0030 ... (4ms) [INFO] [stderr] should keep declare public ok [INFO] [stderr] test specs::issues::issue0085 ... (7ms) [INFO] [stderr] should not panic when sorting a module specifier that ends with a period ok [INFO] [stderr] test specs::issues::issue0103 ... (5ms) [INFO] [stderr] should not delete comment in place of array element ok [INFO] [stderr] test specs::issues::issue0065 ... (9ms) [INFO] [stderr] should not move comment ok [INFO] [stderr] test specs::issues::issue0047 ... (9ms) [INFO] [stderr] should keep the comment as-is before a template literal in a tagged template ok [INFO] [stderr] test specs::issues::issue0123 ... (2ms) [INFO] [stderr] should remove trailing whitespace in block comments ok [INFO] [stderr] test specs::issues::issue0024 ... (11ms) [INFO] [stderr] should format as-is with a comma at the end of the object property ok [INFO] [stderr] test specs::issues::issue0095 ... (12ms) [INFO] [stderr] should not panic ok [INFO] [stderr] test specs::issues::issue0116 ... (5ms) [INFO] [stderr] should not add semi-colon after comment when statement has a call expr and no semi-colon ok [INFO] [stderr] test specs::issues::issue0122 ... (7ms) [INFO] [stderr] should not panic -- this was an swc issue ok [INFO] [stderr] test specs::issues::issue0127 ... (3ms) [INFO] [stderr] should handle ASI in single line conditionally braced parent statements ok [INFO] [stderr] test specs::issues::issue0023 ... (18ms) [INFO] [stderr] should stay formatting inline multi-lineable ok [INFO] [stderr] test specs::issues::issue0137 ... (4ms) [INFO] [stderr] should not move comment when there is an empty stmt above ok [INFO] [stderr] should not move comment when there is an empty stmt above in a class decl ok [INFO] [stderr] test specs::issues::issue0128 ... (5ms) [INFO] [stderr] should format `private declare` class method ok [INFO] [stderr] test specs::issues::issue0059 ... (20ms) [INFO] [stderr] should format without adding newlines ok [INFO] [stderr] test specs::issues::issue0021 ... (22ms) [INFO] [stderr] should format as-is ok [INFO] [stderr] test specs::issues::issue0268_01 ... (2ms) [INFO] [stderr] should parse ok [INFO] [stderr] test specs::issues::issue0266 ... (4ms) [INFO] [stderr] should parse and remove unnecessary parens in return type ok [INFO] [stderr] test specs::issues::issue0022 ... (28ms) [INFO] [stderr] should format with the test indented. Note the entire assignment is a conditional expr ok [INFO] [stderr] should format with the test indented ok [INFO] [stderr] test specs::issues::issue0112 ... (25ms) [INFO] [stderr] should not add an additional semi-colon when ignoring the property signature ok [INFO] [stderr] test specs::issues::issue0139 ... (14ms) [INFO] [stderr] should add space before return statement ok [INFO] [stderr] test specs::issues::issue0265 ... (7ms) [INFO] [stderr] should parse ok [INFO] [stderr] test specs::issues::issue0141 ... (12ms) [INFO] [stderr] should change the indentation of js docs above declarations ok [INFO] [stderr] should handle indentation change ok [INFO] [stderr] test specs::issues::issue0312 ... (1ms) [INFO] [stderr] should collapse to a single line without needing a double format ok [INFO] [stderr] test specs::issues::issue0124 ... (26ms) [INFO] [stderr] should not have an extra whitespace after extends ok [INFO] [stderr] test specs::issues::issue0351 ... (5ms) [INFO] [stderr] should not remove parens for TSAsExpr being incremented ok [INFO] [stderr] test specs::issues::issue0335 ... (7ms) [INFO] [stderr] should handle sequential expression ok [INFO] [stderr] test specs::issues::issue0306 ... (9ms) [INFO] [stderr] should not remove parentheses around a destructuring assignment ok [INFO] [stderr] test specs::issues::issue0276 ... (12ms) [INFO] [stderr] should not repeat jsx text that looks like comment ok [INFO] [stderr] test specs::issues::issue0264 ... (22ms) [INFO] [stderr] should keep backslash in quote ok [INFO] [stderr] test specs::issues::issue0373 ... (4ms) [INFO] [stderr] should format without error ok [INFO] [stderr] test specs::issues::issue0303 ... (14ms) [INFO] [stderr] should format with comments ok [INFO] [stderr] test specs::issues::issue0310 ... (16ms) [INFO] [stderr] should not require double format ok [INFO] [stderr] test specs::issues::issue0409 ... (2ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::issues::issue0372 ... (12ms) [INFO] [stderr] should eventually format ok [INFO] [stderr] test specs::issues::issue0415 ... (2ms) [INFO] [stderr] should keep semi-colon ok [INFO] [stderr] test specs::issues::issue0094 ... (52ms) [INFO] [stderr] should format block comments in jsx expr container ok [INFO] [stderr] should handle comment before and after spread ok [INFO] [stderr] should not panic and put space in correct spot ok [INFO] [stderr] should use the proper number of backslashes when converting this scenario ok [INFO] [stderr] test specs::issues::issue0416 ... (5ms) [INFO] [stderr] should not add braces ok [INFO] [stderr] test specs::issues::issue0406 ... (11ms) [INFO] [stderr] should not add newline after second comment ok [INFO] [stderr] test specs::issues::issue0272 ... (29ms) [INFO] [stderr] should keep multi-line comments in conditional expr above question token ok [INFO] [stderr] test specs::issues::issue0359 ... (24ms) [INFO] [stderr] should not add newline for single line body and multi line condition ok [INFO] [stderr] test specs::issues::issue0015 ... (65ms) [INFO] [stderr] should format key value pat properties in variables ok [INFO] [stderr] should format key value pat properties in functions ok [INFO] [stderr] test specs::issues::issue0426 ... (1ms) [INFO] [stderr] should emit type arguments in typeof expressions ok [INFO] [stderr] test specs::issues::issue0413 ... (21ms) [INFO] [stderr] should format maintaining the operator position ok [INFO] [stderr] test specs::issues::issue0403 ... (27ms) [INFO] [stderr] should maintain formatting ok [INFO] [stderr] should maintain for this as well ok [INFO] [stderr] test specs::issues::issue0440 ... (5ms) [INFO] [stderr] should handle comment in place of parameter ok [INFO] [stderr] test specs::issues::issue0390 ... (33ms) [INFO] [stderr] should not newline for optional chaining in member property in template literal ok [INFO] [stderr] test specs::issues::issue0268_02 ... (50ms) [INFO] [stderr] should parse ok [INFO] [stderr] test specs::issues::issue0382 ... (36ms) [INFO] [stderr] should not add trailing blank line after parameters in function type ok [INFO] [stderr] test specs::issues::issue0565 ... (2ms) [INFO] [stderr] should format multi-line string and keep start of string indented ok [INFO] [stderr] test specs::issues::issue0510 ... (13ms) [INFO] [stderr] should not remove braces in an if/while statement when the body contains a declaration ok [INFO] [stderr] test specs::issues::issue0539 ... (6ms) [INFO] [stderr] should remove parens around identifier ok [INFO] [stderr] test specs::issues::issue0533 ... (6ms) [INFO] [stderr] should maintain parens around params in arrow function with single param and trailing comment ok [INFO] [stderr] test specs::issues::issue0511 ... (9ms) [INFO] [stderr] should be stable ok [INFO] [stderr] test specs::issues::issue0452 ... (17ms) [INFO] [stderr] should calculate line width according to unicode standard annex #11 rules ok [INFO] [stderr] test specs::issues::issue0424 ... (19ms) [INFO] [stderr] should maintain operator positions independently ok [INFO] [stderr] test specs::issues::issue0468 ... (19ms) [INFO] [stderr] should not remove the braces in an if/while statement when the body contains empty statements ok [INFO] [stderr] test specs::issues::issue0632 ... (3ms) [INFO] [stderr] should maintain if stmt ok [INFO] [stderr] test specs::issues::issue0364 ... (52ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::issues::issue0516 ... (14ms) [INFO] [stderr] should not have trailing space ok [INFO] [stderr] test specs::issues::issue0556 ... (15ms) [INFO] [stderr] should format same as the below ok [INFO] [stderr] should format this the same as the above ok [INFO] [stderr] test specs::issues::issue0425 ... (39ms) [INFO] [stderr] should handle parens wrapping in pre tags ok [INFO] [stderr] test specs::issues::issue0421 ... (40ms) [INFO] [stderr] should add parens for member expr with numeric literal ok [INFO] [stderr] test specs::issues::issue0402 ... (70ms) [INFO] [stderr] should not remove parens for jsdoc type in arrow expr param ok [INFO] [stderr] test specs::issues::issue0650 ... (34ms) [INFO] [stderr] should work ok [INFO] [stderr] interface method ok [INFO] [stderr] long example ok [INFO] [stderr] test specs::issues::issue0520 ... (652ms) [INFO] [stderr] should format quickly ok [INFO] [stderr] [INFO] [stderr] Running specs::issues::deno [INFO] [stderr] [INFO] [stderr] test specs::issues::deno::issue015669 ... (3ms) [INFO] [stderr] should keep comment on same line ok [INFO] [stderr] test specs::issues::deno::issue021279 ... (7ms) [INFO] [stderr] should not cause syntax error ok [INFO] [stderr] test specs::issues::deno::issue014772 ... (13ms) [INFO] [stderr] should format as-is ok [INFO] [stderr] test specs::issues::deno::issue020089 ... (14ms) [INFO] [stderr] should not add semi-colon at start ok [INFO] [stderr] test specs::issues::deno::issue017559 ... (14ms) [INFO] [stderr] should keep semicolon on prop with generator next ok [INFO] [stderr] should put while on next line when removing the semi-colon ok [INFO] [stderr] test specs::issues::deno::issue026681 ... (16ms) [INFO] [stderr] should be stable at formatting ok [INFO] [stderr] should be stable at formatting single line ok [INFO] [stderr] test specs::issues::deno::issue014181 ... (19ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::issues::deno::issue014291 ... (23ms) [INFO] [stderr] should format as-is ok [INFO] [stderr] [INFO] [stderr] Running specs::issues::old_repo [INFO] [stderr] [INFO] [stderr] test specs::issues::old_repo::issue028 ... (3ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::issues::old_repo::issue066 ... (4ms) [INFO] [stderr] should format with a line break ok [INFO] [stderr] test specs::issues::old_repo::issue084 ... (6ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::issues::old_repo::issue035_PreferSingleLine ... (7ms) [INFO] [stderr] should not throw error about finishIndent being called without a corresponding startIndent ok [INFO] [stderr] test specs::issues::old_repo::issue083 ... (9ms) [INFO] [stderr] should not have inner modules as declare when the outer module is declare ok [INFO] [stderr] test specs::issues::old_repo::issue107 ... (9ms) [INFO] [stderr] should not move comment ok [INFO] [stderr] test specs::issues::old_repo::issue117 ... (7ms) [INFO] [stderr] should not debug panic due to bug where the assignment pattern's width was incorrectly `: ConsoleOptions = {}` ok [INFO] [stderr] test specs::issues::old_repo::issue116 ... (10ms) [INFO] [stderr] should format as-is when multi-line ok [INFO] [stderr] should breakup to multi-line based on the expressions ok [INFO] [stderr] test specs::issues::old_repo::issue062 ... (13ms) [INFO] [stderr] should keep on a single line if newline column is less than indent width ok [INFO] [stderr] test specs::issues::old_repo::issue122 ... (3ms) [INFO] [stderr] should have comment before period ok [INFO] [stderr] test specs::issues::old_repo::issue051 ... (16ms) [INFO] [stderr] should format the comments inside the method when there is a comment following the method (weird that this wouldn't work) ok [INFO] [stderr] test specs::issues::old_repo::issue035 ... (17ms) [INFO] [stderr] should not throw error about finishIndent being called without a corresponding startIndent (skip-format-twice) ok [INFO] [stderr] test specs::issues::old_repo::issue131 ... (4ms) [INFO] [stderr] should format as-is ok [INFO] [stderr] test specs::issues::old_repo::issue134 ... (2ms) [INFO] [stderr] should format as-is ok [INFO] [stderr] test specs::issues::old_repo::issue124 ... (6ms) [INFO] [stderr] should format on same line ok [INFO] [stderr] test specs::issues::old_repo::issue123 ... (10ms) [INFO] [stderr] should format as-is ok [INFO] [stderr] test specs::issues::old_repo::issue067 ... (23ms) [INFO] [stderr] should keep as-is ok [INFO] [stderr] should go multi-line when a single-line arg exists after a multi-line one ok [INFO] [stderr] several object expressions ok [INFO] [stderr] test specs::issues::old_repo::issue036 ... (23ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::issues::old_repo::issue128 ... (9ms) [INFO] [stderr] should format as-is ok [INFO] [stderr] test specs::issues::old_repo::issue022 ... (24ms) [INFO] [stderr] should place brace on same line when not existing ok [INFO] [stderr] test specs::issues::old_repo::issue133 ... (8ms) [INFO] [stderr] should format as-is ok [INFO] [stderr] test specs::issues::old_repo::issue139 ... (1ms) [INFO] [stderr] should format onto the next line (previously would newline before the computed access—[0]) ok [INFO] [stderr] test specs::issues::old_repo::issue132 ... (12ms) [INFO] [stderr] should keep comments as-is ok [INFO] [stderr] test specs::issues::old_repo::issue170 ... (3ms) [INFO] [stderr] should format multi-line ok [INFO] [stderr] should stay multi-line ok [INFO] [stderr] test specs::issues::old_repo::issue140 ... (6ms) [INFO] [stderr] should handle comment on line after assignment ok [INFO] [stderr] should allow comment on same line as assignment ok [INFO] [stderr] should handle comment on line after property assignment token ok [INFO] [stderr] test specs::issues::old_repo::issue174 ... (5ms) [INFO] [stderr] should not end up with argument at zero indent ok [INFO] [stderr] should format when there is a preceeding line block ok [INFO] [stderr] test specs::issues::old_repo::issue174_PreferHanging ... (4ms) [INFO] [stderr] should become multi-line once there's a comment in the middle like this ok [INFO] [stderr] test specs::issues::old_repo::issue105 ... (34ms) [INFO] [stderr] should keep nested arrow functions on separate lines ok [INFO] [stderr] should move short non-multi-line body back up to same line ok [INFO] [stderr] should move arrow func body to newline when going over ok [INFO] [stderr] should have newline group on variable declaration assignment ok [INFO] [stderr] should not have for arrow func expr ok [INFO] [stderr] test specs::issues::old_repo::issue150 ... (10ms) [INFO] [stderr] should format yield await in async generator function ok [INFO] [stderr] test specs::issues::old_repo::issue175 ... (5ms) [INFO] [stderr] should not double indent ok [INFO] [stderr] test specs::issues::old_repo::issue142 ... (10ms) [INFO] [stderr] should not debug panic for a tab inside a single line comment ok [INFO] [stderr] test specs::issues::old_repo::issue046 ... (36ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::issues::old_repo::issue212 ... (1ms) [INFO] [stderr] should not panic when new expr has no parens ok [INFO] [stderr] test specs::issues::old_repo::issue217 ... (1ms) [INFO] [stderr] should not get rid of leading indentation after ignore comment ok [INFO] [stderr] test specs::issues::old_repo::issue199 ... (3ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::issues::old_repo::issue183 ... (8ms) [INFO] [stderr] should not panic ok [INFO] [stderr] test specs::issues::old_repo::issue180 ... (11ms) [INFO] [stderr] should keep brace on same line for a class ok [INFO] [stderr] should keep brace on the same line for an interface ok [INFO] [stderr] test specs::issues::old_repo::issue201 ... (8ms) [INFO] [stderr] should format no-substitution template literal in type ok [INFO] [stderr] test specs::issues::old_repo::issue220 ... (8ms) [INFO] [stderr] should format as-is with async keyword below comment ok [INFO] [stderr] test specs::issues::old_repo::issue179 ... (23ms) [INFO] [stderr] should format async generated method in object expression ok [INFO] [stderr] test specs::issues::old_repo::issue197 ... (18ms) [INFO] [stderr] should not add a semi-colon ok [INFO] [stderr] test specs::issues::old_repo::issue165 ... (32ms) [INFO] [stderr] should format with a close paren on the same line ok [INFO] [stderr] should format as-is ok [INFO] [stderr] test specs::issues::old_repo::issue219 ... (24ms) [INFO] [stderr] should format as expr inline for keyword type ok [INFO] [stderr] should format as expr inline for type reference ok [INFO] [stderr] should format as expr inline for object type ok [INFO] [stderr] test specs::issues::old_repo::issue158 ... (38ms) [INFO] [stderr] should format as-is (was putting a blank line between items) ok [INFO] [stderr] should format as-is when there is a comment ok [INFO] [stderr] [INFO] [stderr] Running specs::jsx::JsxAttribute [INFO] [stderr] [INFO] [stderr] test specs::jsx::JsxAttribute::JsxAttribute_All ... (3ms) [INFO] [stderr] should format ok [INFO] [stderr] should not newline in tagged template ok [INFO] [stderr] [INFO] [stderr] Running specs::jsx::JsxClosingElement [INFO] [stderr] [INFO] [stderr] test specs::jsx::JsxClosingElement::JsxClosingElement_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::jsx::JsxElement [INFO] [stderr] [INFO] [stderr] test specs::jsx::JsxElement::JsxOpeningElement_BracketPosition_Maintain ... (20ms) [INFO] [stderr] should maintain the bracket position when there's attributes ok [INFO] [stderr] should maintain for single line ok [INFO] [stderr] test specs::jsx::JsxElement::JsxSelfClosingElement_BracketPosition_NextLine ... (8ms) [INFO] [stderr] should move the bracket position to the next line ok [INFO] [stderr] should maintain for single line ok [INFO] [stderr] test specs::jsx::JsxElement::JsxOpeningElement_BracketPosition_NextLine ... (13ms) [INFO] [stderr] should move the bracket position to the next line ok [INFO] [stderr] should maintain for single line ok [INFO] [stderr] test specs::jsx::JsxElement::JsxOpeningElement_BracketPosition_SameLine ... (15ms) [INFO] [stderr] should move the bracket position to the same line ok [INFO] [stderr] should maintain for single line ok [INFO] [stderr] test specs::jsx::JsxElement::JsxElement_ForceNewLineSurroundingContent ... (37ms) [INFO] [stderr] should force surrounding newlines without props ok [INFO] [stderr] should force surrounding newlines with one prop ok [INFO] [stderr] should force surrounding newlines with multiple props ok [INFO] [stderr] test specs::jsx::JsxElement::JsxSelfClosingElement_BracketPosition_SameLine ... (22ms) [INFO] [stderr] should move the bracket position to the same line ok [INFO] [stderr] should maintain for single line ok [INFO] [stderr] test specs::jsx::JsxElement::JsxSelfClosingElement_BracketPosition_Maintain ... (24ms) [INFO] [stderr] should maintain the bracket position when there's attributes ok [INFO] [stderr] should maintain for single line ok [INFO] [stderr] test specs::jsx::JsxElement::JsxElement_PreferSingleLine_True ... (53ms) [INFO] [stderr] should format when single line ok [INFO] [stderr] should revert back to single line when below the line width with text ok [INFO] [stderr] should go multi-line when exceeding the line width with text ok [INFO] [stderr] should go multi-line when exceeding the line width twice with text ok [INFO] [stderr] should handle multiple nested elements going multi-line ok [INFO] [stderr] test specs::jsx::JsxElement::JsxSelfClosingElement_SpaceBeforeSlash_False ... (29ms) [INFO] [stderr] should avoid space before self closing tag when there are no attributes ok [INFO] [stderr] should avoid space before self closing tag when there are attributes ok [INFO] [stderr] should format appropriately for multi-line ok [INFO] [stderr] should format when exceeds line width and no attributes ok [INFO] [stderr] should support a comment on the same line as the name ok [INFO] [stderr] test specs::jsx::JsxElement::JsxElement_MultiLineParens_Prefer ... (53ms) [INFO] [stderr] should remove paren expression when the element isn't multi-line ok [INFO] [stderr] should not remove paren expression when the element isn't multi-line, but has surrounding comments ok [INFO] [stderr] should not add parens around multi-line element in an expr stmt ok [INFO] [stderr] should not add parens around an element in an argument ok [INFO] [stderr] should not surround element in jsx expression with parens ok [INFO] [stderr] should remove many nested parens ok [INFO] [stderr] should not remove parens when has comment ok [INFO] [stderr] should handle jsx in arrow function expr with multiple parens ok [INFO] [stderr] test specs::jsx::JsxElement::JsxElement_MultiLineParens_Never ... (61ms) [INFO] [stderr] should format when multi line ok [INFO] [stderr] should not remove the paren expr when able ok [INFO] [stderr] should use multi lines even when empty (since someone may want it that way in order to insert statements later) ok [INFO] [stderr] should format elements inside ok [INFO] [stderr] should make the children multi-line when they exceed the line width ok [INFO] [stderr] should make the jsx element multi-line once it contains a jsx element or fragment ok [INFO] [stderr] should make the children multi-line when the header exceeds the line width ok [INFO] [stderr] should handle jsx in arrow function expr with multiple parens ok [INFO] [stderr] test specs::jsx::JsxElement::JsxElement_MultiLineParens_Always ... (102ms) [INFO] [stderr] should remove paren expression when the element isn't multi-line ok [INFO] [stderr] should not remove paren expression when the element isn't multi-line, but has surrounding comments ok [INFO] [stderr] should add parens around multi-line element in an expr stmt ok [INFO] [stderr] should only add parens at the top level of a multi-line element ok [INFO] [stderr] should add parens around a JSX element that wraps ok [INFO] [stderr] should add parens around an element in an argument ok [INFO] [stderr] should surround element in jsx expression with parens ok [INFO] [stderr] should remove many nested parens ok [INFO] [stderr] should not remove parens when has comment ok [INFO] [stderr] should handle jsx in arrow function expr with multiple parens ok [INFO] [stderr] test specs::jsx::JsxElement::JsxElement_All ... (106ms) [INFO] [stderr] should format when single line ok [INFO] [stderr] should format when multi line ok [INFO] [stderr] should use multi lines even when empty (since someone may want it that way in order to insert statements later) ok [INFO] [stderr] should format elements inside ok [INFO] [stderr] should format when self closing ok [INFO] [stderr] should format when element exceeds line width with no children ok [INFO] [stderr] should make the children multi-line when they exceed the line width ok [INFO] [stderr] should make the jsx element multi-line once it contains a jsx element or fragment ok [INFO] [stderr] should make JSX elements that are beside each other multi-line ok [INFO] [stderr] should make JSX elements that have a space between them not multi-line ok [INFO] [stderr] should make the children multi-line when the header exceeds the line width ok [INFO] [stderr] should keep jsx expressions on the same line if there is text separating them ok [INFO] [stderr] should keep jsx text on the same line for a following text ok [INFO] [stderr] should keep jsx text on the same line for a preceding text with and without a space ok [INFO] [stderr] should keep jsx text on the same line for the following text with and without a space ok [INFO] [stderr] should leave a space between the text and expression when single line ok [INFO] [stderr] should keep multi-line jsx element with single string attribute on same line ok [INFO] [stderr] should not keep long multi-line jsx element with single string attribute on same line when has type arg ok [INFO] [stderr] should try to keep jsx parened expr inlined within binary expressions ok [INFO] [stderr] test specs::jsx::JsxElement::JsxElement_Spaces ... (119ms) [INFO] [stderr] should not remove spaces between ok [INFO] [stderr] should remove spaces surrounding ok [INFO] [stderr] should handle a space when exceeding the line width with only the parent when the parent and children are on the same line ok [INFO] [stderr] should handle a space when exceeding the line width within the children ok [INFO] [stderr] should add a jsx space expression when going to two lines with a space in between ok [INFO] [stderr] should add jsx space expr between expr and text when going to two lines ok [INFO] [stderr] should add jsx space expr between text and expr when going to two lines ok [INFO] [stderr] should move jsx space expr to same line ok [INFO] [stderr] should collapse a blank line when there's a space expr ok [INFO] [stderr] should collapse and remove the jsx space expr when it's not necessary ok [INFO] [stderr] should combine multiple jsx space exprs together ok [INFO] [stderr] should move a space from before a jsx space expr into the expression ok [INFO] [stderr] should combine spaces when surrounded by text ok [INFO] [stderr] should handle the added space exceeding the line width ok [INFO] [stderr] should keep a space expr that's alone ok [INFO] [stderr] should keep a space expr that's at the start ok [INFO] [stderr] should keep a space expr that's at the end ok [INFO] [stderr] should always use a space with newline after a multi-line jsx element ok [INFO] [stderr] should always use a space with newline after a multi-line jsx fragment ok [INFO] [stderr] should always use a space with a newline before a multi-line jsx element ok [INFO] [stderr] should always use a space with a newline before a multi-line jsx fragment ok [INFO] [stderr] should handle scenario where jsx element is single line and inline between text ok [INFO] [stderr] [INFO] [stderr] Running specs::jsx::JsxEmptyExpression [INFO] [stderr] [INFO] [stderr] test specs::jsx::JsxEmptyExpression::JsxEmptyExpression_All ... (2ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::jsx::JsxExpressionContainer [INFO] [stderr] [INFO] [stderr] test specs::jsx::JsxExpressionContainer::JsxExpressionContainer_SpaceSurroundingExpression_True ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::jsx::JsxExpressionContainer::JsxExpressionContainer_All ... (6ms) [INFO] [stderr] should format ok [INFO] [stderr] should keep comments within the expression ok [INFO] [stderr] [INFO] [stderr] Running specs::jsx::JsxFragment [INFO] [stderr] [INFO] [stderr] test specs::jsx::JsxFragment::JsxOpeningFragment_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::jsx::JsxFragment::JsxClosingFragment_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::jsx::JsxFragment::JsxFragment_MultiLineParens_False ... (10ms) [INFO] [stderr] should format when multi line ok [INFO] [stderr] should not remove the paren expr when able ok [INFO] [stderr] should use multi lines even when empty (since someone may want it that way in order to insert statements later) ok [INFO] [stderr] should format elements inside ok [INFO] [stderr] should make the children multi-line when they exceed the line width ok [INFO] [stderr] should make the fragment multi-line once it contains a jsx element or fragment ok [INFO] [stderr] test specs::jsx::JsxFragment::JsxFragment_All ... (36ms) [INFO] [stderr] should format when single line ok [INFO] [stderr] should format when multi line ok [INFO] [stderr] should remove paren expression when the element isn't multi-line ok [INFO] [stderr] should not remove paren expression when the element isn't multi-line, but has surrounding comments ok [INFO] [stderr] should use multi lines even when empty (since someone may want it that way in order to insert statements later) ok [INFO] [stderr] should format elements inside ok [INFO] [stderr] should make the children multi-line when they exceed the line width ok [INFO] [stderr] [INFO] [stderr] Running specs::jsx::JsxMemberExpression [INFO] [stderr] [INFO] [stderr] test specs::jsx::JsxMemberExpression::JsxMemberExpression_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::jsx::JsxNamespacedName [INFO] [stderr] [INFO] [stderr] test specs::jsx::JsxNamespacedName::JsxNamespacedName_All ... (4ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::jsx::JsxOpeningElement [INFO] [stderr] [INFO] [stderr] test specs::jsx::JsxOpeningElement::JsxOpeningElement_PreferHanging_True ... (26ms) [INFO] [stderr] should format when has attributes below line width ok [INFO] [stderr] should make the body multi-line when the header is hanging ok [INFO] [stderr] should make the body multi-line when the header is hanging and inside parens ok [INFO] [stderr] should make the attribs multi-line when first is on a different line ok [INFO] [stderr] test specs::jsx::JsxOpeningElement::JsxOpeningElement_PreferSingleLine_True ... (27ms) [INFO] [stderr] should format when has attributes below line width ok [INFO] [stderr] should make the body multi-line when exceeding the line width ok [INFO] [stderr] should revert back to being single line when the attributes are below the line width ok [INFO] [stderr] should not make the attribs multi-line when first is on a different line ok [INFO] [stderr] test specs::jsx::JsxOpeningElement::JsxOpeningElement_TypeArguments ... (27ms) [INFO] [stderr] should format when it has type arguments and no attributes ok [INFO] [stderr] should format when it has type args and attributes ok [INFO] [stderr] should format when it has type args and it's self closing ok [INFO] [stderr] should format when it has type args and is multi-line ok [INFO] [stderr] test specs::jsx::JsxOpeningElement::JsxOpeningElement_All ... (41ms) [INFO] [stderr] should format ok [INFO] [stderr] should format when has attributes ok [INFO] [stderr] should make the body multi-line when the header is multiple lines ok [INFO] [stderr] should make the body multi-line when the header is multiple lines and inside parens ok [INFO] [stderr] should make the attribs multi-line when first is on a different line ok [INFO] [stderr] should support a comment on the next line after the name ok [INFO] [stderr] should support a comment on the same line as the name ok [INFO] [stderr] should support comments surrounding attributes ok [INFO] [stderr] should support a block comment after the name ok [INFO] [stderr] should support a comment on the next line after the name when self closing ok [INFO] [stderr] should support a comment on the same line as the name when self closing ok [INFO] [stderr] [INFO] [stderr] Running specs::jsx::JsxSpreadAttribute [INFO] [stderr] [INFO] [stderr] test specs::jsx::JsxSpreadAttribute::JsxSpreadAttribute_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::jsx::JsxSpreadChild [INFO] [stderr] [INFO] [stderr] test specs::jsx::JsxSpreadChild::JsxSpreadChild_All ... (3ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::jsx::JsxText [INFO] [stderr] [INFO] [stderr] test specs::jsx::JsxText::JsxText_All ... (6ms) [INFO] [stderr] should format when single line ok [INFO] [stderr] should format when multi line ok [INFO] [stderr] should keep character entities ok [INFO] [stderr] should wrap a single line to multiple lines ok [INFO] [stderr] should maintain text for pre element ok [INFO] [stderr] should maintain pre element text when has nested element as well ok [INFO] [stderr] [INFO] [stderr] Running specs::keywords [INFO] [stderr] [INFO] [stderr] test specs::keywords::Various ... (1ms) [INFO] [stderr] should do a bigint keyword ok [INFO] [stderr] [INFO] [stderr] Running specs::keywords::import [INFO] [stderr] [INFO] [stderr] test specs::keywords::import::Import_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::literals::BigIntLiteral [INFO] [stderr] [INFO] [stderr] test specs::literals::BigIntLiteral::BigIntLiteral_All ... (1ms) [INFO] [stderr] should parse a big int literal ok [INFO] [stderr] [INFO] [stderr] Running specs::literals::NumericLiteral [INFO] [stderr] [INFO] [stderr] test specs::literals::NumericLiteral::NumericLiteral_All ... (2ms) [INFO] [stderr] should parse different kinds of numeric literals ok [INFO] [stderr] [INFO] [stderr] Running specs::literals::RegExpLiteral [INFO] [stderr] [INFO] [stderr] test specs::literals::RegExpLiteral::RegExpLiteral_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::literals::StringLiteral [INFO] [stderr] [INFO] [stderr] test specs::literals::StringLiteral::DirectiveLiteral_QuoteStyle_PreferDouble ... (1ms) [INFO] [stderr] should use double quotes by default ok [INFO] [stderr] should handle double quotes inside the string ok [INFO] [stderr] test specs::literals::StringLiteral::StringLiteral_JsxQuoteStyle_PreferSingle ... (3ms) [INFO] [stderr] should use single quotes ok [INFO] [stderr] should handle single quotes inside the string ok [INFO] [stderr] test specs::literals::StringLiteral::StringLiteral_QuoteStyle_AlwaysDouble_Jsx ... (3ms) [INFO] [stderr] should not switch to double quotes for JSX strings containing a double quote ok [INFO] [stderr] test specs::literals::StringLiteral::DirectiveLiteral_QuoteStyle_AlwaysDouble ... (4ms) [INFO] [stderr] should use double quotes always ok [INFO] [stderr] should handle double quotes inside the string ok [INFO] [stderr] test specs::literals::StringLiteral::DirectiveLiteral_QuoteStyle_AlwaysSingle ... (5ms) [INFO] [stderr] should use single quotes when specified ok [INFO] [stderr] should handle single quotes inside the string ok [INFO] [stderr] test specs::literals::StringLiteral::StringLiteral_All ... (7ms) [INFO] [stderr] should not replace escaped character with actual character ok [INFO] [stderr] should not replace actual character with escaped character ok [INFO] [stderr] test specs::literals::StringLiteral::StringLiteral_JsxQuoteStyle_PreferDouble ... (11ms) [INFO] [stderr] should use double quotes ok [INFO] [stderr] should handle double quotes inside the string ok [INFO] [stderr] test specs::literals::StringLiteral::DirectiveLiteral_QuoteStyle_PreferSingle ... (12ms) [INFO] [stderr] should use single quotes when specified ok [INFO] [stderr] should handle single quotes inside the string ok [INFO] [stderr] test specs::literals::StringLiteral::StringLiteral_QuoteStyle_AlwaysSingle ... (13ms) [INFO] [stderr] should use single quotes when specified ok [INFO] [stderr] should handle single quotes inside the string ok [INFO] [stderr] should handle escaped single quotes ok [INFO] [stderr] should handle string literals that span multiple lines ok [INFO] [stderr] test specs::literals::StringLiteral::StringLiteral_QuoteStyle_AlwaysSingle_Jsx ... (14ms) [INFO] [stderr] should not switch to single quotes for JSX strings containing a single quote ok [INFO] [stderr] should use correct quote style when breaking jsx text ok [INFO] [stderr] test specs::literals::StringLiteral::StringLiteral_QuoteStyle_AlwaysDouble ... (16ms) [INFO] [stderr] should use double quotes always ok [INFO] [stderr] should handle double quotes inside the string ok [INFO] [stderr] should handle escaped double quotes ok [INFO] [stderr] should handle string literals that span multiple lines ok [INFO] [stderr] test specs::literals::StringLiteral::StringLiteral_QuoteStyle_PreferSingle ... (13ms) [INFO] [stderr] should use single quotes when specified ok [INFO] [stderr] should handle single quotes inside the string ok [INFO] [stderr] should handle escaped single quotes ok [INFO] [stderr] should handle string literals that span multiple lines ok [INFO] [stderr] should use single quotes when there is the same number of double as single quotes ok [INFO] [stderr] should use single quotes when there is more double than single quotes ok [INFO] [stderr] should use double quotes when there is more single than double quotes ok [INFO] [stderr] test specs::literals::StringLiteral::StringLiteral_QuoteStyle_PreferDouble ... (27ms) [INFO] [stderr] should use double quotes ok [INFO] [stderr] should handle double quotes inside the string ok [INFO] [stderr] should handle escaped double quotes ok [INFO] [stderr] should handle string literals that span multiple lines ok [INFO] [stderr] should use double quotes when there is the same number of double as single quotes ok [INFO] [stderr] should use double quotes when there is more single than double quotes ok [INFO] [stderr] should use single quotes when there is more double than single quotes ok [INFO] [stderr] test specs::literals::StringLiteral::StringLiteral_QuoteProps_Preserve ... (28ms) [INFO] [stderr] should always preserve quotes ok [INFO] [stderr] test specs::literals::StringLiteral::StringLiteral_QuoteProps_AsNeeded ... (47ms) [INFO] [stderr] should preserve quotes when necessary ok [INFO] [stderr] should remove quotes when unnecessary ok [INFO] [stderr] should keep quotes around class properties due to --strictPropertyInitialization ok [INFO] [stderr] test specs::literals::StringLiteral::StringLiteral_QuoteProps_Consistent ... (52ms) [INFO] [stderr] should add quotes when necessary ok [INFO] [stderr] should remove quotes when none need them ok [INFO] [stderr] should not remove in this scenario ok [INFO] [stderr] [INFO] [stderr] Running specs::literals::StringLiteralTypeAnnotation [INFO] [stderr] [INFO] [stderr] test specs::literals::StringLiteralTypeAnnotation::StringLiteralTypeAnnotation_QuoteStyle_AlwaysDouble ... (1ms) [INFO] [stderr] should use double quotes by default... todo: seems like the parser parses this as a string literal actually... ok [INFO] [stderr] should handle double quotes inside the string ok [INFO] [stderr] test specs::literals::StringLiteralTypeAnnotation::StringLiteralTypeAnnotation_QuoteStyle_PreferDouble ... (2ms) [INFO] [stderr] should use double quotes when specified ok [INFO] [stderr] should handle double quotes inside the string ok [INFO] [stderr] test specs::literals::StringLiteralTypeAnnotation::StringLiteralTypeAnnotation_QuoteStyle_AlwaysSingle ... (2ms) [INFO] [stderr] should use single quotes when specified ok [INFO] [stderr] should handle single quotes inside the string ok [INFO] [stderr] test specs::literals::StringLiteralTypeAnnotation::StringLiteralTypeAnnotation_QuoteStyle_PreferSingle ... (3ms) [INFO] [stderr] should use single quotes when specified ok [INFO] [stderr] should handle single quotes inside the string ok [INFO] [stderr] [INFO] [stderr] Running specs::literals::TemplateLiteral [INFO] [stderr] [INFO] [stderr] test specs::literals::TemplateLiteral::TemplateLiteral_All ... (34ms) [INFO] [stderr] should format ok [INFO] [stderr] should format multiple lines without indentation ok [INFO] [stderr] should do string iterpolation ok [INFO] [stderr] should not indent within the expression when it goes over the line width and the expression has no possible newlines ok [INFO] [stderr] should indent within the expression when it goes over the line width and the expression has possible newlines ok [INFO] [stderr] should move conditional expressions to the next line when they exceed the line width ok [INFO] [stderr] should handle conditional expressions that exceed the line width twice ok [INFO] [stderr] should handle conditional expr in this scenario ok [INFO] [stderr] should handle conditional expr when the conditional expr cons is on the line width and not make the cond expr multi-line ok [INFO] [stderr] should do a tagged template literal ok [INFO] [stderr] should not do a tagged template literal that goes over line width ok [INFO] [stderr] should not do newlines for a member expression ok [INFO] [stderr] should not do newlines for a member expression with a this, super prop expr, or import meta expr ok [INFO] [stderr] should not do newlines for a member expression with a string literal ok [INFO] [stderr] should not do newlines for a private property name ok [INFO] [stderr] should do newlines for a member expression with a computed property ok [INFO] [stderr] should not break up call expressions with no argument ok [INFO] [stderr] should break up call expressions with an argument ok [INFO] [stderr] should place opening backtick in same line if it starts with newline ok [INFO] [stderr] should place opening backtick in different line if it starts with a non-newline character ok [INFO] [stderr] should move a binary expression to its own line ok [INFO] [stderr] should print comments in template literals substitutions ok [INFO] [stderr] [INFO] [stderr] Running specs::patterns::ArrayPattern [INFO] [stderr] [INFO] [stderr] test specs::patterns::ArrayPattern::ArrayPattern_PreferHanging_True ... (2ms) [INFO] [stderr] should format with hanging indentation ok [INFO] [stderr] test specs::patterns::ArrayPattern::ArrayPattern_SpaceAround_True ... (2ms) [INFO] [stderr] should format with space around elements ok [INFO] [stderr] test specs::patterns::ArrayPattern::ArrayPattern_PreferSingleLine_True ... (3ms) [INFO] [stderr] should format on a single line when below the line width ok [INFO] [stderr] should do multiple lines if one ends with a line comment even if it could fit on one line ok [INFO] [stderr] test specs::patterns::ArrayPattern::ArrayPattern_TrailingCommas_OnlyMultiLine ... (7ms) [INFO] [stderr] should format with trailing commas when multiline ok [INFO] [stderr] should not format with trailing commas when single line ok [INFO] [stderr] should format with trailing commas when going from single line to multi-line ok [INFO] [stderr] test specs::patterns::ArrayPattern::ArrayPattern_TrailingCommas_Never ... (7ms) [INFO] [stderr] should not format with trailing commas when multiline ok [INFO] [stderr] should not format with trailing commas when single line ok [INFO] [stderr] test specs::patterns::ArrayPattern::ArrayPattern_TrailingCommas_Always ... (8ms) [INFO] [stderr] should format with trailing commas when multiline ok [INFO] [stderr] should format with trailing commas when single line ok [INFO] [stderr] test specs::patterns::ArrayPattern::ArrayPattern_All ... (17ms) [INFO] [stderr] should format ok [INFO] [stderr] should format with a type annotation ok [INFO] [stderr] should allow empty elements ok [INFO] [stderr] should format as multi-line when exceeding the line width ok [INFO] [stderr] should format when optional ok [INFO] [stderr] [INFO] [stderr] Running specs::patterns::AssignmentPattern [INFO] [stderr] [INFO] [stderr] test specs::patterns::AssignmentPattern::AssignmentPattern_All ... (2ms) [INFO] [stderr] should format ok [INFO] [stderr] should format when hanging ok [INFO] [stderr] [INFO] [stderr] Running specs::patterns::KeyValuePatProp [INFO] [stderr] [INFO] [stderr] test specs::patterns::KeyValuePatProp::KeyValuePatProp_All ... (2ms) [INFO] [stderr] should format on one line ok [INFO] [stderr] should format on multiple lines ok [INFO] [stderr] [INFO] [stderr] Running specs::patterns::ObjectPattern [INFO] [stderr] [INFO] [stderr] test specs::patterns::ObjectPattern::ObjectPattern_PreferHanging_True ... (3ms) [INFO] [stderr] should format ok [INFO] [stderr] should format multi-line ok [INFO] [stderr] should make hanging when exceeding ok [INFO] [stderr] test specs::patterns::ObjectPattern::ObjectPattern_All ... (5ms) [INFO] [stderr] should format ok [INFO] [stderr] should format multi-line ok [INFO] [stderr] should split up between the items when the line width is on the last brace (rather than splitting up right before the brace) ok [INFO] [stderr] should format when optional ok [INFO] [stderr] test specs::patterns::ObjectPattern::ObjectPattern_SpaceSurroundingProperties_False ... (6ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::patterns::ObjectPattern::ObjectPattern_PreferSingleLine_True ... (7ms) [INFO] [stderr] should maintain blank lines when above line width ok [INFO] [stderr] should collapse to a single line when below the line width ok [INFO] [stderr] should force using multiple lines when there's a comment ok [INFO] [stderr] [INFO] [stderr] Running specs::patterns::RestPattern [INFO] [stderr] [INFO] [stderr] test specs::patterns::RestPattern::RestPattern_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::blockStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::blockStatement::BlockStatement_All ... (3ms) [INFO] [stderr] should print out the inner statements ok [INFO] [stderr] should print out any directives ok [INFO] [stderr] should print out the inner statements respecting blank lines, but not allowing consequtive blank lines ok [INFO] [stderr] test specs::statements::blockStatement::BlockStatement_Comments ... (6ms) [INFO] [stderr] should format comments within ok [INFO] [stderr] should format a line comment on the first line as trailing ok [INFO] [stderr] should format single line ok [INFO] [stderr] should format when there is a comment at the end with a blank line separating ok [INFO] [stderr] should print comments mixed with statements ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::breakStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::breakStatement::BreakStatement_SemiColons_Asi ... (2ms) [INFO] [stderr] should not inclue a semi-colon ok [INFO] [stderr] test specs::statements::breakStatement::BreakStatement_All ... (2ms) [INFO] [stderr] should format ok [INFO] [stderr] should format when has a label ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::continueStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::continueStatement::ContinueStatement_SemiColons_Asi ... (2ms) [INFO] [stderr] should not inclue a semi-colon ok [INFO] [stderr] test specs::statements::continueStatement::ContinueStatement_All ... (3ms) [INFO] [stderr] should format ok [INFO] [stderr] should format when has a label ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::debuggerStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::debuggerStatement::DebuggerStatement_All ... (0ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::statements::debuggerStatement::DebuggerStatement_SemiColons_Asi ... (1ms) [INFO] [stderr] should remove the semi-colon ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::doWhileStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::doWhileStatement::DoWhileStatement_BracePosition_NextLine ... (1ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] test specs::statements::doWhileStatement::DoWhileStatement_BracePosition_Maintain ... (1ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] test specs::statements::doWhileStatement::DoWhileStatement_SpaceAfterWhileKeyword_False ... (1ms) [INFO] [stderr] should print ok [INFO] [stderr] test specs::statements::doWhileStatement::DoWhileStatement_SpaceAround_True ... (1ms) [INFO] [stderr] should format with space around the condition ok [INFO] [stderr] test specs::statements::doWhileStatement::DoWhileStatement_NextControlFlowPosition_Maintain ... (6ms) [INFO] [stderr] should maintain the position when on same line ok [INFO] [stderr] should maintain the position when else if on next line ok [INFO] [stderr] test specs::statements::doWhileStatement::DoWhileStatement_NextControlFlowPosition_SameLine ... (7ms) [INFO] [stderr] should use the same line for the new control flow position ok [INFO] [stderr] test specs::statements::doWhileStatement::DoWhileStatement_BracePosition_SameLine ... (15ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] test specs::statements::doWhileStatement::DoWhileStatement_PreferHanging_True ... (20ms) [INFO] [stderr] should print ok [INFO] [stderr] should format hanging when condition spans multiple lines ok [INFO] [stderr] should format on multiple lines when the test is on a different line than the paren ok [INFO] [stderr] test specs::statements::doWhileStatement::DoWhileStatement_NextControlFlowPosition_NextLine ... (29ms) [INFO] [stderr] should use the next line for the new control flow position ok [INFO] [stderr] should stay on next line ok [INFO] [stderr] should keep comments before while ok [INFO] [stderr] test specs::statements::doWhileStatement::DoWhileStatement_All ... (31ms) [INFO] [stderr] should print ok [INFO] [stderr] should format on multiple lines when the test is on a different line than the paren ok [INFO] [stderr] should format hanging when condition spans multiple lines ok [INFO] [stderr] should format hanging when condition spans multiple lines twice ok [INFO] [stderr] should format when empty and on the same line ok [INFO] [stderr] should format when empty and on different lines ok [INFO] [stderr] should handle do while with an if stmt ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::emptyStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::emptyStatement::EmptyStatement_All ... (3ms) [INFO] [stderr] should format ok [INFO] [stderr] should format when comments are around ok [INFO] [stderr] should format when comments with multiple empty stmts ok [INFO] [stderr] should format when comments with multiple empty stmts in class decl ok [INFO] [stderr] should format when between nodes ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::exportAssignment [INFO] [stderr] [INFO] [stderr] test specs::statements::exportAssignment::ExportAssignment_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::statements::exportAssignment::ExportAssignment_SemiColons_Asi ... (1ms) [INFO] [stderr] should format without a semi colon ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::expressionStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::expressionStatement::ExpressionStatement_SemiColons_Asi ... (1ms) [INFO] [stderr] should not output the semi colon ok [INFO] [stderr] test specs::statements::expressionStatement::ExpressionStatement_SemiColonInsertion ... (8ms) [INFO] [stderr] should insert semi-colons at the start of lines beginning with a parenthesis ok [INFO] [stderr] should insert semi-colons at the start of lines beginning with a template literal ok [INFO] [stderr] should insert semi-colons at the start of lines beginning with a bracket ok [INFO] [stderr] shouldn't insert semi-colons at the start of lines beginning with increment ok [INFO] [stderr] shouldn't insert semi-colons at the start of lines beginning with decrement ok [INFO] [stderr] should insert semi-colons at the start of lines beginning with a single plus operator ok [INFO] [stderr] should insert semi-colons at the start of lines beginning with with a single subtract operator ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::forInStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::forInStatement::ForInStatement_SpaceAround_True ... (1ms) [INFO] [stderr] should format with space around the loop initializer ok [INFO] [stderr] test specs::statements::forInStatement::ForInStatement_BracePosition_SameLine ... (2ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] should use the same line for the brace position when hanging ok [INFO] [stderr] test specs::statements::forInStatement::ForInStatement_PreferHanging_True ... (2ms) [INFO] [stderr] should print ok [INFO] [stderr] should be hanging when multiple lines ok [INFO] [stderr] test specs::statements::forInStatement::ForInStatement_SpaceAfterForKeyword_False ... (2ms) [INFO] [stderr] should print ok [INFO] [stderr] test specs::statements::forInStatement::ForInStatement_BracePosition_Maintain ... (4ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the same line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the next line ok [INFO] [stderr] test specs::statements::forInStatement::ForInStatement_SingleBodyPosition_NextLine ... (8ms) [INFO] [stderr] should move to the next line ok [INFO] [stderr] should keep on the next line ok [INFO] [stderr] test specs::statements::forInStatement::ForInStatement_BracePosition_NextLine ... (13ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] should use the next line for the brace position when hanging ok [INFO] [stderr] test specs::statements::forInStatement::ForInStatement_SingleBodyPosition_Maintain ... (13ms) [INFO] [stderr] should keep on a single line ok [INFO] [stderr] should keep on the next line ok [INFO] [stderr] test specs::statements::forInStatement::ForInStatement_UseBraces_PreferNone ... (13ms) [INFO] [stderr] should not use braces when only one line ok [INFO] [stderr] should use braces when condition is hanging ok [INFO] [stderr] test specs::statements::forInStatement::ForInStatement_SingleBodyPosition_SameLine ... (14ms) [INFO] [stderr] should keep on the same line ok [INFO] [stderr] should move to the same line ok [INFO] [stderr] should keep on the next line when using braces ok [INFO] [stderr] test specs::statements::forInStatement::ForInStatement_All ... (19ms) [INFO] [stderr] should print ok [INFO] [stderr] should become multi-line when exceeding width ok [INFO] [stderr] should become multi-line when exceeding width twice ok [INFO] [stderr] should print a nested variable declaration with a semi-colon ok [INFO] [stderr] should print the inner header on next line when the open paren is on a different line ok [INFO] [stderr] should print empty on same line when on same line ok [INFO] [stderr] should print empty on different line when on different line ok [INFO] [stderr] should print when only has an empty statement ok [INFO] [stderr] should print when only has an empty statement on next line ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::forOfStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::forOfStatement::ForOfStatement_BracePosition_NextLine ... (2ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] should use the next line for the brace position when hanging ok [INFO] [stderr] test specs::statements::forOfStatement::ForOfStatement_BracePosition_SameLine ... (4ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] should use the same line for the brace position when hanging ok [INFO] [stderr] test specs::statements::forOfStatement::ForOfStatement_UseBraces_PreferNone ... (2ms) [INFO] [stderr] should not use braces when only one line ok [INFO] [stderr] should use braces when condition is hanging ok [INFO] [stderr] test specs::statements::forOfStatement::ForOfStatement_PreferHanging_True ... (6ms) [INFO] [stderr] should print ok [INFO] [stderr] should be hanging when multiple lines ok [INFO] [stderr] test specs::statements::forOfStatement::ForOfStatement_SingleBodyPosition_Maintain ... (7ms) [INFO] [stderr] should keep on a single line ok [INFO] [stderr] should keep on the next line ok [INFO] [stderr] test specs::statements::forOfStatement::ForOfStatement_SpaceAround_True ... (8ms) [INFO] [stderr] should format with space around the loop initializer ok [INFO] [stderr] test specs::statements::forOfStatement::ForOfStatement_SingleBodyPosition_NextLine ... (10ms) [INFO] [stderr] should move to the next line ok [INFO] [stderr] should keep on the next line ok [INFO] [stderr] test specs::statements::forOfStatement::ForOfStatement_SingleBodyPosition_SameLine ... (13ms) [INFO] [stderr] should keep on the same line ok [INFO] [stderr] should move to the same line ok [INFO] [stderr] should keep on the next line when using braces ok [INFO] [stderr] test specs::statements::forOfStatement::ForOfStatement_SpaceAfterForKeyword_False ... (14ms) [INFO] [stderr] should print ok [INFO] [stderr] test specs::statements::forOfStatement::ForOfStatement_All ... (14ms) [INFO] [stderr] should print ok [INFO] [stderr] should become multi-line when exceeding width ok [INFO] [stderr] should become multi-line when exceeding width twice ok [INFO] [stderr] should format with the await keyword ok [INFO] [stderr] should print a nested variable declaration with semi-colon ok [INFO] [stderr] should print the inner header on next line when the open paren is on a different line ok [INFO] [stderr] should print empty on same line when on same line ok [INFO] [stderr] should print empty on different line when on different line ok [INFO] [stderr] should print when only has an empty statement ok [INFO] [stderr] should print when only has an empty statement on next line ok [INFO] [stderr] test specs::statements::forOfStatement::ForOfStatement_BracePosition_Maintain ... (18ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the same line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the next line ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::forStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::forStatement::ForStatement_PreferSingleLine_True ... (2ms) [INFO] [stderr] should go back to single line when fits on one line -- remember, parentheses.preferSingleLine is false here ok [INFO] [stderr] test specs::statements::forStatement::ForStatement_BracePosition_NextLine ... (7ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] should use the next line for the brace position when hanging ok [INFO] [stderr] test specs::statements::forStatement::ForStatement_BracePosition_SameLine ... (10ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] should use the same line for the brace position when hanging ok [INFO] [stderr] test specs::statements::forStatement::ForStatement_SpaceAfterForKeyword_False ... (2ms) [INFO] [stderr] should print ok [INFO] [stderr] test specs::statements::forStatement::ForStatement_SingleBodyPosition_Maintain ... (13ms) [INFO] [stderr] should keep on a single line ok [INFO] [stderr] should keep on the next line ok [INFO] [stderr] test specs::statements::forStatement::ForStatement_SemiColons_Asi ... (15ms) [INFO] [stderr] should use semi-colons regardless ok [INFO] [stderr] test specs::statements::forStatement::ForStatement_BracePosition_Maintain ... (17ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the same line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the next line ok [INFO] [stderr] test specs::statements::forStatement::ForStatement_SingleBodyPosition_NextLine ... (19ms) [INFO] [stderr] should move to the next line ok [INFO] [stderr] should keep on the next line ok [INFO] [stderr] test specs::statements::forStatement::ForStatement_UseBraces_Always ... (2ms) [INFO] [stderr] should use braces when only one line ok [INFO] [stderr] should not bother using braces when only has a semi-colon though ok [INFO] [stderr] test specs::statements::forStatement::ForStatement_SpaceAround_True ... (2ms) [INFO] [stderr] should format with space around the loop initializers ok [INFO] [stderr] test specs::statements::forStatement::ForStatement_PreferHanging_True ... (26ms) [INFO] [stderr] should put brace on newline when on multiple lines ok [INFO] [stderr] should print the inner header on next line when the open paren is on a different line ok [INFO] [stderr] should print the inner header on next line when the open paren is on a different line and there is no init ok [INFO] [stderr] test specs::statements::forStatement::ForStatement_SpaceAfterSemiColons_False ... (7ms) [INFO] [stderr] should print without spaces ok [INFO] [stderr] should print with newlines when multi-line ok [INFO] [stderr] test specs::statements::forStatement::ForStatement_UseBraces_PreferNone ... (6ms) [INFO] [stderr] should not use braces when only one line ok [INFO] [stderr] should use braces when condition is hanging ok [INFO] [stderr] test specs::statements::forStatement::ForStatement_SingleBodyPosition_SameLine ... (28ms) [INFO] [stderr] should keep on the same line ok [INFO] [stderr] should move to the same line ok [INFO] [stderr] should keep on the next line when using braces ok [INFO] [stderr] test specs::statements::forStatement::ForStatement_All ... (69ms) [INFO] [stderr] should print ok [INFO] [stderr] should handle when going over the line width ok [INFO] [stderr] should handle multiple sequence expressions going over the line width ok [INFO] [stderr] should print when there is no init ok [INFO] [stderr] should print when the init does not have a variable declaration ok [INFO] [stderr] should print the inner header on next line when the open paren is on a different line ok [INFO] [stderr] should print the inner header on next line when the open paren is on a different line and there is no init ok [INFO] [stderr] should print empty on same line when on same line ok [INFO] [stderr] should print empty on different line when on different line ok [INFO] [stderr] should print when only has init ok [INFO] [stderr] should print when only has test ok [INFO] [stderr] should print when only has an empty statement ok [INFO] [stderr] should print when only has an empty statement on next line ok [INFO] [stderr] should support comments inside ok [INFO] [stderr] another comment scenario ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::ifStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::ifStatement::IfStatement_BracePosition_NextLine ... (3ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] should use the next line for the brace position when hanging ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_SpaceAfterIfKeyword_False ... (5ms) [INFO] [stderr] should print ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_NextControlFlowPosition_SameLine ... (7ms) [INFO] [stderr] should use the same line for the new control flow position ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_Comments ... (8ms) [INFO] [stderr] should print comments inside ok [INFO] [stderr] should move comment block to the next line ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_BracePosition_Maintain ... (13ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] should maintain the position for the brace position when mixing current and next line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the same line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the next line ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_NextControlFlowPosition_NextLine ... (13ms) [INFO] [stderr] should use the next line for the new control flow position ok [INFO] [stderr] should ensure comments before an else if and else stay on line before ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_SingleBodyPosition_Maintain ... (14ms) [INFO] [stderr] should keep on a single line ok [INFO] [stderr] should keep on the next line ok [INFO] [stderr] should go to the next line when exceeding the line width ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_PreferHanging_True ... (17ms) [INFO] [stderr] should format on the same line ok [INFO] [stderr] should hang when exceeding the width ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_NextControlFlowPosition_Maintain ... (21ms) [INFO] [stderr] should maintain the position when all on same line ok [INFO] [stderr] should maintain the position when else if on next line ok [INFO] [stderr] should maintain the position when else on next line ok [INFO] [stderr] should maintain the position when both on separate line ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_All ... (21ms) [INFO] [stderr] should format on multi-lines when the condition is on a different line from the open paren ok [INFO] [stderr] should be multi-line when exceeding the width ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_SpaceAround_True ... (19ms) [INFO] [stderr] should format with space around the condition ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_UseBraces_Always ... (5ms) [INFO] [stderr] should force the use of braces when not specified ok [INFO] [stderr] should keep the comment on the inner statement when switching from no braces to having braces ok [INFO] [stderr] should use even when single line ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_BracePosition_SameLine ... (24ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] should use the same line for the brace position when hanging ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_HeaderComment ... (27ms) [INFO] [stderr] handle a comment after the header when there exists braces and keeping braces ok [INFO] [stderr] handle a comment after the header when there exists braces and going to no braces ok [INFO] [stderr] handle a comment after the header when the brace is on the next line and going to no braces ok [INFO] [stderr] handle a comment after the header when the brace is on the next line and keeping braces ok [INFO] [stderr] move comments on new line to inside block when all are before brace ok [INFO] [stderr] handle move comment block after the header to the next line ok [INFO] [stderr] handle a comment block and line after the header ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_SingleBodyPosition_NextLine ... (29ms) [INFO] [stderr] should move when on a single line ok [INFO] [stderr] should keep on the next line when on the next line ok [INFO] [stderr] should move and add braces (since useBraces is "preferNone") when exceeding line width on statement ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_SingleBodyPosition_SameLine ... (31ms) [INFO] [stderr] should keep on a single line ok [INFO] [stderr] should force to the same line when on a different line ok [INFO] [stderr] should not put on a different line when contains braces ok [INFO] [stderr] should move to the next line when exceeding the line width ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_UseBraces_Maintain ... (11ms) [INFO] [stderr] should leave the code as is ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_UseBraces_PreferNone_Else ... (20ms) [INFO] [stderr] should not use braces when only one line and the previous was one line ok [INFO] [stderr] should not use braces when only one line for many blocks ok [INFO] [stderr] should use braces when the previous had braces ok [INFO] [stderr] should only use braces for the else if the else clause needs braces ok [INFO] [stderr] should not use braces for a middle clause if it doesn't need any ok [INFO] [stderr] should ensure the comments stay on the appropriate inner statement ok [INFO] [stderr] should use braces for last "else if" when previous is multiple lines ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_UseBraces_WhenNotSingleLine ... (24ms) [INFO] [stderr] should when not single line ok [INFO] [stderr] should not when single line ok [INFO] [stderr] should add braces when the single line body goes over the line width ok [INFO] [stderr] should leave the first line trailing comments as-is when going over the line width within the comment ok [INFO] [stderr] should maintain the comment when going over the line width on the comment space ok [INFO] [stderr] should break expression when going over the line width on the first space ok [INFO] [stderr] test specs::statements::ifStatement::IfStatement_UseBraces_PreferNone_NoElse ... (27ms) [INFO] [stderr] should not use braces when only has one line ok [INFO] [stderr] should not use braces when single line and using them would push the if statement over the width limit ok [INFO] [stderr] should use braces when the single statement becomes multiple lines ok [INFO] [stderr] should use braces when there is a comment and statement and separate lines ok [INFO] [stderr] should use braces when empty ok [INFO] [stderr] should use braces when there's only a comment ok [INFO] [stderr] should handle trailing comments ok [INFO] [stderr] should keep the comment on the inner statement when switching from no braces to having braces ok [INFO] [stderr] should not switch to using braces when there are trailing header comments ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::labeledStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::labeledStatement::LabeledStatement_All ... (14ms) [INFO] [stderr] should format when on same line ok [INFO] [stderr] should format when on next line ok [INFO] [stderr] should maintain blocks too ok [INFO] [stderr] for loop ok [INFO] [stderr] for in loop ok [INFO] [stderr] for of loop ok [INFO] [stderr] while loop ok [INFO] [stderr] do while loop ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::returnStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::returnStatement::ReturnStatement_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] should format when has no argument ok [INFO] [stderr] test specs::statements::returnStatement::ReturnStatement_SemiColons_Asi ... (1ms) [INFO] [stderr] should remove the semi-colon when has argument ok [INFO] [stderr] should remove the semi-colon when has no argument ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::sheBang [INFO] [stderr] [INFO] [stderr] test specs::statements::sheBang::SheBang_All ... (4ms) [INFO] [stderr] should print ok [INFO] [stderr] should print with a blank line separating ok [INFO] [stderr] should not allow multiple blank lines ok [INFO] [stderr] should print with a directive ok [INFO] [stderr] should print with a blank line separating the shebang ok [INFO] [stderr] should not remove comments in file with only shebang ok [INFO] [stderr] should handle comment after shebang with blank line before statement ok [INFO] [stderr] should handle comment after shebang with blank line before comment ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::switchStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::switchStatement::SwitchStatement_BracePosition_SameLine ... (3ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] should use the same line for the brace position when hanging ok [INFO] [stderr] test specs::statements::switchStatement::SwitchStatement_SpaceAround_True ... (1ms) [INFO] [stderr] should format with space around the switch param ok [INFO] [stderr] test specs::statements::switchStatement::SwitchStatement_PreferHanging_True ... (3ms) [INFO] [stderr] should print ok [INFO] [stderr] should hang when exceeding the line width ok [INFO] [stderr] should move the discriminant to a new line if the paren is on a different line ok [INFO] [stderr] test specs::statements::switchStatement::SwitchStatement_BracePosition_NextLine ... (8ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] should use the next line for the brace position when hanging ok [INFO] [stderr] test specs::statements::switchStatement::SwitchStatement_All ... (12ms) [INFO] [stderr] should print ok [INFO] [stderr] should go multi-line when exceeding line width once ok [INFO] [stderr] should handle exceeding line width twice ok [INFO] [stderr] should handle exceeding line width twice with a binary expression ok [INFO] [stderr] should move the discriminant to a new line if the paren is on a different line ok [INFO] [stderr] test specs::statements::switchStatement::SwitchStatement_BracePosition_Maintain ... (13ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the same line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the next line ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::switchStatement::switchCase [INFO] [stderr] [INFO] [stderr] test specs::statements::switchStatement::switchCase::SwitchCase_BracePosition_SameLine ... (1ms) [INFO] [stderr] should put the brace on the same line ok [INFO] [stderr] test specs::statements::switchStatement::switchCase::SwitchCase_BracePosition_NextLine ... (1ms) [INFO] [stderr] should put the brace on the next line ok [INFO] [stderr] test specs::statements::switchStatement::switchCase::SwitchCase_BracePosition_Maintain ... (3ms) [INFO] [stderr] should maintain the brace position ok [INFO] [stderr] test specs::statements::switchStatement::switchCase::SwitchCase_All ... (28ms) [INFO] [stderr] should print ok [INFO] [stderr] should keep the comments at the same level as the case's body if the last comment is on that level ok [INFO] [stderr] should preserve blank lines between switch cases except when the previous case has no body (issue #76) ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::throwStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::throwStatement::ThrowStatement_SemiColons_Asi ... (1ms) [INFO] [stderr] should remove the semi-colon ok [INFO] [stderr] test specs::statements::throwStatement::ThrowStatement_All ... (3ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::tryStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::tryStatement::TryStatement_NextControlFlowPosition_NextLine ... (1ms) [INFO] [stderr] should use the next line for the new control flow position ok [INFO] [stderr] test specs::statements::tryStatement::TryStatement_BracePosition_SameLine ... (2ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] test specs::statements::tryStatement::TryStatement_BracePosition_Maintain ... (2ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on the next line ok [INFO] [stderr] test specs::statements::tryStatement::TryStatement_NextControlFlowPosition_SameLine ... (3ms) [INFO] [stderr] should use the same line for the new control flow position ok [INFO] [stderr] test specs::statements::tryStatement::TryStatement_BracePosition_NextLine ... (5ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] test specs::statements::tryStatement::TryStatement_All ... (5ms) [INFO] [stderr] should output with catch clause ok [INFO] [stderr] should output with finally ok [INFO] [stderr] should output with try and finally ok [INFO] [stderr] should format with an empty catch (issue #77) ok [INFO] [stderr] should expand to try block being on one line when all are on one line ok [INFO] [stderr] should expand to try block being on one line when all are on one line ok [INFO] [stderr] test specs::statements::tryStatement::TryStatement_NextControlFlowPosition_Maintain ... (8ms) [INFO] [stderr] should maintain the position when all on same line ok [INFO] [stderr] should maintain the position when catch on next line ok [INFO] [stderr] should maintain the position when finally on next line ok [INFO] [stderr] should maintain the position when both on separate line ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::variableStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::variableStatement::VariableStatement_SemiColons_Asi ... (10ms) [INFO] [stderr] should format without a semi-colon ok [INFO] [stderr] test specs::statements::variableStatement::VariableStatement_PreferHanging_True ... (13ms) [INFO] [stderr] should format hanging ok [INFO] [stderr] should format multi-line when the first and second are on different lines ok [INFO] [stderr] should not wrap within a variable declaration ok [INFO] [stderr] test specs::statements::variableStatement::VariableStatement_PreferSingleLine_True ... (13ms) [INFO] [stderr] should format on one line when below the width ok [INFO] [stderr] should format multi-line when one has a comment even below the limit ok [INFO] [stderr] should be multi-line when exceeding the width ok [INFO] [stderr] test specs::statements::variableStatement::VariableStatement_All ... (19ms) [INFO] [stderr] should format ok [INFO] [stderr] should not wrap within a variable declaration ok [INFO] [stderr] should handle declarations that span multiple lines ok [INFO] [stderr] should handle multiple declarations that span multiple lines with an object ok [INFO] [stderr] should handle multiple declarations that span multiple lines with comments in between ok [INFO] [stderr] should handle multiple declarations that span multiple lines with object destructuring ok [INFO] [stderr] [INFO] [stderr] Running specs::statements::whileStatement [INFO] [stderr] [INFO] [stderr] test specs::statements::whileStatement::WhileStatement_SpaceAround_True ... (1ms) [INFO] [stderr] should format with space around the condition ok [INFO] [stderr] test specs::statements::whileStatement::WhileStatement_PreferHanging_True ... (3ms) [INFO] [stderr] should print ok [INFO] [stderr] should put brace on newline when on multiple lines ok [INFO] [stderr] should use multiple lines if open paren is on a different line than condition ok [INFO] [stderr] test specs::statements::whileStatement::WhileStatement_SingleBodyPosition_NextLine ... (5ms) [INFO] [stderr] should move to the next line ok [INFO] [stderr] should keep on the next line ok [INFO] [stderr] test specs::statements::whileStatement::WhileStatement_BracePosition_Maintain ... (7ms) [INFO] [stderr] should maintain the position for the brace position when on same line ok [INFO] [stderr] should maintain the position for the brace position when on a new line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the same line ok [INFO] [stderr] should maintain the position for the brace position when hanging and on the next line ok [INFO] [stderr] test specs::statements::whileStatement::WhileStatement_UseBraces_PreferNone ... (2ms) [INFO] [stderr] should not use braces when only one line ok [INFO] [stderr] should use braces when condition is multiple lines ok [INFO] [stderr] test specs::statements::whileStatement::WhileStatement_SingleBodyPosition_SameLine ... (9ms) [INFO] [stderr] should keep on a single line ok [INFO] [stderr] should move to the same line ok [INFO] [stderr] should keep on the next line when has braces ok [INFO] [stderr] test specs::statements::whileStatement::WhileStatement_BracePosition_SameLine ... (11ms) [INFO] [stderr] should use the same line for the brace position ok [INFO] [stderr] should use the same line for the brace position when hanging ok [INFO] [stderr] test specs::statements::whileStatement::WhileStatement_BracePosition_NextLine ... (11ms) [INFO] [stderr] should use the next line for the brace position ok [INFO] [stderr] should use the next line for the brace position when hanging ok [INFO] [stderr] test specs::statements::whileStatement::WhileStatement_SpaceAfterWhileKeyword_False ... (11ms) [INFO] [stderr] should print ok [INFO] [stderr] test specs::statements::whileStatement::WhileStatement_SingleBodyPosition_Maintain ... (12ms) [INFO] [stderr] should keep on a single line ok [INFO] [stderr] should keep on the next line ok [INFO] [stderr] test specs::statements::whileStatement::WhileStatement_All ... (23ms) [INFO] [stderr] should print ok [INFO] [stderr] should print multi-line ok [INFO] [stderr] should print multi-line when exceeding width twice ok [INFO] [stderr] should use multiple lines if open paren is on a different line than condition ok [INFO] [stderr] should print empty while statement on same line when on same line ok [INFO] [stderr] should print empty while statement on different line when close brace on different line ok [INFO] [stderr] should handle empty with comments ok [INFO] [stderr] should handle block comment on first line with statement ok [INFO] [stderr] should print when only has an empty statement ok [INFO] [stderr] should print when only has an empty statement on next line ok [INFO] [stderr] should support comments in header ok [INFO] [stderr] should move trailing header comment to next line ok [INFO] [stderr] [INFO] [stderr] Running specs::types::ArrayType [INFO] [stderr] [INFO] [stderr] test specs::types::ArrayType::ArrayType_All ... (2ms) [INFO] [stderr] should format ok [INFO] [stderr] should prefer to keep it together ok [INFO] [stderr] [INFO] [stderr] Running specs::types::ConditionalType [INFO] [stderr] [INFO] [stderr] test specs::types::ConditionalType::ConditionalType_OperatorPosition_Maintain ... (3ms) [INFO] [stderr] should maintain the operator position ok [INFO] [stderr] test specs::types::ConditionalType::ConditionalType_OperatorPosition_NextLine ... (5ms) [INFO] [stderr] should maintain the operator position ok [INFO] [stderr] test specs::types::ConditionalType::ConditionalType_PreferSingleLine_True ... (10ms) [INFO] [stderr] should collapse to one line when able ok [INFO] [stderr] should format all as "multi-line" when going past line width ok [INFO] [stderr] test specs::types::ConditionalType::ConditionalType_OperatorPosition_SameLine ... (11ms) [INFO] [stderr] should maintain the operator position ok [INFO] [stderr] test specs::types::ConditionalType::ConditionalType_All ... (26ms) [INFO] [stderr] should format ok [INFO] [stderr] should format when using newlines ok [INFO] [stderr] should format an individual condition that goes over the limit ok [INFO] [stderr] should not line break before the extends keyword ok [INFO] [stderr] should format all as "multi-line" when going past line width ok [INFO] [stderr] should have object type indented in true type ok [INFO] [stderr] should support explanatory line comments ok [INFO] [stderr] should handle comments ok [INFO] [stderr] [INFO] [stderr] Running specs::types::ConstructorType [INFO] [stderr] [INFO] [stderr] test specs::types::ConstructorType::ConstructorType_SpaceAfterNewKeyword_True ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::types::ConstructorType::ConstructorType_PreferHanging_True ... (8ms) [INFO] [stderr] should format the params as multi-line when the return type exceeds the line width ok [INFO] [stderr] should format the return type on the same line when the rest of the header is hanging ok [INFO] [stderr] should format the params as hanging when it exceeds the line width ok [INFO] [stderr] should format the return type on multi-lines when it exceeds the line width ok [INFO] [stderr] test specs::types::ConstructorType::ConstructorType_All ... (8ms) [INFO] [stderr] should format ok [INFO] [stderr] should force multi-line parameters when exceeding the line width ok [INFO] [stderr] should not be multi-line when not exceeding the line width ok [INFO] [stderr] [INFO] [stderr] Running specs::types::FunctionType [INFO] [stderr] [INFO] [stderr] test specs::types::FunctionType::FunctionType_All ... (10ms) [INFO] [stderr] should format ok [INFO] [stderr] should force multi-line parameters when exceeding the line width ok [INFO] [stderr] should not be multi-line when not exceeding the line width ok [INFO] [stderr] test specs::types::FunctionType::FunctionType_PreferHanging_True ... (11ms) [INFO] [stderr] should format the params as multi-line when the return type exceeds the line width ok [INFO] [stderr] should format the return type on the same line when the rest of the header is hanging ok [INFO] [stderr] should format the return type on a new line when it's hanging and the rest of the header is hanging ok [INFO] [stderr] should make the single param multi-line when the return type extends beyond the line width ok [INFO] [stderr] [INFO] [stderr] Running specs::types::ImportType [INFO] [stderr] [INFO] [stderr] test specs::types::ImportType::ImportType_All ... (8ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::types::IndexedAccessType [INFO] [stderr] [INFO] [stderr] test specs::types::IndexedAccessType::IndexedAccessType_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::types::InferType [INFO] [stderr] [INFO] [stderr] test specs::types::InferType::InferType_All ... (2ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::types::IntersectionType [INFO] [stderr] [INFO] [stderr] test specs::types::IntersectionType::IntersectionType_PreferSingleLine_True ... (9ms) [INFO] [stderr] should format ok [INFO] [stderr] should be single line when hanging ok [INFO] [stderr] should revert back to single line when below the line width ok [INFO] [stderr] test specs::types::IntersectionType::IntersectionType_PreferHanging_True ... (10ms) [INFO] [stderr] should format ok [INFO] [stderr] should use hanging indentation when a type goes on multiple lines ok [INFO] [stderr] should change back to being a single line when too short ok [INFO] [stderr] should change to be on multiple lines when the first and second are on different lines ok [INFO] [stderr] should format with comments after the separator ok [INFO] [stderr] test specs::types::IntersectionType::IntersectionType_All ... (23ms) [INFO] [stderr] should format ok [INFO] [stderr] should use multi-lines by default when a type exceeds line width ok [INFO] [stderr] should change back to being a single line when too short ok [INFO] [stderr] should change to be on multiple lines when the first and second are on different lines ok [INFO] [stderr] should format with comments after the separator ok [INFO] [stderr] should allow the last node to be on a single line ok [INFO] [stderr] should not allow the last node to be a single line when the second last one isn't ok [INFO] [stderr] should not have a leading amersand if multi-line within a union type ok [INFO] [stderr] [INFO] [stderr] Running specs::types::LitType [INFO] [stderr] [INFO] [stderr] test specs::types::LitType::LitType_All ... (2ms) [INFO] [stderr] should format a number lit type ok [INFO] [stderr] should format bigint literal type ok [INFO] [stderr] [INFO] [stderr] Running specs::types::MappedType [INFO] [stderr] [INFO] [stderr] test specs::types::MappedType::MappedType_SemiColons_Asi ... (5ms) [INFO] [stderr] should format without a semi colon when configured to ok [INFO] [stderr] test specs::types::MappedType::MappedType_PreferSingleLine_True ... (10ms) [INFO] [stderr] should format on single line when it can fit ok [INFO] [stderr] should format with newlines when the length goes over the line width ok [INFO] [stderr] test specs::types::MappedType::MappedType_SemiColons_Always ... (14ms) [INFO] [stderr] should format with a semi-colon when single line ok [INFO] [stderr] should format with a semi-colon when multi-line ok [INFO] [stderr] test specs::types::MappedType::MappedType_All ... (26ms) [INFO] [stderr] should format ok [INFO] [stderr] should format with newlines when the brace is on a different line ok [INFO] [stderr] should format with newlines when the length goes over the line width ok [INFO] [stderr] should format a mapped type with a long type annotation hanging ok [INFO] [stderr] should format mapped type with name type ok [INFO] [stderr] should support comments at different points ok [INFO] [stderr] should put a comment after the semi-colon when adding one ok [INFO] [stderr] [INFO] [stderr] Running specs::types::OptionalType [INFO] [stderr] [INFO] [stderr] test specs::types::OptionalType::OptionalType_All ... (4ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::types::ParenthesizedType [INFO] [stderr] [INFO] [stderr] test specs::types::ParenthesizedType::ParenthesizedType_All ... (13ms) [INFO] [stderr] should format ok [INFO] [stderr] should format on multiple lines ok [INFO] [stderr] should use indent if on a line with hanging indentation ok [INFO] [stderr] should allow trailing comment on open paren ok [INFO] [stderr] should keep comment on next line when on next line ok [INFO] [stderr] should remove when not necessary ok [INFO] [stderr] should remove even when block comment inside parenthesized type on same line ok [INFO] [stderr] should remove for comment block comment inside parenthesized type on same line ok [INFO] [stderr] [INFO] [stderr] Running specs::types::QualifiedName [INFO] [stderr] [INFO] [stderr] test specs::types::QualifiedName::QualifiedName_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::types::RestType [INFO] [stderr] [INFO] [stderr] test specs::types::RestType::RestType_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::types::ThisType [INFO] [stderr] [INFO] [stderr] test specs::types::ThisType::ThisType_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::types::TplLitType [INFO] [stderr] [INFO] [stderr] test specs::types::TplLitType::TplLitType_All ... (5ms) [INFO] [stderr] should format a template literal type ok [INFO] [stderr] [INFO] [stderr] Running specs::types::TupleType [INFO] [stderr] [INFO] [stderr] test specs::types::TupleType::TupleType_PreferHanging_Always ... (5ms) [INFO] [stderr] should format ok [INFO] [stderr] should split on multiple lines when first is on different line ok [INFO] [stderr] should hang when exceeding line width ok [INFO] [stderr] should not split up a tuple type midway through ok [INFO] [stderr] test specs::types::TupleType::TupleType_TrailingCommas_Always ... (2ms) [INFO] [stderr] should format with trailing commas when multiline ok [INFO] [stderr] should format with trailing commas when single line ok [INFO] [stderr] test specs::types::TupleType::TupleType_SpaceAround_True ... (7ms) [INFO] [stderr] should format with space around elements ok [INFO] [stderr] test specs::types::TupleType::TupleType_PreferSingleLine_True ... (7ms) [INFO] [stderr] should format on a single line when below the line width ok [INFO] [stderr] should do multiple lines if one ends with a line comment even if it could fit on one line ok [INFO] [stderr] should not be multi line if the objects are allowed to be inline multi-line ok [INFO] [stderr] test specs::types::TupleType::TupleType_TrailingCommas_OnlyMultiLine ... (5ms) [INFO] [stderr] should format with trailing commas when multiline ok [INFO] [stderr] should not format with trailing commas when single line ok [INFO] [stderr] test specs::types::TupleType::TupleType_TrailingCommas_Never ... (7ms) [INFO] [stderr] should not format with trailing commas when multiline ok [INFO] [stderr] should not format with trailing commas when single line ok [INFO] [stderr] test specs::types::TupleType::TupleType_All ... (15ms) [INFO] [stderr] should format ok [INFO] [stderr] should split on multiple lines when first is on different line ok [INFO] [stderr] should go multi-line when exceeding line width ok [INFO] [stderr] should not split up a tuple type midway through ok [INFO] [stderr] should not be on separate line within a type argument when multi-line ok [INFO] [stderr] should support rest elements in tuples ok [INFO] [stderr] [INFO] [stderr] Running specs::types::TupleTypeElement [INFO] [stderr] [INFO] [stderr] test specs::types::TupleTypeElement::TupleTypeElement_All ... (2ms) [INFO] [stderr] should format ok [INFO] [stderr] should support optional and rest elements ok [INFO] [stderr] [INFO] [stderr] Running specs::types::TypeAnnotation [INFO] [stderr] [INFO] [stderr] test specs::types::TypeAnnotation::TypeAnnotation_All ... (4ms) [INFO] [stderr] should parse a type annotation ok [INFO] [stderr] should handle comment on line before ok [INFO] [stderr] should handle comment on line after ok [INFO] [stderr] should remove needless paren type ok [INFO] [stderr] [INFO] [stderr] Running specs::types::TypeLiteral [INFO] [stderr] [INFO] [stderr] test specs::types::TypeLiteral::TypeLiteral_SemiColons_Always ... (3ms) [INFO] [stderr] should have when a single line ok [INFO] [stderr] should have when multi-line ok [INFO] [stderr] test specs::types::TypeLiteral::TypeLiteral_PreferSingleLine_True ... (4ms) [INFO] [stderr] should maintain blank lines when above line width ok [INFO] [stderr] should collapse to a single line when below the line width ok [INFO] [stderr] should force using multiple lines when there's a comment ok [INFO] [stderr] test specs::types::TypeLiteral::TypeLiteral_SeparatorKind_Comma ... (5ms) [INFO] [stderr] should use commas when single line ok [INFO] [stderr] should use commas when multi-line ok [INFO] [stderr] test specs::types::TypeLiteral::TypeLiteral_SpaceSurroundingProperties_False ... (8ms) [INFO] [stderr] should format ok [INFO] [stderr] test specs::types::TypeLiteral::TypeLiteral_All ... (8ms) [INFO] [stderr] should format when empty ok [INFO] [stderr] should format when a single line and not include a semi-colon on the last element ok [INFO] [stderr] should format when multi-line ok [INFO] [stderr] should make multiple lines go multi-line ok [INFO] [stderr] should respect blank lines in certain places ok [INFO] [stderr] should not be on separate line within a type argument when multi-line ok [INFO] [stderr] test specs::types::TypeLiteral::TypeLiteral_SeparatorKind_SemiColonSingle_CommaMulti ... (9ms) [INFO] [stderr] should use commas when single line ok [INFO] [stderr] should use semi-colons when multi-line ok [INFO] [stderr] should use commas going from single line to multi ok [INFO] [stderr] should handle comments after semi-colons ok [INFO] [stderr] test specs::types::TypeLiteral::TypeLiteral_SemiColons_Asi ... (14ms) [INFO] [stderr] should have when a single line except on the last element ok [INFO] [stderr] should not have when multi-line ok [INFO] [stderr] should be able to parse without semi-colon ok [INFO] [stderr] test specs::types::TypeLiteral::TypeLiteral_PreferHanging_True ... (20ms) [INFO] [stderr] should format when a single line ok [INFO] [stderr] should format when multi-line ok [INFO] [stderr] should make multiple lines wrap ok [INFO] [stderr] should respect multi-line ok [INFO] [stderr] test specs::types::TypeLiteral::TypeLiteral_SeparatorKind_CommaSingle_SemiColonMulti ... (20ms) [INFO] [stderr] should use commas when single line ok [INFO] [stderr] should use semi-colons when multi-line ok [INFO] [stderr] should use semi-colons going from single line to multi ok [INFO] [stderr] should handle comments after commas ok [INFO] [stderr] [INFO] [stderr] Running specs::types::TypeOperator [INFO] [stderr] [INFO] [stderr] test specs::types::TypeOperator::TypeOperator_All ... (1ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::types::TypeParameter [INFO] [stderr] [INFO] [stderr] test specs::types::TypeParameter::TypeParameter_PreferSingleLine_True ... (1ms) [INFO] [stderr] should go back to single line when able ok [INFO] [stderr] test specs::types::TypeParameter::TypeParameter_PreferHanging_Always ... (5ms) [INFO] [stderr] should not break up the middle of a type parameter ok [INFO] [stderr] should not break up within ok [INFO] [stderr] test specs::types::TypeParameter::TypeParameter_All ... (7ms) [INFO] [stderr] should put type parameters on multiple lines when they extend beyond the line width ok [INFO] [stderr] should break up for an initializer ok [INFO] [stderr] should break up for an extends ok [INFO] [stderr] should support in and out ok [INFO] [stderr] [INFO] [stderr] Running specs::types::TypePredicate [INFO] [stderr] [INFO] [stderr] test specs::types::TypePredicate::TypePredicate_All ... (8ms) [INFO] [stderr] should format ok [INFO] [stderr] should format with asserts modifier ok [INFO] [stderr] should format with asserts and no "is" ok [INFO] [stderr] should format a "this" type predicate on a class declaration ok [INFO] [stderr] should not have a trailing space after the "is" ok [INFO] [stderr] [INFO] [stderr] Running specs::types::TypeQuery [INFO] [stderr] [INFO] [stderr] test specs::types::TypeQuery::TypeQuery_All ... (4ms) [INFO] [stderr] should format ok [INFO] [stderr] [INFO] [stderr] Running specs::types::TypeReference [INFO] [stderr] [INFO] [stderr] test specs::types::TypeReference::TypeReference_All ... (2ms) [INFO] [stderr] should format ok [INFO] [stderr] should format with type parameters ok [INFO] [stderr] [INFO] [stderr] Running specs::types::UnionType [INFO] [stderr] [INFO] [stderr] test specs::types::UnionType::UnionType_PreferSingleLine_True ... (5ms) [INFO] [stderr] should format ok [INFO] [stderr] should be single line when hanging ok [INFO] [stderr] should revert back to single line when below the line width ok [INFO] [stderr] test specs::types::UnionType::UnionType_PreferHanging_True ... (12ms) [INFO] [stderr] should format ok [INFO] [stderr] should use hanging indentation by default when a type goes on multiple lines ok [INFO] [stderr] should change to being a single line when too short ok [INFO] [stderr] should change to be on multiple lines when the first and second are on different lines ok [INFO] [stderr] should parse union has hanging in assertion ok [INFO] [stderr] test specs::types::UnionType::UnionType_All ... (27ms) [INFO] [stderr] should format ok [INFO] [stderr] should go multi-line by default when a type exceeds line width ok [INFO] [stderr] should change to being a single line when too short ok [INFO] [stderr] should change to be on multiple lines when the first and second are on different lines ok [INFO] [stderr] should handle the separator being on the next line ok [INFO] [stderr] should handle comments around separators ok [INFO] [stderr] should handle block comment on current line ok [INFO] [stderr] should handle block comment on next line ok [INFO] [stderr] should handle block comment on next line when multi-line ok [INFO] [stderr] should handle a block comment on the same line when going multi-line ok [INFO] [stderr] should keep block comment at top of union ok [INFO] [stderr] should handle union in type parameters ok [INFO] [stderr] should keep on a single line when the type has an object type last that spans multiple lines ok [INFO] [stderr] should keep non-multi-line when all the union types are object types ok [INFO] [stderr] should allow the last node to be on a single line ok [INFO] [stderr] should not allow the last node to be a single line when the second last one isn't ok [INFO] [stderr] [INFO] [stderr] 643 tests passed [INFO] [stderr] [INFO] [stderr] Doc-tests dprint_plugin_typescript [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/configuration/builder.rs - configuration::builder::ConfigurationBuilder (line 9) ... ok [INFO] [stdout] test src/configuration/resolve_config.rs - configuration::resolve_config::resolve_config (line 9) ... ok [INFO] [stdout] test src/format_text.rs - format_text::format_text (line 21) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.91s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cd7a256982a57020429ae7ecb794e7d656b115c9cd35fc212c421812f21a94b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd7a256982a57020429ae7ecb794e7d656b115c9cd35fc212c421812f21a94b7", kill_on_drop: false }` [INFO] [stdout] cd7a256982a57020429ae7ecb794e7d656b115c9cd35fc212c421812f21a94b7