C

generate-metadata-tests

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

This codemod generates metadata tests for all existing paths under the pages router.

It uses the testPath argument to place the test file in the proper place.

Ready to contribute?

Build your own codemod and share it with the community.