diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-19 23:48:06 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-19 23:48:06 +0800 |
commit | d8898cf9a30cc349868afcf2b78e6369e57aa726 (patch) | |
tree | f96d1aa76c7e5aa9e3311d5cdbd0d31c8ec8d7fb /packages/assert/test/assert_test.ts | |
parent | 1aaf633df883f62fad890b2d87a2dc89067821c5 (diff) | |
parent | 3de88d5345c7a4549bc69e2ca28f0601f5d42189 (diff) | |
download | dexon-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.ts | 2 |
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', () => { |