UNPKG

@nbamford123/arwes

Version:

Futuristic Sci-Fi and Cyberpunk Graphical User Interface Framework for Web Apps

19 lines (14 loc) 457 B
import React from 'react'; import testSetup from '../setup.test.js'; import Image from './Image'; const { mount } = testSetup(Image); describe('Image', function () { it('Should render without crashing', function () { mount({ Animation: ({ children }) => children({}), Frame: ({ children }) => <div>{children}</div>, Loading: ({ children }) => <div>{children}</div>, resources: '/static/img/wallpaper.jpg' }); }); });