Files
test-repo/changelog_unreleased/javascript/20043.md
T
2026-09-13 04:24:41 +08:00

368 B

Preserve comment order in test calls (#20043 by @lllleolin-max)

// Input
test("x", () => {
  run();
}, // first
// second
// third
60000);

// Prettier stable
test("x", () => {
  run();
}, // second // first
// third
60000);

// Prettier main
test(
  "x",
  () => {
    run();
  }, // first
  // second
  // third
  60000,
);