uci-mqtt/test/amodule.test.js

18 lines
425 B
JavaScript
Raw Normal View History

2017-01-11 15:11:34 -08:00
'use strict'
//time-stamp for use when watching to distinguish reruns in console
// place in alpha first file only
let date = new Date(Date.now())
console.log(date.getMinutes(), "\:", date.getSeconds())
const expect = require('chai').expect,
lib = require('../')
describe('A template module ', function () {
it('Should ....', function () {
expect(lib.hello('Forest Gump')).to.equal('Hello Forest Gump')
})
})