This started as a testing branch, but as testing was being implemented it highlighted plugin architecture changes that would make building the rest of the application more simplistic and easier to test. Another branch has been added for testing, but there are friction points working with MSW, vitest, and using the jsdom environment which need to be explored.
The significant changes from this PR include:
converting the dropbox provider into a singleton so that it doesn't have to be passed around the plugin
Removing the select-vault-context-provider in favor of a custom hook to handle the reducer state and passing the required props to the components that need them
Basic structure of react component testing with a goal of unit/integration testing integrity. There is still a lot of work to be done here, which will continue after the MVP of the application has been completed.
Description
This started as a testing branch, but as testing was being implemented it highlighted plugin architecture changes that would make building the rest of the application more simplistic and easier to test. Another branch has been added for testing, but there are friction points working with MSW, vitest, and using the jsdom environment which need to be explored.
The significant changes from this PR include: