-
Notifications
You must be signed in to change notification settings - Fork 8
Unit and UI testing
There are Jest tests for the state management. Up until last week we were trying to separate the core from any UI element. The problem became, how to we test the UI examples separately.
Used Jest-Puppeteer, which runs Jest tests in headless chrome browser.
Some debate over whether UI examples should be tested separately from the backend. The backend and components should have their own package.json
and is forced to import the dependencies.
Current Mirador repo will have a 3.0 branch, a React App. Is that going to have submodules? Could it just import the redux core? How much of the React App will be plugins?
We need a visual illustration to show Mirador setup repo and dependencies.
Take the vanilla example and replicate as a React component. Setup tests.
Set up a "create-react-app" with separate package.json