aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-28 16:43:42 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-28 16:43:42 +0800
commit01e27426d643b525661e044dbb8c8f27734329e7 (patch)
tree24f93675763107c5e07a1df3767901aab3e09dc4
parent0b09cc36b06f1c51eac95fc6ad851a14800658b2 (diff)
downloaddexon-0x-contracts-01e27426d643b525661e044dbb8c8f27734329e7.tar.gz
dexon-0x-contracts-01e27426d643b525661e044dbb8c8f27734329e7.tar.zst
dexon-0x-contracts-01e27426d643b525661e044dbb8c8f27734329e7.zip
Fix stubbing of a non-existent property
-rw-r--r--packages/0x.js/test/0x.js_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/test/0x.js_test.ts b/packages/0x.js/test/0x.js_test.ts
index 8ba2e53f7..70e85aa52 100644
--- a/packages/0x.js/test/0x.js_test.ts
+++ b/packages/0x.js/test/0x.js_test.ts
@@ -237,7 +237,7 @@ describe('ZeroEx library', () => {
s: '0x2dea66f25a608bbae457e020fb6decb763deb8b7192abab624997242da248960',
};
stubs = [
- Sinon.stub((zeroEx as any)._web3Wrapper, 'signTransactionAsync').returns(Promise.resolve(signature)),
+ Sinon.stub((zeroEx as any)._web3Wrapper, 'signMessageAsync').returns(Promise.resolve(signature)),
Sinon.stub(ZeroEx, 'isValidSignature').returns(true),
];