mirror of
https://github.com/fluencelabs/js-libp2p-crypto
synced 2025-07-31 04:12:08 +00:00
chore: remove commitlint
chore: update deps chore: add bundlesize to ci
This commit is contained in:
@@ -14,7 +14,7 @@ function doTests (fncName, fnc, num, skipBuffersAndStrings) {
|
||||
// skip this garbage because it's a buffer or a string and we were told do do that
|
||||
return
|
||||
}
|
||||
let args = []
|
||||
const args = []
|
||||
for (let i = 0; i < num; i++) {
|
||||
args.push(garbage)
|
||||
}
|
||||
|
@@ -61,7 +61,7 @@ describe('generateEphemeralKeyPair', () => {
|
||||
})
|
||||
})
|
||||
|
||||
it(`handles bad curve name`, async () => {
|
||||
it('handles bad curve name', async () => {
|
||||
try {
|
||||
await crypto.keys.generateEphemeralKeyPair('bad name')
|
||||
} catch (err) {
|
||||
|
@@ -24,7 +24,7 @@ describe('Util', () => {
|
||||
})
|
||||
|
||||
it('toBase64 zero padding', (done) => {
|
||||
let bnpad = new BN('ff', 16)
|
||||
const bnpad = new BN('ff', 16)
|
||||
expect(util.toBase64(bnpad, 2)).to.eql('AP8')
|
||||
done()
|
||||
})
|
||||
|
Reference in New Issue
Block a user