mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
log
This commit is contained in:
parent
8a1ce8e260
commit
63240799bd
@ -178,6 +178,7 @@ describe('Nft Factory test', () => {
|
|||||||
expect(txReceipt.events.DispenserCreated.event === 'DispenserCreated')
|
expect(txReceipt.events.DispenserCreated.event === 'DispenserCreated')
|
||||||
|
|
||||||
// allows dispensing for everybody
|
// allows dispensing for everybody
|
||||||
|
console.log(`DispenserCreated: ${txReceipt.events.DispenserCreated.returnValues}`)
|
||||||
const allowedSwapper = txReceipt.events.DispenserCreated.returnValues[4]
|
const allowedSwapper = txReceipt.events.DispenserCreated.returnValues[4]
|
||||||
console.log(`Allowed Swapper: ${allowedSwapper}`)
|
console.log(`Allowed Swapper: ${allowedSwapper}`)
|
||||||
assert(allowedSwapper === ZERO_ADDRESS, 'ZERO_ADDRESS is not set as allowedSwapper')
|
assert(allowedSwapper === ZERO_ADDRESS, 'ZERO_ADDRESS is not set as allowedSwapper')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user