Skip to content

Commit

Permalink
fix(ignore): remove unused variable (#19584)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua authored Nov 5, 2023
1 parent 13443a4 commit be48d54
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/externalConverters.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ describe('Loads external converters', () => {

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

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

0 comments on commit be48d54

Please sign in to comment.