Estudos do livro de estrutura de dados e algoritimos com javascript da Loiane groner
feat: ensure AuthorizeHttpGetClientDecorator merge token to HttpGetClient
test: ensure AuthorizeHttpGetClientDecorator merge token to HttpGetClient
feat: ensure AuthorizeHttpGetClientDecorator return the same as HttpGetClient
test: ensure AuthorizeHttpGetClientDecorator return the same as HttpGetClient
feat: ensure AuthorizeHttpGetClientDecorator add token to HttpGetClient
test: ensure AuthorizeHttpGetClientDecorator add token to HttpGetClient
refactor: move SUT creation to a factory method
feat: ensure AuthorizeHttpGetClientDecorator not add token if GetStorage is inválid
test: ensure AuthorizeHttpGetClientDecorator not add token if GetStorage is inválid
feat: ensure AuthorizeHttpGetClientDecorator calls GetStorage with correct value
test: ensure AuthorizeHttpGetClientDecorator calls GetStorage with correct value
feat: ensure AxiosHttpClient calls axios with correct headers
test: ensure AxiosHttpClient calls axios with correct headers
feat: add surveyList composition
refactor: remove unused file
feat: add SurveyError
fix: error on SurveyError
feat: ensure SurveyList render surveyItem on success
test: ensure SurveyList render surveyItem on success
feat: ensure SurveyList shows error on failure
test: ensure SurveyList shows error on failure
refactor: move list of surveys to its own component
feat: ensure SurveyItem shows correct icon
test: ensure SurveyItem shows correct icon
refactor: move SUT creation to a factory method
feat: ensure load date correctly
test: ensure load date correctly
feat: change survey route
feat: add SurveyItemLoader
feat: ensure SurveyList rendes 4 empty items on start
test: ensure SurveyList rendes 4 empty items on start
refactor: move SUT creation to a factory method
feat: ensure loadSurveyList has been called after load the component
test: ensure loadSurveyList has been called after load the component
chore: add jest-dom
refactor: change asserts to use jest-dom, use screen
feat: apply PrivateRoute to survey list page
feat: ensure PrivateRoute renders component if token is not empty
test: ensure PrivateRoute renders component if token is not empty
test: move sut create to a factory method
feat: ensure PrivateRoute redirect to /login if empty token is provided
test: ensure PrivateRoute redirect to /login if empty token is provided
feat: ensure LocalStorageAdapter calls localStorage.getItem with correct value
test: ensure LocalStorageAdapter calls localStorage.getItem with correct value
feat: add getCurrentAccountAdapter
test: add getCurrentAccountAdapter
feat: add getCurrentAccount to ApiContext
test: ensure CurrentAccountAdapter calls LocalStorageAdapter with correct values
test: ensure CurrentAccountAdapter throws error if invalid account is provided
refactor: move current account control to the ApiContext
refactor: move components to a new folder
Merge pull request #3 from niltonslf/feature/load-survey-list
refactor: move components to a new folder
feat: add SurveyModel
feat: add LoadSurveyList use case
chore: update readme
refactor: rename generics params
refactor: set any as default response type
feat: ensure RemoteLoadSurveyList calls HttpGetClient with correct url
test: ensure RemoteLoadSurveyList calls HttpGetClient with correct url
refactor: move SUT creation to a factory method
feat: ensure RemoteLoadSurveyList throws Unexpected error on 403
test: ensure RemoteLoadSurveyList throws Unexpected error on 403
test: ensure RemoteLoadSurveyList throws Unexpected error on 404
test: ensure RemoteLoadSurveyList throws Unexpected error on 500
chore: update eslint config
feat: ensure RemoteLoadSurveyList returns a list of SurveyModel on 200
test: ensure RemoteLoadSurveyList returns a list of SurveyModel on 200
feat: ensure RemoteLoadSurveyList returns an empty array on 204
test: ensure RemoteLoadSurveyList returns an empty array on 204
refactor: improve test names
feat: ensure AxiosHttpClient calls axios.get with correct values
test: ensure AxiosHttpClient calls axios.get with correct values