- Prior experience with testing frameworks like Jest or Vitest is required.
- Basic level of TypeScript is recommended since all the exercises are written in TypeScript and you may have to write a type or two yourself.
- Visual Studio Code or Visual Studio Code-based editor is recommended as a few exercises feature extensions for that editor. The majority of the topics, however, is editor-agnostic.
Here are some resources you can read before taking the workshop to get you up to speed on some of the tools and concepts we'll be covering:
- Why Vitest? and Vitest comparisons to other tools will give you a good understanding as to why we are using Vitest in this (and other) workshops.
- Working with Visual Studio Code Extensions Marketplace.
All of these must be available in your PATH. To verify things are set up
properly, you can run this:
git --version
node --version
npm --versionIf you have trouble with any of these, learn more about the PATH environment variable and how to fix it here for windows or mac/linux.
Use the Epic Workshop CLI to get this setup:
npx --yes epicshop@latest add advanced-vitest-patternsIf you experience errors here, please open an issue with as many details as you can offer.
Learn all about the workshop app on the Epic Web Getting Started Guide.
