Skip to content

Commit

Permalink
wip: fixing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sirpy committed Sep 24, 2020
1 parent 6e92c5b commit a1d2d85
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 57 deletions.
1 change: 0 additions & 1 deletion src/server/blockchain/AdminWallet.js
Expand Up @@ -5,7 +5,6 @@ import HDKey from 'hdkey'
import bip39 from 'bip39-light'
import { defer, from as fromPromise, timer } from 'rxjs'
import { retryWhen, mergeMap, throwError } from 'rxjs/operators'
import moment from 'moment'
import get from 'lodash/get'
import * as web3Utils from 'web3-utils'
import IdentityABI from '@gooddollar/goodcontracts/build/contracts/Identity.min.json'
Expand Down
46 changes: 0 additions & 46 deletions src/server/loadtest/__tests__/loadtest-middleware.js

This file was deleted.

8 changes: 0 additions & 8 deletions src/server/login/__tests__/login-middleware.js

This file was deleted.

3 changes: 1 addition & 2 deletions src/server/utils/__tests__/fuseapi.js
Expand Up @@ -2,14 +2,13 @@
import fuseapi from '../fuseapi'

describe('fuseAPI', () => {
test('get list of wallet transaction', async done => {
test('get list of wallet transaction', async () => {
const { result } = await fuseapi.getTxList({
address: '0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1',
page: 1,
offset: 10,
filterby: 'from'
})
expect(Array.isArray(result)).toBeTruthy()
done()
})
})

0 comments on commit a1d2d85

Please sign in to comment.