721labs / partial-common-ownership

This project aims to establish a standard, open source implementation of Partial Common Ownership for non-fungible tokens.
https://721.dev
MIT License
17 stars 5 forks source link

Tests: `lastTransferTimes` #13

Closed will-holley closed 3 years ago

will-holley commented 3 years ago

Test that lastTransferTimes is properly set using something like

trx = await contract.buy(token, ...);
expect(trx.block.timestamp).to.equal(lastTransferTimes[token])
will-holley commented 3 years ago

https://github.com/721labs/partial-common-ownership/commit/e5bb8bf6d4f07774c7f51f952ec38df480f3d70f