uci-i2c-bus/test/bus.test.js

19 lines
396 B
JavaScript
Raw Normal View History

'use strict'
const expect = require('chai').expect,
Bus = require('../lib/bus').Bus
// _ = require('uci-utils')
let bus = new Bus()
// console.log(bus.write.toString())
bus.write(0x21, 0x09, 0xFF)
describe('Bus Class - ', function () {
it('Promise Methods are exposed ', function () {
// expect(pin.cfg, "config getter failed").to.deep.equal(gpio.configs('output'))
})
});