Authored by Gtskk

Merge branch 'master' of 192.168.102.78:web/rfid-sdk

@@ -4,6 +4,6 @@ @@ -4,6 +4,6 @@
4 "esnext": true, 4 "esnext": true,
5 "indent": 2, 5 "indent": 2,
6 "jquery": false, 6 "jquery": false,
7 - "maxlen": 80, 7 + "maxlen": 130,
8 "node": true 8 "node": true
9 } 9 }
1 import expect from 'expect.js'; 1 import expect from 'expect.js';
2 import muk from 'muk'; 2 import muk from 'muk';
  3 +import Uhf from '../../src/lib/directive/uhf';
3 describe('uhf.js', function() { 4 describe('uhf.js', function() {
4 describe('init', function() { 5 describe('init', function() {
5 - it(); 6 + it('init expect OK', function() {
  7 + let uhf = new Uhf();
  8 + expect(uhf.proc.getConfig).to.be.ok();
  9 + expect(uhf.proc.getVersion).to.be.ok();
  10 + });
6 }); 11 });
7 describe('getConfig', function() { 12 describe('getConfig', function() {
8 - it(); 13 + it(' ');
9 }); 14 });
10 describe('getVersion', function() { 15 describe('getVersion', function() {
11 it(); 16 it();