Skip to content

Commit 301438e

Browse files
committed
Update tests
1 parent df74f64 commit 301438e

File tree

4 files changed

+907
-260
lines changed

4 files changed

+907
-260
lines changed

src/lib.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ var uint8ToHex = function (ubyte) {
2222
* @returns {string} The hex string representation
2323
*/
2424
var uint8ArrayToHex = function (buf) {
25-
var out = [];
25+
var out = '';
2626

2727
for (var i = 0; i < buf.length; i++) {
28-
out.push(uint8ToHex(buf[i]));
28+
out += uint8ToHex(buf[i]);
2929
}
3030

31-
return out.join('');
31+
return out;
3232
};
3333

3434
/**

tests/__mock__/samples.js

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)