doorlock/__mocks__/node-hid.js
Dana Woodman a66f602dc4 Add basic RFID reader scanning code.
Other cleanup and docs.
2018-03-04 14:35:02 -08:00

10 lines
121 B
JavaScript

const HID = jest.fn()
HID.prototype.read = jest.fn()
const hid = {
devices: jest.fn(),
HID,
}
module.exports = hid