Skip to content
This repository has been archived by the owner on May 31, 2022. It is now read-only.

Commit

Permalink
Fix Unit Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Stormtv committed Mar 29, 2019
1 parent d155541 commit 19d111e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ describe('Wallet', () => {
let encryptedWallet = null
it('encrypts the wallet', () => {
encryptedWallet = wallet.encrypt()
expect(encryptedWallet).to.have.a.lengthOf(576)
let hex = /([\da-fA-F]+)/g
expect(hex.test(encryptedWallet)).to.be.true
})
it('decrypts the wallet', () => {
let loadWallet = new Wallet({
Expand Down Expand Up @@ -121,6 +122,7 @@ describe('Wallet', () => {
let wallet = new Wallet({
password: 'password',
mqtt: false,
logging: 'error',
fullSync: false
})
it('Creates Wallets | Sends Two Transactions', async function () {
Expand Down

0 comments on commit 19d111e

Please sign in to comment.