Browse Source

Fix bitcoinjs-lib import

master
Luke Childs 6 years ago
parent
commit
282bed1354
  1. 5
      test/unit.js

5
test/unit.js

@ -1,10 +1,7 @@
import test from 'ava';
// For some reason AVA can't `import` bitcoin so `require` for now.
// import bitcoin from 'bitcoinjs-lib';
import * as bitcoin from 'bitcoinjs-lib';
import Vain from '..';
const bitcoin = require('bitcoinjs-lib');
test('Vain is exported', t => {
t.not(Vain, undefined);
});

Loading…
Cancel
Save