Authored by 周奇琪

commit unit test

... ... @@ -4,6 +4,6 @@
"esnext": true,
"indent": 2,
"jquery": false,
"maxlen": 80,
"maxlen": 130,
"node": true
}
\ No newline at end of file
... ...
import expect from 'expect.js';
import muk from 'muk';
import Uhf from '../../src/lib/directive/uhf';
describe('uhf.js', function() {
describe('init', function() {
it();
it('init expect OK', function() {
let uhf = new Uhf();
expect(uhf.proc.getConfig).to.be.ok();
expect(uhf.proc.getVersion).to.be.ok();
});
});
describe('getConfig', function() {
it();
it(' ');
});
describe('getVersion', function() {
it();
... ...