test: Split test utilities to improve test times (#2622)
This commit is contained in:
@@ -20,6 +20,6 @@ describe('forwardHaptic', () => {
|
||||
])('should call fireHASSEvent with %s', (hapticType: HapticType) => {
|
||||
forwardHaptic(hapticType);
|
||||
|
||||
expect(fireHASSEvent).toBeCalledWith(window, 'haptic', hapticType);
|
||||
expect(fireHASSEvent).toHaveBeenCalledWith(window, 'haptic', hapticType);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user