Commit Graph
8 Commits
Author SHA1 Message Date
fisker Cheung 5017d66ea7 Test: Update printWidth indicator (#10293) 2026-01-31 03:45:41 +08:00
renovate[bot]andfisker a6bbdad8ca chore(deps): update dependency jest to v30.1.1 (#17819)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-08-30 15:36:22 +08:00
Klaus Hott Vidalandfisker 16449ce914 renaming jsfmt.spec.js to format.test.js (#16244)
Co-authored-by: fisker <lionkay@gmail.com>
2024-05-06 10:25:10 +08:00
fisker Cheung 6eda34db44 Test: Rename run_spec to runFormatTest (#15943) 2024-01-19 17:20:24 +08:00
Sosuke Suzuki fa48415617 Bump Prettier dependency to 3.0.0 2023-07-05 21:50:05 +09:00
fisker CheungandSosuke Suzuki 6bd81c23b6 Migrate format test to ES Module (#11902)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-01-04 17:00:25 +08:00
Titusandsosukesuzuki cca8469388 Add support for MDX 2 comments (#11563)
* Add support for MDX 2 comments

This adds support for MDX 2 comments (which are the same as other
comments inside JSX) in addition to MDX 1 comments (HTML-like
constructs).

Related to GH-10706.
Related to wooorm/xdm#61.

* Fix blank line before comment

* Add `esComment` to `printer-markdown`

* Add embedded test

* Remove embedded formatter

* Add support for es-comments as blocks & test prettier-ignore comments

* Add a test for mdx pragma

* Remove duplicate fixture

* Add changelog

* Add note clarifying support

Co-authored-by: sosukesuzuki <aosukeke@gmail.com>
2021-11-17 16:49:19 +09:00
fisker Cheung ece93681f1 Restructure test files (#10415) 2021-04-25 20:01:56 +08:00