(doc, options)
| 2 | const { group, ifBreak } = prettier.doc.builders; |
| 3 | const { printDocToString } = prettier.doc.printer; |
| 4 | const docToString = (doc, options) => |
| 5 | printDocToString(doc, { tabSize: 2, ...options }).formatted; |
| 6 | |
| 7 | // Extra group should not effect `ifBreak` inside |
| 8 | test("`ifBreak` inside `group`", () => { |
no test coverage detected
searching dependent graphs…