Use @polkadot/dev for common tasks (#6)

* Use @polkadot/dev for common tasks

* Use scripts from @polkadot/dev

* js code hints

* Cleanup scripts
This commit is contained in:
Jaco Greeff
2017-11-21 00:20:22 +01:00
committed by GitHub
parent 8bff3d927d
commit 6f80b51d3c
12 changed files with 2287 additions and 256 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
const sinon = require('sinon');
const { isFunction } = require('@polkadot/util/is');
const isFunction = require('@polkadot/util/is/function');
const Api = require('./api');
@@ -86,7 +86,7 @@ describe('Api', () => {
return container
.blah()
.catch((error) => {
expect(error).to.match(/test_blah\(foo: Address\) => Address/);
expect(error).to.match(/test_blah \(foo: Address\): Address/);
});
});