mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2025-02-14 21:10:32 +01:00
rm ()
This commit is contained in:
parent
c17d614ab6
commit
0da90e825f
@ -18,7 +18,7 @@ test('generate API URLS', t => {
|
|||||||
'transactionsDetail': 'transactions/%(transactionId)s',
|
'transactionsDetail': 'transactions/%(transactionId)s',
|
||||||
'assets': 'assets',
|
'assets': 'assets',
|
||||||
}
|
}
|
||||||
Object.keys(endpoints).forEach((endpointName) => {
|
Object.keys(endpoints).forEach(endpointName => {
|
||||||
const url = conn.getApiUrls(endpointName)
|
const url = conn.getApiUrls(endpointName)
|
||||||
const expected = API_PATH + endpoints[endpointName]
|
const expected = API_PATH + endpoints[endpointName]
|
||||||
t.is(url, expected)
|
t.is(url, expected)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user