db-vendo-client/test/e2e/common.js
2020-01-05 18:10:09 +01:00

14 lines
330 B
JavaScript

'use strict'
const test = require('tape')
const createClient = require('../..')
const vbbProfile = require('../../p/vbb')
const client = createClient(vbbProfile, 'public-transport/hafas-client:test')
test('exposes the profile', (t) => {
t.ok(client.profile)
t.equal(client.profile.endpoint, vbbProfile.endpoint)
t.end()
})