diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-07 09:49:27 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-07 09:49:27 +0800 |
commit | e80579a6055f75edac0fb0e948838495d6599bb5 (patch) | |
tree | 50bf39f9b9e07b9b50aa9c660134166ed1c52427 | |
parent | 5967d39ca9f1580eb562d9c4c2045fc498899eac (diff) | |
download | dexon-sol-tools-e80579a6055f75edac0fb0e948838495d6599bb5.tar dexon-sol-tools-e80579a6055f75edac0fb0e948838495d6599bb5.tar.gz dexon-sol-tools-e80579a6055f75edac0fb0e948838495d6599bb5.tar.bz2 dexon-sol-tools-e80579a6055f75edac0fb0e948838495d6599bb5.tar.lz dexon-sol-tools-e80579a6055f75edac0fb0e948838495d6599bb5.tar.xz dexon-sol-tools-e80579a6055f75edac0fb0e948838495d6599bb5.tar.zst dexon-sol-tools-e80579a6055f75edac0fb0e948838495d6599bb5.zip |
Fix unit test
-rw-r--r-- | packages/subproviders/test/unit/ledger_subprovider_test.ts | 2 |
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 f895e7b74..95127b8d8 100644 --- a/packages/subproviders/test/unit/ledger_subprovider_test.ts +++ b/packages/subproviders/test/unit/ledger_subprovider_test.ts @@ -182,7 +182,7 @@ describe('LedgerSubprovider', () => { }; const callback = reportCallbackErrors(done)((err: Error, response: Web3.JSONRPCResponsePayload) => { expect(err).to.not.be.a('null'); - expect(err.message).to.be.equal(LedgerSubproviderErrors.DataNotValidHexForSignPersonalMessage); + expect(err.message).to.be.equal('Expected data to be of type HexString, encountered: hello world'); done(); }); provider.sendAsync(payload, callback); |