SS
Size: a a a
SS
ИР
test('Renders images', async () => {
window.fetch.mockResolvedValueOnce({
ok: true,
json: async () => images,
});
const { findByTestId } = await render(<Gallery type="35mm" />);
expect(await findByTestId(images[0].url)).toBeInTheDocument();
});
SS
const { findByTestId } = await render(<Gallery type="35mm" />);
SS
ИР
SS
ИР
ИР
SS
SS
SS
isTabletOrMobile
- isDesktopOrLaptop
- певно і те і інше не працює в тестахИР
KS
SS
KS
SG
SG
SG
KS