import * as React from 'react'; import { render, screen } from '@testing-library/react'; import { useConnect } from '../src/index'; const App = () => { const { open } = useConnect({ clientId: '00000000-00000000-00000000-00000000', scopes: [ '/2023-03-01/payroll/employees', '/2023-03-01/payroll/payruns', '/2023-03-01/payroll/payruns/:payrun_id', ], mode: 'payroll', onSuccess: () => {}, // eslint-disable-line @typescript-eslint/no-empty-function onError: () => {}, // eslint-disable-line @typescript-eslint/no-empty-function onClose: () => {}, // eslint-disable-line @typescript-eslint/no-empty-function }); return (