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 turbo:before-prefetch test coverage #1205

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

seanpdoyle
Copy link
Contributor

@seanpdoyle seanpdoyle commented Feb 24, 2024

Expand the link prefetching functional test coverage to exercise prefetching in relation to the events dispatched during the lifecycle. For example, include coverage for:

  • turbo:before-prefetch being dispatched
  • turbo:before-prefetch being canceled
  • turbo:before-fetch-request dispatched only once during a successful prefetch

Expand the link prefetching functional test coverage to exercise
prefetching in relation to the events dispatched during the lifecycle.
For example, include coverage for:

* `turbo:before-prefetch` being dispatched
* `turbo:before-prefetch` being canceled
* `turbo:before-fetch-request` dispatched only once during a successful
  prefetch
@brunoprietog
Copy link
Collaborator

Thanks @seanpdoyle!

@brunoprietog brunoprietog merged commit 1ff95b4 into hotwired:main Jul 13, 2024
1 check passed
@seanpdoyle seanpdoyle deleted the prefetch-event-test-coverage branch July 13, 2024 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants