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:
1 parent
a79ffa6edc
commit
75ae7720d3
90 files changed
+1332
-854
No files matched your search
@@ -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