Skip to content

Commit

Permalink
docs: update image locations for SpacesImages story
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmartDOTin committed Jun 17, 2024
1 parent 607c536 commit aaa2a52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"hasNextPage": false
},
"items": [
{ "id": "1", "configurationId": "11", "payerIDs": ["a", "b", "c"], "images": { "logo": "/spaces/test_logo.png" } },
{ "id": "2", "configurationId": "22", "payerIDs": ["b", "c"], "images": { "tile": "/spaces/tile.jpg", "billboard": "/spaces/icon.png" } },
{ "id": "3", "configurationId": "33", "payerIDs": ["d", "c"], "url": "/spaces/tile.jpg" }
{ "id": "1", "configurationId": "11", "payerIDs": ["a", "b", "c"], "images": { "logo": "/element/spaces/test_logo.png" } },
{ "id": "2", "configurationId": "22", "payerIDs": ["b", "c"], "images": { "tile": "/element/spaces/tile.jpg", "billboard": "/element/spaces/icon.png" } },
{ "id": "3", "configurationId": "33", "payerIDs": ["d", "c"], "url": "/element/spaces/tile.jpg" }
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/spaces/src/lib/SpacesImage.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ describe('SpacesImage', () => {
await waitForElementToBeRemoved(getByRole('progressbar'));

// Ensure the correct src was selected.
expect(mockImage.mock.calls[0][0].src).toEqual('/spaces/tile.jpg');
expect(mockImage.mock.calls[0][0].src).toEqual('/element/spaces/tile.jpg');
});
});

0 comments on commit aaa2a52

Please sign in to comment.