David Gray
David Gray
For reference - this is how we get around this issue - at least for start-api. https://github.com/dacgray/sam-local-start-api-container-image-volume-mount
For me this worked.: ``` function localStorageProvider() { // When initializing, we restore the data from `localStorage` into a map. const map = new Map( JSON.parse(localStorage.getItem('app-cache') || '[]') ) //...
We use MSW for image requests: ```js export const XSSnapshot: Story = { parameters: { cookie: {}, viewport: { defaultViewport: 'xs', }, msw: { handlers: [ rest.get('**/*.svg', async (req, res,...
For reference - this is how we get around this issue: https://github.com/dacgray/sam-local-start-api-container-image-volume-mount