test: Split test utilities to improve test times (#2622)
This commit is contained in:
@@ -15,7 +15,7 @@ describe('fireHASSEvent', () => {
|
||||
|
||||
fireHASSEvent(target, type, detail);
|
||||
|
||||
expect(handler).toBeCalledWith(
|
||||
expect(handler).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
detail,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user