Release version to master #375
Merged
GitHub Actions / Mocha Tests
succeeded
Jul 2, 2024 in 0s
151 passed, 0 failed and 2 skipped
✅ test-results/test-report.json
153 tests were completed in 154s with 151 passed, 0 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/1-api.spec.js | 47✅ | 718ms | ||
test/2-api-filter.spec.js | 4✅ | 2s | ||
test/3-report-signature.spec.js | 3✅ | 1⚪ | 1s | |
test/4-queue-base.spec.js | 59✅ | 1⚪ | 108s | |
test/5-queue-load.spec.js | 1✅ | 16s | ||
workers/loc.api/helpers/test/filter-response.spec.js | 19✅ | 10ms | ||
workers/loc.api/helpers/test/split-symbol-pairs.spec.js | 14✅ | 2ms | ||
workers/loc.api/responder/test/responder.spec.js | 4✅ | 5ms |
✅ test/1-api.spec.js
API
✅ it should be successfully auth
✅ it should be successfully auth, with auth token
✅ it should be successfully performed by the generateToken method
✅ it should be successfully performed by the getAccountSummary method
✅ it should be successfully performed by the getActiveOrders method
✅ it should be successfully performed by the getActivePositions method
✅ it should be successfully performed by the getCandles method
✅ it should be successfully performed by the getChangeLogs method
✅ it should be successfully performed by the getFilterModels method
✅ it should be successfully performed by the getFundingCreditHistory method
✅ it should be successfully performed by the getFundingLoanHistory method
✅ it should be successfully performed by the getFundingOfferHistory method
✅ it should be successfully performed by the getFundingTrades method
✅ it should be successfully performed by the getLedgers method
✅ it should be successfully performed by the getLedgers method, without params
✅ it should be successfully performed by the getLogins method
✅ it should be successfully performed by the getMovementInfo method
✅ it should be successfully performed by the getMovements method
✅ it should be successfully performed by the getMovements method, without MinLimitParamError error
✅ it should be successfully performed by the getMovements method, without params
✅ it should be successfully performed by the getOrders method
✅ it should be successfully performed by the getOrderTrades method
✅ it should be successfully performed by the getOrderTrades method, where the symbol is an array with length equal to one
✅ it should be successfully performed by the getPayInvoiceList method
✅ it should be successfully performed by the getPositionsAudit method
✅ it should be successfully performed by the getPositionsHistory method
✅ it should be successfully performed by the getPositionsSnapshot method
✅ it should be successfully performed by the getPublicTrades method
✅ it should be successfully performed by the getPublicTrades method, where the symbol is an array with length equal to one
✅ it should be successfully performed by the getSettings method
✅ it should be successfully performed by the getStatusMessages method
✅ it should be successfully performed by the getSymbols method
✅ it should be successfully performed by the getTickersHistory method
✅ it should be successfully performed by the getTrades method
✅ it should be successfully performed by the getTrades method, where the symbol is an array
✅ it should be successfully performed by the getTrades method, where the symbol is an array with length equal to one
✅ it should be successfully performed by the getUsersTimeConf method
✅ it should be successfully performed by the getWallets method, without params
✅ it should be successfully performed by the getWeightedAveragesReport method
✅ it should be successfully performed by the isSyncModeConfig method
✅ it should be successfully performed by the updateSettings method
✅ it should not be successfully auth
✅ it should not be successfully performed by a fake method
✅ it should not be successfully performed by the getLedgers method, a greater limit is needed
✅ it should not be successfully performed by the getMovements method
✅ it should not be successfully performed by the getOrderTrades method, where the symbol is an array
✅ it should not be successfully performed by the getPublicTrades method, where the symbol is an array with length more then one
✅ test/2-api-filter.spec.js
API filter
✅ it should be successfully performed by the api methods
✅ it should be successfully performed by the getLedgersFile method
✅ it should be successfully performed by the getMultipleFile method
✅ it should not be successfully performed by the api methods
✅ test/3-report-signature.spec.js
Signature
⚪ it should be successfully performed by the /verify-digital-signature route
✅ it should be successfully performed by the getLedgersFile method
✅ it should be successfully performed by the getMultipleFile method
✅ it should be successfully performed by the verifyDigitalSignature method
✅ test/4-queue-base.spec.js
Queue CSV generation
✅ it should be successfully performed by the getActiveOrdersFile method
✅ it should be successfully performed by the getActivePositionsFile method
✅ it should be successfully performed by the getCandlesFile method
✅ it should be successfully performed by the getChangeLogsFile method
✅ it should be successfully performed by the getFundingCreditHistoryFile method
✅ it should be successfully performed by the getFundingLoanHistoryFile method
✅ it should be successfully performed by the getFundingOfferHistoryFile method
✅ it should be successfully performed by the getFundingTradesFile method
✅ it should be successfully performed by the getLedgersFile method
✅ it should be successfully performed by the getLedgersFile method, with multiple users
✅ it should be successfully performed by the getLoginsFile method
✅ it should be successfully performed by the getMovementsFile method
✅ it should be successfully performed by the getMovementsFile method, where amount < 0
✅ it should be successfully performed by the getMovementsFile method, where amount > 0
✅ it should be successfully performed by the getMultipleFile method
✅ it should be successfully performed by the getOrdersFile method
✅ it should be successfully performed by the getOrderTradesFile method
✅ it should be successfully performed by the getPayInvoiceListFile method
✅ it should be successfully performed by the getPositionsAuditFile method
✅ it should be successfully performed by the getPositionsHistoryFile method
✅ it should be successfully performed by the getPublicTradesFile method
✅ it should be successfully performed by the getStatusMessagesFile method
✅ it should be successfully performed by the getTickersHistoryFile method
✅ it should be successfully performed by the getTradesFile method
✅ it should be successfully performed by the getWalletsFile method
✅ it should be successfully performed by the getWeightedAveragesReportFile method
✅ it should not be successfully auth by the getLedgersFile method
✅ it should not be successfully performed by the getMultipleFile method
✅ it should not be successfully performed by the getPublicTradesFile method, time frame more then a month
✅ it should not be successfully performed by the getPublicTradesFile method, with symbol array
Queue PDF generation
✅ it should be successfully performed by the getActiveOrdersFile method
✅ it should be successfully performed by the getActivePositionsFile method
✅ it should be successfully performed by the getCandlesFile method
✅ it should be successfully performed by the getChangeLogsFile method
✅ it should be successfully performed by the getFundingCreditHistoryFile method
✅ it should be successfully performed by the getFundingLoanHistoryFile method
✅ it should be successfully performed by the getFundingOfferHistoryFile method
✅ it should be successfully performed by the getFundingTradesFile method
✅ it should be successfully performed by the getLedgersFile method
✅ it should be successfully performed by the getLedgersFile method, with multiple users
✅ it should be successfully performed by the getLoginsFile method
✅ it should be successfully performed by the getMovementsFile method
✅ it should be successfully performed by the getMovementsFile method, where amount < 0
✅ it should be successfully performed by the getMovementsFile method, where amount > 0
✅ it should be successfully performed by the getMultipleFile method
✅ it should be successfully performed by the getOrdersFile method
✅ it should be successfully performed by the getOrderTradesFile method
✅ it should be successfully performed by the getPayInvoiceListFile method
✅ it should be successfully performed by the getPositionsAuditFile method
✅ it should be successfully performed by the getPositionsHistoryFile method
✅ it should be successfully performed by the getPublicTradesFile method
✅ it should be successfully performed by the getStatusMessagesFile method
✅ it should be successfully performed by the getTickersHistoryFile method
✅ it should be successfully performed by the getTradesFile method
✅ it should be successfully performed by the getWalletsFile method
⚪ it should be successfully performed by the getWeightedAveragesReportFile method
✅ it should not be successfully auth by the getLedgersFile method
✅ it should not be successfully performed by the getMultipleFile method
✅ it should not be successfully performed by the getPublicTradesFile method, time frame more then a month
✅ it should not be successfully performed by the getPublicTradesFile method, with symbol array
✅ test/5-queue-load.spec.js
Queue load
✅ it should be successfully performed by the getLedgersFile method, with 100 users
✅ workers/loc.api/helpers/test/filter-response.spec.js
filterResponse helper
✅ it should be successful by not consider capital letters
✅ it should be successful with $eq condition
✅ it should be successful with $gt and $like and $nin conditions
✅ it should be successful with $gt condition
✅ it should be successful with $gte condition
✅ it should be successful with $in condition
✅ it should be successful with $isNotNull operator
✅ it should be successful with $isNull operator
✅ it should be successful with $like condition using <_>
✅ it should be successful with $like condition using <%>
✅ it should be successful with $like condition using escaping <_>
✅ it should be successful with $like condition using escaping <%>
✅ it should be successful with $like condition, not consider capital letters
✅ it should be successful with $lt condition
✅ it should be successful with $lte condition
✅ it should be successful with $ne condition
✅ it should be successful with $nin condition
✅ it should be successful with $not condition
✅ it should be successful with $or operator
✅ workers/loc.api/helpers/test/split-symbol-pairs.spec.js
splitSymbolPairs helper
✅ BTC:CNHT pair
✅ BTCEOS pair
✅ DUSK:USD pair
✅ EURUSD pair
✅ fBTCUSD pair
✅ MATIC coin, without separator
✅ MATICM coin, without separator
✅ MATICMF0 coin, without separator
✅ tBTCF0:USD pair
✅ tBTCF0USD pair, without separator
✅ tEUR:USD pair, with separator
✅ tMATIC:USD pair, without separator
✅ tXAUT:USD pair
✅ tXAUTUSD pair, without separator
✅ workers/loc.api/responder/test/responder.spec.js
Responder service
✅ handle error in body
✅ handle HTML error
✅ handle plain error status text
✅ handle plain error text in raw body
Loading