aboutsummaryrefslogtreecommitdiffstats
path: root/packages/assert/test/assert_test.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-19 23:48:06 +0800
committerFabio Berger <me@fabioberger.com>2018-07-19 23:48:06 +0800
commitd8898cf9a30cc349868afcf2b78e6369e57aa726 (patch)
treef96d1aa76c7e5aa9e3311d5cdbd0d31c8ec8d7fb /packages/assert/test/assert_test.ts
parent1aaf633df883f62fad890b2d87a2dc89067821c5 (diff)
parent3de88d5345c7a4549bc69e2ca28f0601f5d42189 (diff)
downloaddexon-0x-contracts-d8898cf9a30cc349868afcf2b78e6369e57aa726.tar
dexon-0x-contracts-d8898cf9a30cc349868afcf2b78e6369e57aa726.tar.gz
dexon-0x-contracts-d8898cf9a30cc349868afcf2b78e6369e57aa726.tar.bz2
dexon-0x-contracts-d8898cf9a30cc349868afcf2b78e6369e57aa726.tar.lz
dexon-0x-contracts-d8898cf9a30cc349868afcf2b78e6369e57aa726.tar.xz
dexon-0x-contracts-d8898cf9a30cc349868afcf2b78e6369e57aa726.tar.zst
dexon-0x-contracts-d8898cf9a30cc349868afcf2b78e6369e57aa726.zip
merge v2-prototype
Diffstat (limited to 'packages/assert/test/assert_test.ts')
-rw-r--r--packages/assert/test/assert_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/assert/test/assert_test.ts b/packages/assert/test/assert_test.ts
index 15fd3e6a8..cbbfe39db 100644
--- a/packages/assert/test/assert_test.ts
+++ b/packages/assert/test/assert_test.ts
@@ -49,7 +49,7 @@ describe('Assertions', () => {
});
describe('#isFunction', () => {
it('should not throw for valid input', () => {
- const validInputs = [BigNumber, assert.isString];
+ const validInputs = [BigNumber, assert.isString.bind(assert)];
validInputs.forEach(input => expect(assert.isFunction.bind(assert, variableName, input)).to.not.throw());
});
it('should throw for invalid input', () => {