diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-08 20:31:05 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-08 20:31:05 +0800 |
commit | 807e62e76e87ed8eb12ebf8d7b6f1a92e9d34f3b (patch) | |
tree | ca43604c24de627b9c25eb637d7ee56f46d5d42b /test/0x.js_test.ts | |
parent | a0fd89aeebc41b52b845674fd83edeccbb7f7bd8 (diff) | |
download | dexon-sol-tools-807e62e76e87ed8eb12ebf8d7b6f1a92e9d34f3b.tar dexon-sol-tools-807e62e76e87ed8eb12ebf8d7b6f1a92e9d34f3b.tar.gz dexon-sol-tools-807e62e76e87ed8eb12ebf8d7b6f1a92e9d34f3b.tar.bz2 dexon-sol-tools-807e62e76e87ed8eb12ebf8d7b6f1a92e9d34f3b.tar.lz dexon-sol-tools-807e62e76e87ed8eb12ebf8d7b6f1a92e9d34f3b.tar.xz dexon-sol-tools-807e62e76e87ed8eb12ebf8d7b6f1a92e9d34f3b.tar.zst dexon-sol-tools-807e62e76e87ed8eb12ebf8d7b6f1a92e9d34f3b.zip |
Fix linter error
Diffstat (limited to 'test/0x.js_test.ts')
-rw-r--r-- | test/0x.js_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts index 78032006b..d41cbefd7 100644 --- a/test/0x.js_test.ts +++ b/test/0x.js_test.ts @@ -64,20 +64,20 @@ describe('ZeroEx library', () => { const validUnrelatedAddress = '0x8b0292B11a196601eD2ce54B665CaFEca0347D42'; expect(ZeroEx.isValidSignature(data, signature, validUnrelatedAddress)).to.be.false(); return expect( - (zeroEx.exchange as any).isValidSignatureUsingContractCallAsync(data, signature, validUnrelatedAddress) + (zeroEx.exchange as any).isValidSignatureUsingContractCallAsync(data, signature, validUnrelatedAddress), ).to.become(false); }); it('should return false if the signature doesn\'t pertain to the data & address', async () => { const wrongSignature = _.assign({}, signature, {v: 28}); expect(ZeroEx.isValidSignature(data, wrongSignature, address)).to.be.false(); return expect( - (zeroEx.exchange as any).isValidSignatureUsingContractCallAsync(data, wrongSignature, address) + (zeroEx.exchange as any).isValidSignatureUsingContractCallAsync(data, wrongSignature, address), ).to.become(false); }); it('should return true if the signature does pertain to the data & address', async () => { expect(ZeroEx.isValidSignature(data, signature, address)).to.be.true(); return expect( - (zeroEx.exchange as any).isValidSignatureUsingContractCallAsync(data, signature, address) + (zeroEx.exchange as any).isValidSignatureUsingContractCallAsync(data, signature, address), ).to.become(true); }); }); |