Terrible news! Aliens have invaded Earth. 👽 👾 👽 👾 👽 👾
Luckily, their species is incredibly bureaucratic 📝
The aliens have promised to spare the Earth if we can submit form W-12-M without making a single mistake. You've been chosen for your skills at testing React components to ensure we cannot get it wrong.
This is a challenging exercise. You'll build a simple version of the above form, write tests to make sure it works, then add validation to the fields, and then write more tests to ensure the validation works. Finally there are some extensions to push you even further!
But don't be afraid - not even of the aliens. There are some extra hints available if you get stuck, and if you get super stuck you can always reach out to us on Slack and we'll help you get going again.
🌍 🌍 🌍
Let's save humanity.
🌍 🌍 🌍
You might find some of the documentation helpful in writing your tests:
This repo contains the beginnings of an app, based on create-react-app.
Fork this repo to your Github and then clone your forked version down to your local machine.
To install the dependencies run:
Make sure you're in the right directory!
To start the app:
Runs the app in the development mode.
The app should open in your browser.
If the page doesn't open automatically, you can open http://localhost:3000 to view it in the browser.
The page will reload if you make edits 👍
You will also see any lint errors in the console ✅
Head over to Activity 1 to get started!