Add orderFillOrKillRequestsSchema and validate using it instead of looping over the requests and validating them individually

This commit is contained in:
Fabio Berger
2017-06-08 18:13:54 +02:00
parent 2b08c04d4d
commit 23a4dcb729
6 changed files with 34 additions and 19 deletions

View File

@@ -3,7 +3,7 @@ import * as _ from 'lodash';
import * as chai from 'chai';
import * as BigNumber from 'bignumber.js';
import promisify = require('es6-promisify');
import {numberSchema} from '../src/schemas/order_schemas';
import {numberSchema} from '../src/schemas/basic_type_schemas';
import {SchemaValidator} from '../src/utils/schema_validator';
chai.config.includeStack = true;