|
|
@ -145,7 +145,9 @@ describe('BIP39', function() { |
|
|
|
var phrase = BIP39.mnemonic(BIP39WordlistEn, 128); |
|
|
|
}); |
|
|
|
|
|
|
|
//do not run these slow tests on TRAVIS which often fails
|
|
|
|
var vectors = bip39_vectors['english']; |
|
|
|
if (!process.env.TRAVIS && !process.env.CI) { |
|
|
|
for (var v = 0 ; v < vectors.length ; v++) { |
|
|
|
(function(v){ |
|
|
|
it('should pass test vector ' + v, function() { |
|
|
@ -161,6 +163,7 @@ describe('BIP39', function() { |
|
|
|
}); |
|
|
|
})(v); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|