diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-19 06:54:53 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-19 06:54:53 +0800 |
commit | 44635f34f0df4da935ed4793566995873aac5055 (patch) | |
tree | 2a17869fd79eefdd289efc1fea49c0d555dc207b /packages/instant/test | |
parent | b4fb6b5ff3106c9223508469a2bee583bcea8da0 (diff) | |
download | dexon-sol-tools-44635f34f0df4da935ed4793566995873aac5055.tar dexon-sol-tools-44635f34f0df4da935ed4793566995873aac5055.tar.gz dexon-sol-tools-44635f34f0df4da935ed4793566995873aac5055.tar.bz2 dexon-sol-tools-44635f34f0df4da935ed4793566995873aac5055.tar.lz dexon-sol-tools-44635f34f0df4da935ed4793566995873aac5055.tar.xz dexon-sol-tools-44635f34f0df4da935ed4793566995873aac5055.tar.zst dexon-sol-tools-44635f34f0df4da935ed4793566995873aac5055.zip |
fix: error test undefined case
Diffstat (limited to 'packages/instant/test')
-rw-r--r-- | packages/instant/test/util/error.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/test/util/error.test.ts b/packages/instant/test/util/error.test.ts index b009db91a..90e9c5fb4 100644 --- a/packages/instant/test/util/error.test.ts +++ b/packages/instant/test/util/error.test.ts @@ -48,7 +48,7 @@ describe('errorUtil', () => { }); it('should return default for AssetUnavailable error', () => { const assetUnavailableError = new Error(`${AssetBuyerError.AssetUnavailable}: For assetData xyz`); - expect(errorUtil.errorDescription(assetUnavailableError, ZRX_ASSET).message).toEqual( + expect(errorUtil.errorDescription(assetUnavailableError, undefined).message).toEqual( 'This asset is currently unavailable', ); }); |