frontend
frontend copied to clipboard
Test Solution
Platzi user: fernandojerez email: [email protected]
In this test I use createContext,useContext to manage global state. The context is binding a data variable loaded using useEffect and useState
The styling of the application was implemented using styled-components.
- file styles to define different appareance elements
- GlobalStyles to define a base style sheet
Test cases was edited to support with a mock of the Context.
To pass assertions styled-components has a prop called classifier that represent the different classes Academic-item, Header-title and so on