1234567891011121314151617 |
- const ERC20WithMetadata = artifacts.require('ERC20WithMetadataMock');
- require('chai')
- .should();
- const metadataURI = 'https://example.com';
- describe('ERC20WithMetadata', function () {
- beforeEach(async function () {
- this.token = await ERC20WithMetadata.new(metadataURI);
- });
- it('responds with the metadata', async function () {
- const got = await this.token.tokenURI();
- got.should.eq(metadataURI);
- });
- });
|