aboutsummaryrefslogtreecommitdiffstats
path: root/packages/assert/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-23 06:44:29 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-24 05:13:37 +0800
commit7b8d9193e2f2c812e94951dfc85db1bda0f27056 (patch)
treecb5d308f1f4cebfcf44fe6fafc7e65e0a4114508 /packages/assert/test
parent74633126ceb5ad5e73c0c0ec6dc766594bb77ae6 (diff)
downloaddexon-sol-tools-7b8d9193e2f2c812e94951dfc85db1bda0f27056.tar
dexon-sol-tools-7b8d9193e2f2c812e94951dfc85db1bda0f27056.tar.gz
dexon-sol-tools-7b8d9193e2f2c812e94951dfc85db1bda0f27056.tar.bz2
dexon-sol-tools-7b8d9193e2f2c812e94951dfc85db1bda0f27056.tar.lz
dexon-sol-tools-7b8d9193e2f2c812e94951dfc85db1bda0f27056.tar.xz
dexon-sol-tools-7b8d9193e2f2c812e94951dfc85db1bda0f27056.tar.zst
dexon-sol-tools-7b8d9193e2f2c812e94951dfc85db1bda0f27056.zip
Auto-fix linter errors in other mono-repo packages
Diffstat (limited to 'packages/assert/test')
-rw-r--r--packages/assert/test/assert_test.ts11
1 files changed, 6 insertions, 5 deletions
diff --git a/packages/assert/test/assert_test.ts b/packages/assert/test/assert_test.ts
index 66fa4eb54..3f8ae1f40 100644
--- a/packages/assert/test/assert_test.ts
+++ b/packages/assert/test/assert_test.ts
@@ -1,8 +1,9 @@
-import 'mocha';
-import * as dirtyChai from 'dirty-chai';
-import * as chai from 'chai';
-import {BigNumber} from 'bignumber.js';
import {schemas} from '@0xproject/json-schemas';
+import {BigNumber} from 'bignumber.js';
+import * as chai from 'chai';
+import * as dirtyChai from 'dirty-chai';
+import 'mocha';
+
import {assert} from '../src/index';
chai.config.includeStack = true;
@@ -183,7 +184,7 @@ describe('Assertions', () => {
it('should not throw for valid input', () => {
const validInputs = [
42,
- 0.00,
+ 0.00, // tslint:disable-line:number-literal-format
21e+42,
];
validInputs.forEach(input => expect(assert.isNumber.bind(assert, variableName, input)).to.not.throw());