aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-05-22 05:25:39 +0800
committerGreg Hysen <greg.hysen@gmail.com>2018-05-22 05:25:39 +0800
commit11b6d290da18ea4690424a2a518413fb39a4a885 (patch)
treea7e56e6ec0a79bae728c8ddc21ee1a80d0ef9e6b /packages
parentd83902834fdbbd3985c36017e12f7b57d479a038 (diff)
downloaddexon-sol-tools-11b6d290da18ea4690424a2a518413fb39a4a885.tar
dexon-sol-tools-11b6d290da18ea4690424a2a518413fb39a4a885.tar.gz
dexon-sol-tools-11b6d290da18ea4690424a2a518413fb39a4a885.tar.bz2
dexon-sol-tools-11b6d290da18ea4690424a2a518413fb39a4a885.tar.lz
dexon-sol-tools-11b6d290da18ea4690424a2a518413fb39a4a885.tar.xz
dexon-sol-tools-11b6d290da18ea4690424a2a518413fb39a4a885.tar.zst
dexon-sol-tools-11b6d290da18ea4690424a2a518413fb39a4a885.zip
Removed debug line from chai_setup. Its failing linter and does not appear to be used (it was from an old PR I merged in).
Diffstat (limited to 'packages')
-rw-r--r--packages/metacoin/test/utils/chai_setup.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/metacoin/test/utils/chai_setup.ts b/packages/metacoin/test/utils/chai_setup.ts
index 49259a368..1a8733093 100644
--- a/packages/metacoin/test/utils/chai_setup.ts
+++ b/packages/metacoin/test/utils/chai_setup.ts
@@ -1,4 +1,3 @@
-import { BigNumber } from '@0xproject/utils';
import * as chai from 'chai';
import chaiAsPromised = require('chai-as-promised');
import ChaiBigNumber = require('chai-bignumber');
@@ -10,12 +9,5 @@ export const chaiSetup = {
chai.use(ChaiBigNumber());
chai.use(dirtyChai);
chai.use(chaiAsPromised);
-
- // Node uses '.inspect()' instead of '.toString()' for log messages
- // HACK: Typescript won't allow me to mess with BigNumber.prototype
- // directly, so I create an instance and then get the prototype.
- Object.getPrototypeOf(new BigNumber(0)).inspect = function() {
- return this.toString();
- };
},
};