doorlock/__mocks__/tessel.js
Dana Woodman 38c0bae242 A happy beginning 🚪🔒
2018-03-03 13:28:55 -08:00

18 lines
221 B
JavaScript

function LED() {
return {
off: jest.fn(),
on: jest.fn(),
}
}
const tessel = {
led: {
0: LED(), // red
1: LED(), // amber
2: LED(), // green
3: LED(), // blue
},
}
module.exports = tessel