https://opensource.freecodecamp.org/curriculum-helpers/
BSD-3-Clause © freeCodeCamp.org
To run the tests in watch mode, you can use the following command:
pnpm test:watchThis spawns two vitest processes and you can interact with them in the terminal. However, input is passed to the processes in sequence making it tricky to use.
To get a standard vitest interface, you can run the tests separately:
pnpm test:unit --watch
# or
pnpm test:integration --watch