Merge branch 'master' of 192.168.102.78:web/rfid-sdk
Showing
2 changed files
with
8 additions
and
3 deletions
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(); |
-
Please register or login to post a comment