Skip to content

Commit

Permalink
code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
walterwootz committed Feb 16, 2024
1 parent bd4f83b commit 8a61022
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/unit/lib/commonBindings.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,4 @@ describe('Common bindings', () => {
});
});
});
describe('When extractAttributes is called', () => {
it('Should return array of extracted attributes', (done) => {
commonBindings.__set__('guessType', () => {
return 'string';
});
const attributes = commonBindings.extractAttributes(mockDevice, { CarSpeed: 0 });
expect(attributes).not.equal(null);
expect(attributes.length).is.greaterThanOrEqual(1);
done();
});
});
});

0 comments on commit 8a61022

Please sign in to comment.