splitting unit + integration testing apart attempt #1
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 3m40s

This commit is contained in:
2025-11-30 18:08:30 -08:00
parent bcad064a1a
commit e9f555a404
6 changed files with 78 additions and 61 deletions

View File

@@ -63,7 +63,7 @@ describe('FlyerCorrectionTool', () => {
it('should call onClose when the close button is clicked', () => {
render(<FlyerCorrectionTool {...defaultProps} />);
fireEvent.click(screen.getByRole('button', { name: /close/i }));
fireEvent.click(screen.getByLabelText('Close correction tool'));
expect(defaultProps.onClose).toHaveBeenCalledTimes(1);
});