Skip to content

test(oxfmt): Add xxx-in-js-conformance#19739

Merged
graphite-app[bot] merged 1 commit intomainfrom
02-26-test_oxfmt_add_xxx-in-js-conformance
Feb 26, 2026
Merged

test(oxfmt): Add xxx-in-js-conformance#19739
graphite-app[bot] merged 1 commit intomainfrom
02-26-test_oxfmt_add_xxx-in-js-conformance

Conversation

@leaysgur
Copy link
Member

@leaysgur leaysgur commented Feb 26, 2026

Convert cmp.js to vitest test case.

@github-actions github-actions bot added A-cli Area - CLI A-formatter Area - Formatter labels Feb 26, 2026
@github-actions github-actions bot added the C-test Category - Testing. Code is missing test cases, or a PR is adding them label Feb 26, 2026
Copy link
Member Author

leaysgur commented Feb 26, 2026


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.js script that manually compared oxfmt and Prettier outputs
  • Added xxx-in-js-conformance.test.ts as a vitest test suite for GraphQL-in-JS conformance
  • Migrated from old fixture path to standardized prettier-fixtures directory 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

@graphite-app graphite-app bot added the 0-merge Merge with Graphite Merge Queue label Feb 26, 2026
@graphite-app
Copy link
Contributor

graphite-app bot commented Feb 26, 2026

Merge activity

Convert `cmp.js` to vitest test case.
@graphite-app graphite-app bot force-pushed the 02-25-feat_oxfmt_support_graphql_._for_gql-in-js branch from d03d877 to 14a0181 Compare February 26, 2026 15:24
@graphite-app graphite-app bot force-pushed the 02-26-test_oxfmt_add_xxx-in-js-conformance branch from ee13d14 to 72ce141 Compare February 26, 2026 15:25
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Feb 26, 2026
Base automatically changed from 02-25-feat_oxfmt_support_graphql_._for_gql-in-js to main February 26, 2026 15:31
@graphite-app graphite-app bot merged commit 72ce141 into main Feb 26, 2026
20 checks passed
@graphite-app graphite-app bot deleted the 02-26-test_oxfmt_add_xxx-in-js-conformance branch February 26, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI A-formatter Area - Formatter C-test Category - Testing. Code is missing test cases, or a PR is adding them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants