Skip to content

How do I write code to test components in the pages router in Next.js? #28

@gorcab

Description

@gorcab

The examples only have test code for the app router, and there doesn't seem to be any example code for testing single component.

I would like to see example code to test a page in the pages router and example code to test a single component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions