Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new Cargo fetch tests and remove old mocked pseudo-test #1776

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

timothyfroehlich
Copy link
Member

@timothyfroehlich timothyfroehlich commented Nov 7, 2024

Tree of downstream PRs as of 2024-11-12

This adds a new Cargo fetch test to check that a doc can be fetched and serialized. Because we don't want GitHub to be trying to fetch files, it's locked behind a new feature, "test_fetches".

This also removes the figma_v1_mock file and feature. This was a pseudo test that wasn't being executed by anything. It worked by using a feature flag to mock the http fetch, which meant that if the feature flag was included that no http queries would work, including the new fetch test.

Copy link

github-actions bot commented Nov 7, 2024

Snapshot diff report vs base branch: main
Last updated: Wed Nov 13 15:18:07 PST 2024, Sha: f2c22b8
No differences detected

@timothyfroehlich timothyfroehlich marked this pull request as ready for review November 7, 2024 19:08
@timothyfroehlich timothyfroehlich force-pushed the wb/froeht/new-fetch-test branch 2 times, most recently from 6593cc1 to fb26053 Compare November 12, 2024 17:36
@timothyfroehlich timothyfroehlich force-pushed the wb/froeht/new-fetch-test branch 3 times, most recently from 68c6baf to 0576fcb Compare November 13, 2024 20:54
This adds a new Cargo fetch test to check that a doc can be fetched and serialized. Because we don't want GitHub to be trying to fetch files, it's locked behind a new feature, "test_fetches".

This also removes the figma_v1_mock file and feature. This was a pseudo test that wasn't being executed by anything. It worked by using a feature flag to mock the http fetch, which meant that if the feature flag was included that no http queries would work, including the new fetch test.
@timothyfroehlich timothyfroehlich added this pull request to the merge queue Nov 14, 2024
Merged via the queue into main with commit 5e466a0 Nov 14, 2024
22 checks passed
@timothyfroehlich timothyfroehlich deleted the wb/froeht/new-fetch-test branch November 14, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants