Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

refactor(experimental): set up GraphQL transaction tests #1823

Conversation

buffalojoec
Copy link
Contributor

This PR introduces valid transaction tests for GraphQL. It allows us to test the
transaction schema as well as the various instruction types against mocked
payloads.

Note: I fetched some recent transactions that contained each labeled program and
pasted the JSON response in the __setup__.ts file to use with Jest mocks.

@mergify mergify bot added the community label Nov 10, 2023
@mergify mergify bot requested a review from a team November 10, 2023 13:33
@buffalojoec buffalojoec force-pushed the 11-09-refactor_experimental_use_GraphQL_lang_for_schema branch from b1e7630 to 970a3e3 Compare November 11, 2023 12:44
@buffalojoec buffalojoec force-pushed the 11-10-refactor_experimental_set_up_GraphQL_transaction_tests branch from e3726d5 to 5db8624 Compare November 11, 2023 12:44
@buffalojoec buffalojoec marked this pull request as ready for review November 11, 2023 12:52
@buffalojoec buffalojoec force-pushed the 11-09-refactor_experimental_use_GraphQL_lang_for_schema branch from 970a3e3 to 38b2d60 Compare November 11, 2023 14:02
@buffalojoec buffalojoec force-pushed the 11-10-refactor_experimental_set_up_GraphQL_transaction_tests branch from 5db8624 to 1ea7f4c Compare November 11, 2023 14:02
@buffalojoec buffalojoec force-pushed the 11-09-refactor_experimental_use_GraphQL_lang_for_schema branch from 38b2d60 to 5850a85 Compare November 11, 2023 20:23
@buffalojoec buffalojoec force-pushed the 11-10-refactor_experimental_set_up_GraphQL_transaction_tests branch from 1ea7f4c to 251626a Compare November 11, 2023 20:23
Copy link
Contributor Author

buffalojoec commented Nov 11, 2023

Merge activity

  • Nov 11, 3:24 PM: @buffalojoec started a stack merge that includes this pull request via Graphite.
  • Nov 11, 3:25 PM: Graphite rebased this pull request as part of a merge.
  • Nov 11, 3:26 PM: @buffalojoec merged this pull request with Graphite.

@buffalojoec buffalojoec force-pushed the 11-09-refactor_experimental_use_GraphQL_lang_for_schema branch from 5850a85 to d10371e Compare November 11, 2023 20:25
Base automatically changed from 11-09-refactor_experimental_use_GraphQL_lang_for_schema to master November 11, 2023 20:25
@buffalojoec buffalojoec force-pushed the 11-10-refactor_experimental_set_up_GraphQL_transaction_tests branch from 251626a to c1e539b Compare November 11, 2023 20:25
@buffalojoec buffalojoec merged commit b153bb7 into master Nov 11, 2023
@buffalojoec buffalojoec deleted the 11-10-refactor_experimental_set_up_GraphQL_transaction_tests branch November 11, 2023 20:26
Copy link
Contributor

Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant