uci-mqtt/test/amodule.test.js

18 lines
442 B
JavaScript
Raw Normal View History

2017-01-11 15:11:34 -08:00
'use strict'
2017-01-16 17:05:24 -08:00
const expect = require('chai').expect,
lib = require('../')
2017-01-11 15:11:34 -08:00
//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())
2017-01-16 17:05:24 -08:00
describe('Test a template module ', function () {
2017-01-11 15:11:34 -08:00
2017-01-16 17:05:24 -08:00
it('Should test all methods', function () {
2017-01-11 15:11:34 -08:00
expect(lib.hello('Forest Gump')).to.equal('Hello Forest Gump')
})
})