remove arrow functions from js tests (#1225)

This commit is contained in:
jacob
2018-08-21 14:30:14 -05:00
committed by Nicolás Venturo
parent 7618b91d9c
commit 64c324e37c
7 changed files with 34 additions and 34 deletions

View File

@ -63,7 +63,7 @@ contract('ECRecovery', function ([_, anyone]) {
}
});
context('toEthSignedMessage', () => {
context('toEthSignedMessage', function () {
it('should prefix hashes correctly', async function () {
const hashedMessage = web3.sha3(TEST_MESSAGE);
(await ecrecovery.toEthSignedMessageHash(hashedMessage)).should.eq(hashMessage(TEST_MESSAGE));