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

Integration tests for next cache tag revalidations #179

Open
kahlstrm opened this issue Jan 23, 2024 · 0 comments
Open

Integration tests for next cache tag revalidations #179

kahlstrm opened this issue Jan 23, 2024 · 0 comments

Comments

@kahlstrm
Copy link
Contributor

Currently the code for revalidating pages and globals is quite "hacked together" and barely working. Writing integration tests for these should be a high priority as this is arguably one of biggest key features of this entire thing really.
Integration tests would have to be done for every collection and would be of sort:

  1. Render page with collection/global item in it on next.js side, verify the content.
  2. Make a change in backend to that specific collection/global
  3. Re-render the page and verify that the change has occurred.
@MikaelSiidorow MikaelSiidorow moved this to 🔖 Ready in tikweb 3.0 Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔖 Ready
Development

No branches or pull requests

1 participant