mirror of
				https://github.com/public-transport/db-vendo-client.git
				synced 2025-11-04 10:06:32 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			365 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			365 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import tap from 'tap';
 | 
						|
 | 
						|
import {createClient} from '../../index.js';
 | 
						|
import {profile as dbProfile} from '../../p/db/index.js';
 | 
						|
 | 
						|
const client = createClient(dbProfile, 'public-transport/hafas-client:test', {enrichStations: false});
 | 
						|
 | 
						|
tap.test('exposes the profile', (t) => {
 | 
						|
	t.ok(client.profile);
 | 
						|
	t.equal(client.profile.endpoint, dbProfile.endpoint);
 | 
						|
	t.end();
 | 
						|
});
 |