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

chore: tidy logic tests #2510

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Conversation

jessicamcinchak
Copy link
Member

@jessicamcinchak jessicamcinchak commented Dec 1, 2023

Replaces #2299

Changes:

  • Splits up preview.test.ts by method name for more isolated testing (this isn't perfect because so many store methods call each other, but definitely an improvement in readability I think!)
  • Takes a first pass through mock flow data and tidies up types (import from TYPES), replaces node ids with human readable ones, etc. Definitely more that could be consolidated here, but there's enough initial changes here for now

There's a few new & existing .skip and .todo annotated tests throughout which detail future expected behavior for autoAnswers, filters, getResult and more.

@jessicamcinchak
Copy link
Member Author

Copy link

github-actions bot commented Dec 1, 2023

Removed vultr server and associated DNS entries

Copy link
Contributor

@DafyddLlyr DafyddLlyr left a comment

Choose a reason for hiding this comment

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

This is honestly great to see - should make a lot of this code easier to understand and update 🎉

@jessicamcinchak jessicamcinchak merged commit ce00783 into main Dec 1, 2023
12 checks passed
@jessicamcinchak jessicamcinchak deleted the jess/reorganise-logic-tests branch December 1, 2023 14:20
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