UNPKG

geojson2gtfs

Version:

A tiny nodeJs cli app to transform geoJson files (describing an onDemand informal public transport routes) to its corresponding GTFS entities.

20 lines (14 loc) 547 B
'use strict'; const expect = require('chai').expect; const assert = require('chai').assert; const settings = require('../../src/settingsHandler/settingsHandler'); describe('geoJsonObjecUtils tests:', () => { it('A settings object should be correctly loaded', () => { let stubSettings = { 'provider': 'google', 'api': 'adasdasdasd' }; settings.setSettings(stubSettings); assert.strictEqual(settings.getSettings().provider, stubSettings.provider, 'settings dont loaded'); }); });