Inherit chaiSetup from @0x/dev-utils

This commit is contained in:
Lawrence Forman
2019-04-02 17:52:30 -04:00
committed by Amir Bandeali
parent 9a162e5d5c
commit 371dc347cc
2 changed files with 5 additions and 13 deletions

View File

@@ -9,6 +9,10 @@
{
"note": "Use new `Order` structure with `domain` field",
"pr": 1742
},
{
"note": "Inherit `chaiSetup` from `@0x/dev-utils`",
"pr": TODO
}
]
},

View File

@@ -1,13 +1 @@
import * as chai from 'chai';
import chaiAsPromised = require('chai-as-promised');
import ChaiBigNumber = require('chai-bignumber');
import * as dirtyChai from 'dirty-chai';
export const chaiSetup = {
configure(): void {
chai.config.includeStack = true;
chai.use(ChaiBigNumber());
chai.use(dirtyChai);
chai.use(chaiAsPromised);
},
};
export { chaiSetup } from '@0x/dev-utils';