2019-04-26 03:30:00 +0000 - Written by Carl Burks
I checked in an initial commit for a “new shiny object” presidential simulator. When I am playing with new technologies I like to have something to use as a concrete example, such as the “Northwind” database example. In this case I’m taking some inspiration from presidential simulations to form a React app that acts as a president simulator.
Here are some things I’ve done:
- So I’ve got a config file which can be dropped in after you build the react project so it isn’t “compiled in”.
- I’ve got jest/enzyme/async fetch mock testing in place see AdvisorMenu.test.js
As I code other interesting bits, or make the “game” playable. I’ll post more. I’ve reached the productive end of my “recipe” app, and I really didn’t want to make another RPG thing, so I thought this would be a fun change of pace.