mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
14 lines
332 B
JavaScript
14 lines
332 B
JavaScript
'use strict'
|
|
|
|
const tap = require('tap')
|
|
|
|
const createClient = require('../..')
|
|
const vbbProfile = require('../../p/vbb')
|
|
|
|
const client = createClient(vbbProfile, 'public-transport/hafas-client:test')
|
|
|
|
tap.test('exposes the profile', (t) => {
|
|
t.ok(client.profile)
|
|
t.equal(client.profile.endpoint, vbbProfile.endpoint)
|
|
t.end()
|
|
})
|