diff options
author | Jacob Evans <jacob@dekz.net> | 2018-01-19 07:51:57 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-01-19 07:51:57 +0800 |
commit | 2ac806ef088ef4e9d037bc0227ce493f8f09a19e (patch) | |
tree | 45bad0fba140aca8256b8ddc5ed232887fd8ed63 /packages/assert/test | |
parent | fb77817c2d5258ecf92901ed9bd7db35bc11078f (diff) | |
download | dexon-0x-contracts-2ac806ef088ef4e9d037bc0227ce493f8f09a19e.tar dexon-0x-contracts-2ac806ef088ef4e9d037bc0227ce493f8f09a19e.tar.gz dexon-0x-contracts-2ac806ef088ef4e9d037bc0227ce493f8f09a19e.tar.bz2 dexon-0x-contracts-2ac806ef088ef4e9d037bc0227ce493f8f09a19e.tar.lz dexon-0x-contracts-2ac806ef088ef4e9d037bc0227ce493f8f09a19e.tar.xz dexon-0x-contracts-2ac806ef088ef4e9d037bc0227ce493f8f09a19e.tar.zst dexon-0x-contracts-2ac806ef088ef4e9d037bc0227ce493f8f09a19e.zip |
Prettier
Diffstat (limited to 'packages/assert/test')
-rw-r--r-- | packages/assert/test/assert_test.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/assert/test/assert_test.ts b/packages/assert/test/assert_test.ts index 732e99b3e..b0fa398d6 100644 --- a/packages/assert/test/assert_test.ts +++ b/packages/assert/test/assert_test.ts @@ -25,11 +25,15 @@ describe('Assertions', () => { describe('#isValidBaseUnitAmount', () => { it('should not throw for valid input', () => { const validInputs = [new BigNumber(23), new BigNumber('45000000')]; - validInputs.forEach(input => expect(assert.isValidBaseUnitAmount.bind(assert, variableName, input)).to.not.throw()); + validInputs.forEach(input => + expect(assert.isValidBaseUnitAmount.bind(assert, variableName, input)).to.not.throw(), + ); }); it('should throw for invalid input', () => { const invalidInputs = [0, undefined, new BigNumber(3.145), 3.145, new BigNumber(-400)]; - invalidInputs.forEach(input => expect(assert.isValidBaseUnitAmount.bind(assert, variableName, input)).to.throw()); + invalidInputs.forEach(input => + expect(assert.isValidBaseUnitAmount.bind(assert, variableName, input)).to.throw(), + ); }); }); describe('#isString', () => { |