Skip to content

Integration tests for next cache tag revalidations #179

@kahlstrm

Description

@kahlstrm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🔖 Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions