mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-22 09:46:58 +01:00
add has subcondition to ccJsonLoad test
This commit is contained in:
parent
4a349013b2
commit
4f48f1768e
@ -92,7 +92,10 @@ test('CryptoConditions JSON load', t => {
|
||||
subconditions: [{
|
||||
type: 'ed25519-sha-256',
|
||||
public_key: 'a'
|
||||
},
|
||||
{
|
||||
hash: 'a'
|
||||
}],
|
||||
})
|
||||
t.truthy(cond.subconditions.length === 1)
|
||||
t.truthy(cond.subconditions.length === 2)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user