@@ -40,7 +40,7 @@ describe('Bus', () => {
40
40
} ) ;
41
41
42
42
describe ( 'close' , ( ) => {
43
- it ( "should call i2c-bus' close functions " , async ( ) => {
43
+ it ( "should call i2c-bus' close function " , async ( ) => {
44
44
const i2cBus = await openPromisified ( 1 ) ;
45
45
const bus = await new Bus ( { busNumber : 1 } ) . open ( ) ;
46
46
@@ -59,7 +59,7 @@ describe('Bus', () => {
59
59
} ) ;
60
60
61
61
describe ( 'i2cFuncs' , ( ) => {
62
- it ( "should call i2c-bus' i2cFuncs functions " , async ( ) => {
62
+ it ( "should call i2c-bus' i2cFuncs function " , async ( ) => {
63
63
const i2cBus = await openPromisified ( 1 ) ;
64
64
const bus = await new Bus ( { busNumber : 1 } ) . open ( ) ;
65
65
@@ -79,7 +79,7 @@ describe('Bus', () => {
79
79
describe ( 'readByte' , ( ) => {
80
80
const address = 0x1 ;
81
81
const command = 0x2 ;
82
- it ( "should call i2c-bus' readByte functions " , async ( ) => {
82
+ it ( "should call i2c-bus' readByte function " , async ( ) => {
83
83
const i2cBus = await openPromisified ( 1 ) ;
84
84
const bus = await new Bus ( { busNumber : 1 } ) . open ( ) ;
85
85
@@ -101,7 +101,7 @@ describe('Bus', () => {
101
101
describe ( 'readWord' , ( ) => {
102
102
const address = 0x1 ;
103
103
const command = 0x2 ;
104
- it ( "should call i2c-bus' readWord functions " , async ( ) => {
104
+ it ( "should call i2c-bus' readWord function " , async ( ) => {
105
105
const i2cBus = await openPromisified ( 1 ) ;
106
106
const bus = await new Bus ( { busNumber : 1 } ) . open ( ) ;
107
107
@@ -125,7 +125,7 @@ describe('Bus', () => {
125
125
const command = 0x2 ;
126
126
const length = 3 ;
127
127
const buffer = Buffer . alloc ( 0 ) ;
128
- it ( "should call i2c-bus' readI2cBlock functions " , async ( ) => {
128
+ it ( "should call i2c-bus' readI2cBlock function " , async ( ) => {
129
129
const i2cBus = await openPromisified ( 1 ) ;
130
130
const bus = await new Bus ( { busNumber : 1 } ) . open ( ) ;
131
131
@@ -151,7 +151,7 @@ describe('Bus', () => {
151
151
152
152
describe ( 'receiveByte' , ( ) => {
153
153
const address = 0x1 ;
154
- it ( "should call i2c-bus' receiveByte functions " , async ( ) => {
154
+ it ( "should call i2c-bus' receiveByte function " , async ( ) => {
155
155
const i2cBus = await openPromisified ( 1 ) ;
156
156
const bus = await new Bus ( { busNumber : 1 } ) . open ( ) ;
157
157
@@ -173,7 +173,7 @@ describe('Bus', () => {
173
173
describe ( 'sendByte' , ( ) => {
174
174
const address = 0x1 ;
175
175
const byte = 0x2 ;
176
- it ( "should call i2c-bus' sendByte functions " , async ( ) => {
176
+ it ( "should call i2c-bus' sendByte function " , async ( ) => {
177
177
const i2cBus = await openPromisified ( 1 ) ;
178
178
const bus = await new Bus ( { busNumber : 1 } ) . open ( ) ;
179
179
@@ -196,7 +196,7 @@ describe('Bus', () => {
196
196
const address = 0x1 ;
197
197
const command = 0x2 ;
198
198
const byte = 0x3 ;
199
- it ( "should call i2c-bus' writeByte functions " , async ( ) => {
199
+ it ( "should call i2c-bus' writeByte function " , async ( ) => {
200
200
const i2cBus = await openPromisified ( 1 ) ;
201
201
const bus = await new Bus ( { busNumber : 1 } ) . open ( ) ;
202
202
@@ -223,7 +223,7 @@ describe('Bus', () => {
223
223
const address = 0x1 ;
224
224
const command = 0x2 ;
225
225
const word = 0x3 ;
226
- it ( "should call i2c-bus' writeWord functions " , async ( ) => {
226
+ it ( "should call i2c-bus' writeWord function " , async ( ) => {
227
227
const i2cBus = await openPromisified ( 1 ) ;
228
228
const bus = await new Bus ( { busNumber : 1 } ) . open ( ) ;
229
229
@@ -249,7 +249,7 @@ describe('Bus', () => {
249
249
describe ( 'writeQuick' , ( ) => {
250
250
const address = 0x1 ;
251
251
const bit = 0x0 ;
252
- it ( "should call i2c-bus' writeQuick functions " , async ( ) => {
252
+ it ( "should call i2c-bus' writeQuick function " , async ( ) => {
253
253
const i2cBus = await openPromisified ( 1 ) ;
254
254
const bus = await new Bus ( { busNumber : 1 } ) . open ( ) ;
255
255
@@ -273,7 +273,7 @@ describe('Bus', () => {
273
273
const command = 0x2 ;
274
274
const length = 3 ;
275
275
const buffer = Buffer . alloc ( 0 ) ;
276
- it ( "should call i2c-bus' writeI2cBlock functions " , async ( ) => {
276
+ it ( "should call i2c-bus' writeI2cBlock function " , async ( ) => {
277
277
const i2cBus = await openPromisified ( 1 ) ;
278
278
const bus = await new Bus ( { busNumber : 1 } ) . open ( ) ;
279
279
@@ -300,7 +300,7 @@ describe('Bus', () => {
300
300
const address = 0x1 ;
301
301
const length = 3 ;
302
302
const buffer = Buffer . alloc ( 0 ) ;
303
- it ( "should call i2c-bus' i2cRead functions " , async ( ) => {
303
+ it ( "should call i2c-bus' i2cRead function " , async ( ) => {
304
304
const i2cBus = await openPromisified ( 1 ) ;
305
305
const bus = await new Bus ( { busNumber : 1 } ) . open ( ) ;
306
306
@@ -327,7 +327,7 @@ describe('Bus', () => {
327
327
const address = 0x1 ;
328
328
const length = 3 ;
329
329
const buffer = Buffer . alloc ( 0 ) ;
330
- it ( "should call i2c-bus' i2cWrite functions " , async ( ) => {
330
+ it ( "should call i2c-bus' i2cWrite function " , async ( ) => {
331
331
const i2cBus = await openPromisified ( 1 ) ;
332
332
const bus = await new Bus ( { busNumber : 1 } ) . open ( ) ;
333
333
@@ -354,7 +354,7 @@ describe('Bus', () => {
354
354
describe ( 'scan' , ( ) => {
355
355
const startAddress = 0x1 ;
356
356
const endAddress = 0x2 ;
357
- it ( "should call i2c-bus' scan functions " , async ( ) => {
357
+ it ( "should call i2c-bus' scan function " , async ( ) => {
358
358
const i2cBus = await openPromisified ( 1 ) ;
359
359
const bus = await new Bus ( { busNumber : 1 } ) . open ( ) ;
360
360
@@ -375,7 +375,7 @@ describe('Bus', () => {
375
375
376
376
describe ( 'deviceId' , ( ) => {
377
377
const address = 0x1 ;
378
- it ( "should call i2c-bus' deviceId functions " , async ( ) => {
378
+ it ( "should call i2c-bus' deviceId function " , async ( ) => {
379
379
const i2cBus = await openPromisified ( 1 ) ;
380
380
const bus = await new Bus ( { busNumber : 1 } ) . open ( ) ;
381
381
0 commit comments