Alex Rattray
28d097bbf5
Add test cases for questioning ternaries ( #13952 )
...
## Description
Extracts test cases that I added for https://github.com/prettier/prettier/pull/13183 to make it easier to visualize the changes that PR makes, as @vjeux [requested](https://github.com/prettier/prettier/pull/13183#discussion_r990820889 ).
## Checklist
<!-- Please ensure you’ve done all of these things (if applicable). -->
<!-- You can replace the `[ ]` with `[x]` to mark each task as done. -->
- [x] I’ve added tests to confirm my change works.
- [x] I’ve read the [contributing guidelines](https://github.com/prettier/prettier/blob/main/CONTRIBUTING.md ).
<!-- Please DO NOT remove the playground link -->
**✨ [Try the playground for this PR](https://prettier.io/playground-redirect )✨ **
2022-12-07 15:46:40 -05:00