Skip to content

Commit be48d54

Browse files
authored
fix(ignore): remove unused variable (#19584)
1 parent 13443a4 commit be48d54

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/externalConverters.test.js

-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ describe('Loads external converters', () => {
7272

7373
it('Loads external converters', async () => {
7474
fs.copyFileSync(path.join(__dirname, 'assets', 'mock-external-converter.js'), path.join(data.mockDir, 'mock-external-converter.js'));
75-
const devicesCount = zigbeeHerdsman.devices.lenght;
7675
settings.set(['external_converters'], ['mock-external-converter.js']);
7776
await resetExtension();
7877
expect(zigbeeHerdsmanConverters.addDeviceDefinition).toHaveBeenCalledTimes(1);
@@ -90,7 +89,6 @@ describe('Loads external converters', () => {
9089

9190
it('Loads multiple external converters', async () => {
9291
fs.copyFileSync(path.join(__dirname, 'assets', 'mock-external-converter-multiple.js'), path.join(data.mockDir, 'mock-external-converter-multiple.js'));
93-
const devicesCount = zigbeeHerdsman.devices.lenght;
9492
settings.set(['external_converters'], ['mock-external-converter-multiple.js']);
9593
await resetExtension();
9694
expect(zigbeeHerdsmanConverters.addDeviceDefinition).toHaveBeenCalledTimes(2);

0 commit comments

Comments
 (0)