test: Split test utilities to improve test times (#2622)
This commit is contained in:
1 parent
8d44fcecf1
commit
ad89aa9538
234 files changed
+2730
-2516
No files matched your search
@@ -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