test: Split test utilities to improve test times (#2622)

This commit is contained in:
Dermot Duffy
2026-07-26 16:29:53 -07:00
committed by GitHub
parent 8d44fcecf1
commit ad89aa9538
234 changed files with 2730 additions and 2516 deletions
@@ -10,7 +10,7 @@ describe('fireAdvancedCameraCardEvent', () => {
element.addEventListener('advanced-camera-card:foo', handler);
fireAdvancedCameraCardEvent(element, 'foo');
expect(handler).toBeCalled();
expect(handler).toHaveBeenCalled();
});
it('should fire event with data', () => {
@@ -22,6 +22,6 @@ describe('fireAdvancedCameraCardEvent', () => {
element.addEventListener('advanced-camera-card:foo', handler);
fireAdvancedCameraCardEvent(element, 'foo', data);
expect(handler).toBeCalled();
expect(handler).toHaveBeenCalled();
});
});