Use Prettier for JS files (#3913)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
@ -5,7 +5,7 @@ const { expect } = require('chai');
|
||||
const ERC1155Pausable = artifacts.require('$ERC1155Pausable');
|
||||
|
||||
contract('ERC1155Pausable', function (accounts) {
|
||||
const [ holder, operator, receiver, other ] = accounts;
|
||||
const [holder, operator, receiver, other] = accounts;
|
||||
|
||||
const uri = 'https://token.com';
|
||||
|
||||
@ -50,9 +50,9 @@ contract('ERC1155Pausable', function (accounts) {
|
||||
|
||||
it('reverts when trying to safeBatchTransferFrom from operator', async function () {
|
||||
await expectRevert(
|
||||
this.token.safeBatchTransferFrom(
|
||||
holder, receiver, [firstTokenId], [firstTokenAmount], '0x', { from: operator },
|
||||
),
|
||||
this.token.safeBatchTransferFrom(holder, receiver, [firstTokenId], [firstTokenAmount], '0x', {
|
||||
from: operator,
|
||||
}),
|
||||
'ERC1155Pausable: token transfer while paused',
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user