UNPKG

@nbamford123/arwes

Version:

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

18 lines (13 loc) 418 B
import React from 'react'; import testSetup from '../setup.test.js'; import Button from './Button'; const { mount } = testSetup(Button); describe('Button', function () { it('Should render without crashing', function () { mount({ Animation: ({ children }) => children({}), Highlight: ({ children }) => <div>{children}</div>, Frame: ({ children }) => <div>{children}</div>, }); }); });