Skip to content

Conversation

@connorjclark
Copy link
Collaborator

@connorjclark connorjclark commented Apr 26, 2022

The helper function createChainsFromMockRecords takes a function setExtrasFn which modifies the network records made by default. Many tests will modify the urls, but the helper function uses the default url values when building the graph initiators (this is the old code):

image

This didn't seem to prevent any tests from working, but it was unexpected (I was debugging something by looking at the generated devtools log and found the mismatch of urls here odd).

One test did break from this, and I really don't understand it... so I opted to resolve the breakage by introducing a boolean parameter to this function to recreate the previous bad behavior.

@connorjclark connorjclark requested a review from a team as a code owner April 26, 2022 00:32
@connorjclark connorjclark requested review from adamraine and removed request for a team April 26, 2022 00:32
@connorjclark connorjclark merged commit c84ccdd into master Apr 27, 2022
@connorjclark connorjclark deleted the crq-test branch April 27, 2022 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants