Archive bug fix + Delete bug fix + assert deprecation update

This commit is contained in:
Adhiraj Singh
2020-11-30 19:21:10 +05:30
parent 196be24e4f
commit 84edfe1ca0
11 changed files with 42 additions and 44 deletions

View File

@@ -79,10 +79,10 @@ describe('Binary Coding Tests', () => {
const buff = Buffer.from(pair[0], 'hex')
const decoded = decoder.read(buff)
//console.log((decoded[2][0][2]))
assert.deepEqual(decoded, pair[1])
assert.deepStrictEqual(decoded, pair[1])
const encoded = encoder.write(decoded)
assert.deepEqual(encoded, buff)
assert.deepStrictEqual(encoded, buff)
})
console.log('all coding tests passed')
})