Make eventually a PromisedAssertion

This commit is contained in:
Leonid Logvinov 2017-05-29 12:19:50 +02:00
parent b088559850
commit 144456503c
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4
2 changed files with 4 additions and 3 deletions

3
src/globals.d.ts vendored
View File

@ -15,7 +15,8 @@ declare interface Schema {
declare namespace Chai {
interface Assertion {
bignumber: Assertion;
eventually: Assertion;
// HACK: In order t comply with chai-as-promised we make eventually a PromisedAssertion not an assertion
eventually: PromisedAssertion;
}
}
/* tslint:enable */

View File

@ -6,8 +6,8 @@ const path = require('path');
module.exports = {
entry: {
'0x': './src/ts/0x.js.ts',
'0x.min': './src/ts/0x.js.ts'
'0x': './src/0x.js.ts',
'0x.min': './src/0x.js.ts'
},
output: {
path: path.resolve(__dirname, '_bundles'),