Extended publishing of libraries to npm (#3786)
* Extended publishing of libraries to npm * Update source links * Add some tests before publishing NPM library * Fix Shapeshift tests
This commit is contained in:
6
js/src/3rdparty/etherscan/account.spec.js
vendored
6
js/src/3rdparty/etherscan/account.spec.js
vendored
@@ -14,11 +14,13 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import etherscan from './';
|
||||
const etherscan = require('./');
|
||||
|
||||
const TESTADDR = '0xbf885e2b55c6bcc84556a3c5f07d3040833c8d00';
|
||||
|
||||
describe.skip('etherscan/account', () => {
|
||||
describe.skip('etherscan/account', function () {
|
||||
this.timeout(60 * 1000);
|
||||
|
||||
const checkBalance = function (balance, addr) {
|
||||
expect(balance).to.be.ok;
|
||||
expect(balance.account).to.equal(addr);
|
||||
|
||||
6
js/src/3rdparty/etherscan/stats.spec.js
vendored
6
js/src/3rdparty/etherscan/stats.spec.js
vendored
@@ -14,9 +14,11 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import etherscan from './';
|
||||
const etherscan = require('./');
|
||||
|
||||
describe.skip('etherscan/stats', function () {
|
||||
this.timeout(60 * 1000);
|
||||
|
||||
describe.skip('etherscan/stats', () => {
|
||||
it('retrieves the latest price', () => {
|
||||
return etherscan.stats
|
||||
.price()
|
||||
|
||||
Reference in New Issue
Block a user