Skip to content

Commit 810bd1c

Browse files
Daniel1984JacobPlaster
authored andcommitted
publicPulseHistory function test coverage
1 parent d1ab9c8 commit 810bd1c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

test/lib/rest-2-integration.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ describe('RESTv2 integration (mock server) tests', () => {
110110
['candles', 'candles.trade:30m:tBTCUSD.hist', [{ timeframe: '30m', symbol: 'tBTCUSD', section: 'hist' }]],
111111
['statusMessages', 'status_messages.deriv.ALL', ['deriv', ['ALL']]],
112112
['publicPulseProfile', 'public_pulse_profile.nickname', ['nickname']],
113+
['publicPulseHistory', 'public_pulse_hist', ['limit', 'end']],
113114

114115
// private
115116
['alertList', 'alerts.price', ['price']],

test/lib/rest-2-unit.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,6 @@ describe('RESTv2', () => {
7474
testMethod('publicPulseProfile', '/pulse/profile/Bitfinex', true, 'Bitfinex')
7575
testMethod('addPulse', '/auth/w/pulse/add', false)
7676
testMethod('deletePulse', '/auth/w/pulse/del', false)
77+
testMethod('publicPulseHistory', '/pulse/hist?limit=2&end=1589559090651', true, 2, 1589559090651)
7778
})
7879
})

0 commit comments

Comments
 (0)