create-next-stack icon indicating copy to clipboard operation
create-next-stack copied to clipboard

Add support for Jest

Open akd-io opened this issue 1 year ago • 1 comments

Add support for Jest

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

akd-io avatar May 26 '23 23:05 akd-io

Check out https://nextjs.org/docs/pages/building-your-application/optimizing/testing as Lee mentioned

akd-io avatar May 26 '23 23:05 akd-io