test(oxfmt): Add xxx-in-js-conformance#19739
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
6e26e8c to
ee13d14
Compare
There was a problem hiding this comment.
Pull request overview
This PR migrates the GraphQL-in-JS conformance testing from a standalone script (cmp.js) to a proper vitest test case (xxx-in-js-conformance.test.ts). This aligns the GraphQL-in-JS conformance testing with the existing test infrastructure used for other embedded language conformance tests.
Changes:
- Removed standalone
cmp.jsscript that manually compared oxfmt and Prettier outputs - Added
xxx-in-js-conformance.test.tsas a vitest test suite for GraphQL-in-JS conformance - Migrated from old fixture path to standardized
prettier-fixturesdirectory structure
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| apps/oxfmt/test/api/xxx-in-js-conformance.test.ts | New vitest test suite for GraphQL-in-JS conformance testing using the standardized test infrastructure |
| apps/oxfmt/cmp.js | Removed standalone comparison script in favor of integrated test suite |
Merge activity
|
Convert `cmp.js` to vitest test case.
d03d877 to
14a0181
Compare
ee13d14 to
72ce141
Compare

Convert
cmp.jsto vitest test case.