This project consists of unit tests for the Atlas Music Player.
-
How to write snapshot tests
-
How to test components and hooks
-
How to apply mocking and spying to unit tests
-
How to generate code coverage reports for unit tests
React Unit Testing - Jeremiah Swank Covers key concepts and benefits of using TypeScript
How to use TypeScript - Jeremiah Swank Contains tutorials and examples of using TypeScript.
TypeScript 5.0 Cheat Sheet - SitePen Engineering* An quick reference guide for TypeScript.
React TypeScript Cheatsheet An quick reference guide for using TypeScript with React.
- Run
npm installto install dependencies - Run
npm run devto start the dev server - Open
http://localhost:5173in a browser
There is a dev container preconfigured with Node 20 on linux. If you would like to use the dev container:
- Install the Dev Containers Plugin for VS Code
- Open the command pallet (Cntrl / Command + Shift + P) in VS Code
- Select "Dev Container: Reopen in Container"
For more information on using dev containers see this tutorial or the official documentation
index.html: This is the html file that appears when the dev server starts up.src: All javascript/jsx code goes in this directorysrc/assets: Any static assets such as images that are loaded through the javascript files goes here.src/app.jsx: The is the main app component for the entire app.
npm run dev: Starts dev server with Hot Module Reloading on port 5173. Anytime a file changes, the changes will automatocally be reflected in the browsernpm run lint: Run the lint checker with eslint to check for known linting issuesnpm run format: Run prettier to automatically reformat files
This project was forked from the Music Player project, which was a Atlas School Project. It was built from a very basic template of a Vite React App with empty and non-existent components.
This README was made with ❤️ by Allison Binger, student at Atlas School Tulsa. Find me on GitHub or LinkedIn! 😸