chore: update lint rules

This commit is contained in:
getlarge 2022-02-15 08:07:38 +01:00
parent 38819a5934
commit dc353ee5bc
No known key found for this signature in database
GPG Key ID: E4E13243600F9566
2 changed files with 3 additions and 2 deletions

View File

@ -193,7 +193,7 @@ module.exports = {
],
},
],
'import/no-extraneous-dependencies': ['error', { 'devDependencies': true }],
/**
* ES6-specific Issues
* (http://eslint.org/docs/rules/#ecmascript-6)

View File

@ -92,7 +92,8 @@ test('Fulfillment correctly formed', t => {
const msgHash = sha256Hash(msgUniqueFulfillment)
t.truthy(validateFulfillment(
txSigned.inputs[0].fulfillment, txCreate.outputs[0].condition.uri,
txSigned.inputs[0].fulfillment,
txCreate.outputs[0].condition.uri,
Buffer.from(msgHash, 'hex')
))
})