Files
test-repo/changelog_unreleased/javascript/20043.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
368 B
Markdown
Raw Normal View History

#### Preserve comment order in test calls (#20043 by @lllleolin-max)
<!-- prettier-ignore -->
```jsx
// 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,
);
```