Skip to content

Latest commit

 

History

History
 
 

e2e

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

AlunaJS / Integration Tests

Make sure exchange integratons are working.

TL;DR

This will run all tets again all implemented exchanges.

yarn test-e2e

AlunaRC

Before moving on, be sure to set up your .alunarc:

Customization

If you want to run e2e tests against a single exchange, replace:

// test/e2e/index.ts
const exchangeIds = Object.keys(exchanges)

By this:

const exchangeIds = ['desiredExchangeId']

Example output

  aluna
    — desiredExchangeId
      /public
        symbol
          ✔ listRaw (728ms)
          ✔ list
        market
          ✔ listRaw (858ms)
          ✔ list
      /authed
        key
          ✔ fetchDetails (1328ms)
        balance
          ✔ list
          ✔ listRaw
          ✔ getTradableBalance
        order
          1) list
          ✔ listRaw
          ✔ place
          ✔ edit
          ✔ cancel


  12 passing (6s)
  1 failing

More