Before, the LandingPage was not properly rendering because EdgeImagesTable has a dependency to Scalprum. Scalprum is a service that is provided by Insight that enables up to access shared components. However scalprum wasn't getting initialized properly during the execution of the unit tests making the entire LandingPage not rendering. There are ways to mock scalprum but this commit takes another decision to fix the issue. Instead of having a test environment rendering the LandingPage and the Wizard to test the ShareImageModal, the rendering is tailored to ShareImageModal needs, which only contains the rendering of that said module + static routes to avoid 404 on final redirections. This makes the scalprum errors go without hurting the coverage of the tests. |
||
|---|---|---|
| .. | ||
| CreateImageWizard | ||
| ImagesTable | ||
| LandingPage | ||
| ShareImageModal | ||