1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-12-28 15:47:50 +01:00
This commit is contained in:
tim 2017-06-21 16:04:35 +02:00
parent c17d614ab6
commit 0da90e825f

View File

@ -18,7 +18,7 @@ test('generate API URLS', t => {
'transactionsDetail': 'transactions/%(transactionId)s',
'assets': 'assets',
}
Object.keys(endpoints).forEach((endpointName) => {
Object.keys(endpoints).forEach(endpointName => {
const url = conn.getApiUrls(endpointName)
const expected = API_PATH + endpoints[endpointName]
t.is(url, expected)