mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-02 01:55:48 +00:00
Fix eslint errors
This was done by:
- updating some devDependencies
- running:
node_modules/.bin/eslint -c ./eslintrc --fix src/ test/
- adding where necessary:
// eslint-disable-line strict
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
'use strict';
|
||||
const assert = require('assert');
|
||||
const utils = require('../src/utils');
|
||||
'use strict' // eslint-disable-line strict
|
||||
|
||||
const assert = require('assert')
|
||||
const utils = require('../src/utils')
|
||||
|
||||
describe('utils', () => {
|
||||
it('hexToBytes - zero', () => {
|
||||
assert.deepEqual(utils.hexToBytes('000000'), [0, 0, 0]);
|
||||
});
|
||||
assert.deepEqual(utils.hexToBytes('000000'), [0, 0, 0])
|
||||
})
|
||||
|
||||
it('hexToBytes - DEADBEEF', () => {
|
||||
assert.deepEqual(utils.hexToBytes('DEADBEEF'), [222, 173, 190, 239]);
|
||||
});
|
||||
});
|
||||
assert.deepEqual(utils.hexToBytes('DEADBEEF'), [222, 173, 190, 239])
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user