dorita980-node18 – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /* global it describe */ |
2 | 'use strict'; |
||
3 | |||
4 | const chai = require('chai'); |
||
5 | const expect = chai.expect; |
||
6 | const dorita980 = require('../index'); |
||
7 | |||
8 | describe('dorita980 require', () => { |
||
9 | it('should return an object with functions', () => { |
||
10 | expect(dorita980).to.be.instanceof(Object); |
||
11 | expect(dorita980).to.have.property('Cloud'); |
||
12 | expect(dorita980).to.have.property('Local'); |
||
13 | expect(dorita980).to.have.property('getRobotIP'); |
||
14 | expect(dorita980.Cloud).to.be.instanceof(Function); |
||
15 | expect(dorita980.Local).to.be.instanceof(Function); |
||
16 | expect(dorita980.getRobotIP).to.be.instanceof(Function); |
||
17 | }); |
||
18 | }); |