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 tests for sorting to search.spec.ts #13469

Merged
merged 5 commits into from
Apr 12, 2024
Merged

Conversation

samwho
Copy link
Collaborator

@samwho samwho commented Apr 11, 2024

Description

Alongside new tests for sorted queries, this PR also changes the names of some of the custom matchers to better reflect what they do:

  • toFind -> toContains, because it does not require strict ordering.
  • new: toMatch, requires ordering but does not do a full object match against the saved row (same as the old behaviour)
  • new: toHaveLength for the limit check

@samwho samwho added the firestorm Data/Infra/Revenue Team label Apr 11, 2024
@samwho samwho requested a review from a team as a code owner April 11, 2024 16:14
@samwho samwho enabled auto-merge April 11, 2024 16:19
Copy link
Collaborator

@mike12345567 mike12345567 left a comment

Choose a reason for hiding this comment

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

👏

@samwho samwho merged commit 95c7084 into master Apr 12, 2024
10 checks passed
@samwho samwho deleted the slim-down-integration-tests branch April 12, 2024 16:03
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
firestorm Data/Infra/Revenue Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants