db-vendo-client/test/e2e/common.js

15 lines
332 B
JavaScript
Raw Permalink Normal View History

'use strict'
2021-05-20 16:42:43 +01:00
const tap = require('tap')
2019-08-30 18:31:39 +02:00
const createClient = require('../..')
const vbbProfile = require('../../p/vbb')
const client = createClient(vbbProfile, 'public-transport/hafas-client:test')
2021-05-20 16:42:43 +01:00
tap.test('exposes the profile', (t) => {
t.ok(client.profile)
t.equal(client.profile.endpoint, vbbProfile.endpoint)
t.end()
})