Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- truffle test
- Using network 'development'.
- Compiling your contracts...
- ===========================
- > Everything is up to date, there is nothing to compile.
- Contract: CryptoMonsters
- createMonster
- √ Only sender can create monsters (48ms)
- √ Check if the attackPower is set correctly (76ms)
- √ Check if the monster is created (433ms)
- [
- {
- logIndex: 0,
- transactionIndex: 0,
- transactionHash: '0xc1872cd78991b463b3d11a4a9765e286230ba8873e8882f4912adb5fada7d521',
- blockHash: '0xde852244cbb011838845d8aa335eafb5b22c6575970878ef3a4150a9c7642a1f',
- blockNumber: 162,
- address: '0x476E54fa9e216a730a80BD484D26045C0d203238',
- type: 'mined',
- id: 'log_a3fc8ece',
- event: 'Transfer',
- args: Result {
- '0': '0x0000000000000000000000000000000000000000',
- '1': '0x9cb1CfEFe3eEc69f009304DC2F6295dCB97FF89e',
- '2': [BN],
- __length__: 3,
- from: '0x0000000000000000000000000000000000000000',
- to: '0x9cb1CfEFe3eEc69f009304DC2F6295dCB97FF89e',
- tokenId: [BN]
- }
- },
- {
- logIndex: 1,
- transactionIndex: 0,
- transactionHash: '0xc1872cd78991b463b3d11a4a9765e286230ba8873e8882f4912adb5fada7d521',
- blockHash: '0xde852244cbb011838845d8aa335eafb5b22c6575970878ef3a4150a9c7642a1f',
- blockNumber: 162,
- address: '0x476E54fa9e216a730a80BD484D26045C0d203238',
- type: 'mined',
- id: 'log_40dbd4ee',
- event: 'MonsterCreated',
- args: Result { '0': [BN], __length__: 1, _MonsterID: [BN] }
- }
- ]
- √ Check the win case (375ms)
- 4 passing (1s)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement