akd-io / create-next-stack

Create Next Stack is a website and CLI tool used to easily set up the boilerplate of new Next.js apps.

Home Page:https://www.create-next-stack.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.",
  },
],