node-red-contrib-homebridge-automation 0.3.0-beta.8 → 0.3.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/hbConfigNode.js +1 -0
- package/src/hbConfigNode.test.js +2 -5
package/package.json
CHANGED
package/src/hbConfigNode.js
CHANGED
package/src/hbConfigNode.test.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
const { HapClient } = require('@homebridge/hap-client');
|
|
1
|
+
// File: src/hbConfigNode.test.js
|
|
3
2
|
const HBConfigNode = require('./hbConfigNode'); // Update the path as necessary
|
|
4
3
|
const fs = require('fs');
|
|
5
4
|
const path = require('path');
|
|
5
|
+
const process = require('process');
|
|
6
6
|
|
|
7
7
|
jest.mock('@homebridge/hap-client', () => {
|
|
8
8
|
return {
|
|
@@ -20,7 +20,6 @@ describe('Issue 142', () => {
|
|
|
20
20
|
let mockConfig;
|
|
21
21
|
let RED;
|
|
22
22
|
let node;
|
|
23
|
-
let mockHapClient;
|
|
24
23
|
|
|
25
24
|
beforeEach(() => {
|
|
26
25
|
mockConfig = {
|
|
@@ -57,7 +56,6 @@ describe('HBConfigNode', () => {
|
|
|
57
56
|
let mockConfig;
|
|
58
57
|
let RED;
|
|
59
58
|
let node;
|
|
60
|
-
let mockHapClient;
|
|
61
59
|
|
|
62
60
|
beforeEach(() => {
|
|
63
61
|
mockConfig = {
|
|
@@ -94,7 +92,6 @@ describe('from files', () => {
|
|
|
94
92
|
let mockConfig;
|
|
95
93
|
let RED;
|
|
96
94
|
let node;
|
|
97
|
-
let mockHapClient;
|
|
98
95
|
|
|
99
96
|
beforeEach(() => {
|
|
100
97
|
mockConfig = {
|