aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-09 00:22:31 +0800
committerFabio Berger <me@fabioberger.com>2017-12-09 00:22:31 +0800
commite822e3562d59cb4e6a83849592471379ea83c390 (patch)
tree5f1f3d0f06f0cadc58563d4d9607c12d3f3fa352
parent1fc1eae39a20a06661e05d9e9f8d2b3a97451e08 (diff)
downloaddexon-sol-tools-e822e3562d59cb4e6a83849592471379ea83c390.tar
dexon-sol-tools-e822e3562d59cb4e6a83849592471379ea83c390.tar.gz
dexon-sol-tools-e822e3562d59cb4e6a83849592471379ea83c390.tar.bz2
dexon-sol-tools-e822e3562d59cb4e6a83849592471379ea83c390.tar.lz
dexon-sol-tools-e822e3562d59cb4e6a83849592471379ea83c390.tar.xz
dexon-sol-tools-e822e3562d59cb4e6a83849592471379ea83c390.tar.zst
dexon-sol-tools-e822e3562d59cb4e6a83849592471379ea83c390.zip
Fix unit test
-rw-r--r--packages/subproviders/test/unit/ledger_subprovider_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/subproviders/test/unit/ledger_subprovider_test.ts b/packages/subproviders/test/unit/ledger_subprovider_test.ts
index 0f333bb88..964df5db9 100644
--- a/packages/subproviders/test/unit/ledger_subprovider_test.ts
+++ b/packages/subproviders/test/unit/ledger_subprovider_test.ts
@@ -146,7 +146,7 @@ describe('LedgerSubprovider', () => {
};
const callback = reportCallbackErrors(done)((err: Error, response: Web3.JSONRPCResponsePayload) => {
expect(err).to.be.a('null');
- expect(response.result.raw.length).to.be.equal(206);
+ expect(response.result.raw.length).to.be.equal(192);
expect(response.result.raw.substr(0, 2)).to.be.equal('0x');
done();
});