def METHOD_NAME(rule_runner: RuleRunner) -> None:
    rule_runner.write_files(
        {
            "good.js": DEFAULT_FORMATTED_FILE,
            "bad.js": UNFORMATTED_FILE,
            "BUILD": "javascript_sources(name='t')",
        }
    )
    tgts = [
        rule_runner.get_target(Address("", target_name="t", relative_file_path="good.js")),
        rule_runner.get_target(Address("", target_name="t", relative_file_path="bad.js")),
    ]
    fmt_result = run_prettier(rule_runner, tgts)
    assert fmt_result.output == rule_runner.make_snapshot(
        {"good.js": DEFAULT_FORMATTED_FILE, "bad.js": DEFAULT_FORMATTED_FILE}
    )
    assert fmt_result.did_change is True