fix: Confirmations should apply to all actions (#1959)
This also refactors how generic HA actions are handled, and improves typing of actions. [skip ci]
This commit is contained in:
@@ -54,6 +54,9 @@ describe('arrayify', () => {
|
||||
const data = [1, 2, 3];
|
||||
expect(arrayify(data)).toBe(data);
|
||||
});
|
||||
it('should handle undefined', () => {
|
||||
expect(arrayify()).toEqual([]);
|
||||
});
|
||||
});
|
||||
|
||||
describe('setify', () => {
|
||||
|
||||
Reference in New Issue
Block a user