Fixed utils test case for phantomjs.

This commit is contained in:
Richard Moore 2019-02-08 19:52:29 -05:00
parent 60b75c10d7
commit a2306f7870
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295

@ -354,7 +354,7 @@ describe("Hexlify", function() {
assert(ethers.utils.hexlify(ethers.utils.bigNumberify("9985956830000000000")), "0x8a953ed43a892c00", "hexlify on large BigNumber");
});
[9007199254740991, 9985956830000000000].forEach((value) => {
[9007199254740991, 9985956830000000000].forEach(function(value) {
it('hexlify fails on unsafe number - ' + value, function() {
assert.throws(function() {
var result = ethers.utils.hexlify(value);