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

19 lines
395 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())
2017-01-15 18:47:43 -08:00
bus.write(0x20, 0x09, 0xFF)
describe('Bus Class - ', function () {
it('Promise Methods are exposed ', function () {
// expect(pin.cfg, "config getter failed").to.deep.equal(gpio.configs('output'))
})
2017-01-15 18:47:43 -08:00
})