Add support for React Testing Library
akd-io opened this issue · comments
Add support for React Testing Library
Remember to look at this code from the github actions plugin:
scripts: [
{
// TODO: When testing libraries are supported, make them add the test script. Somehow make this plugin only add `test` script if no other testing plugin has done so. Currently added so the github-actions workflow won't fail when calling the `test` npm script.
name: "test",
description: "Runs tests",
command: "echo No tests found.",
},
],
Check out https://nextjs.org/docs/pages/building-your-application/optimizing/testing as Lee mentioned