Authored by Gtskk

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

1 -{  
2 - "browser": true,  
3 - "devel": true,  
4 - "esnext": true,  
5 - "indent": 2,  
6 - "jquery": false,  
7 - "maxlen": 80,  
8 - "node": true 1 +{
  2 + "browser": true,
  3 + "devel": true,
  4 + "esnext": true,
  5 + "indent": 2,
  6 + "jquery": false,
  7 + "maxlen": 130,
  8 + "node": true
9 } 9 }
1 -import expect from 'expect.js';  
2 -import muk from 'muk';  
3 -describe('uhf.js', function() {  
4 - describe('init', function() {  
5 - it();  
6 - });  
7 - describe('getConfig', function() {  
8 - it();  
9 - });  
10 - describe('getVersion', function() {  
11 - it();  
12 - }); 1 +import expect from 'expect.js';
  2 +import muk from 'muk';
  3 +import Uhf from '../../src/lib/directive/uhf';
  4 +describe('uhf.js', function() {
  5 + describe('init', function() {
  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 + });
  11 + });
  12 + describe('getConfig', function() {
  13 + it(' ');
  14 + });
  15 + describe('getVersion', function() {
  16 + it();
  17 + });
13 }); 18 });