aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/globals.d.ts3
-rw-r--r--webpack.config.js4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/globals.d.ts b/src/globals.d.ts
index dee957f2f..4c9adcd48 100644
--- a/src/globals.d.ts
+++ b/src/globals.d.ts
@@ -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 */
diff --git a/webpack.config.js b/webpack.config.js
index 67af51f7a..7b7b10b52 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -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'),