last cleanup after uci-dev split out

master
David Kebler 2017-01-16 22:44:10 -08:00
parent 7f9b54e2c7
commit c4575be271
2 changed files with 35 additions and 35 deletions

View File

@ -32,7 +32,7 @@ class Bus {
}
write(address, cmd, byte) {
// console.log("write: address, cmd, byte", address, cmd, byte)
// console.log('write: address, cmd, byte', address, cmd, byte)
return pify(this.bus.writeByte.bind(this.bus))(address, cmd, byte)
}

View File

@ -2,16 +2,16 @@
const chai = require('chai'),
chaiAsPromised = require("chai-as-promised"),
Bus = require('../lib/bus').Bus,
Device = require('../lib/device').Device
Bus = require('../lib/bus').Bus
chai.use(chaiAsPromised);
chai.use(chaiAsPromised)
const expect = chai.expect
let bus = new Bus()
let addresses = [0x20, 0x23, 0x27]
// const addresses = [0x20, 0x26, 0x27]
const addresses = []
describe('Bus Class - ', function () {