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