Fix typos

This commit is contained in:
Koen Kanters committed 2021-07-24 16:13:11 +02:00
1 parent 236b751bd1
commit 6e84c149fe
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -803,14 +803,14 @@ describe('HomeAssistant extension', () => {
settings.set(['experimental', 'output'], 'attribute')
expect(() => {
const controller = new Controller(false);
}).toThrowError('Home Assitant integration is not possible with attribute output!');
}).toThrowError('Home Assistant integration is not possible with attribute output!');
});
it('Should warn when starting with cache_state false', async () => {
settings.set(['advanced', 'cache_state'], false);
logger.warn.mockClear();
const controller = new Controller(false);
expect(logger.warn).toHaveBeenCalledWith("In order for HomeAssistant integration to work properly set `cache_state: true");
expect(logger.warn).toHaveBeenCalledWith("In order for Home Assistant integration to work properly set `cache_state: true");
});
it('Should set missing values to null', async () => {