diff --git a/p/insa/index.js b/p/insa/index.js index b50c02fc..439aa6a5 100644 --- a/p/insa/index.js +++ b/p/insa/index.js @@ -67,10 +67,8 @@ const insaProfile = { locale: 'de-DE', timezone: 'Europe/Berlin', endpoint: 'http://reiseauskunft.insa.de/bin/mgate.exe', - products: products.allProducts, transformReqBody, - defaultProducts, parseProducts: createParseBitmask(products.allProducts, defaultProducts), formatProducts, diff --git a/readme.md b/readme.md index a0f71162..09eab5fe 100644 --- a/readme.md +++ b/readme.md @@ -7,6 +7,7 @@ HAFAS endpoint | wrapper library? | docs | example code | source code [Deutsche Bahn](https://en.wikipedia.org/wiki/Deutsche_Bahn) | [`db-hafas`](https://github.com/derhuerst/db-hafas), which has additional features | [docs](p/db/readme.md) | [example code](p/db/example.js) | [src](p/db/index.js) [Berlin & Brandenburg public transport](https://en.wikipedia.org/wiki/Verkehrsverbund_Berlin-Brandenburg) | [`vbb-hafas`](https://github.com/derhuerst/vbb-hafas), which has additional features | [docs](p/vbb/readme.md) | [example code](p/vbb/example.js) | [src](p/vbb/index.js) [Österreichische Bundesbahnen (ÖBB)](https://en.wikipedia.org/wiki/Austrian_Federal_Railways) | – | [docs](p/oebb/readme.md) | [example code](p/oebb/example.js) | [src](p/oebb/index.js) +[Nahverkehr Sachsen-Anhalt (NASA)](https://de.wikipedia.org/wiki/Nahverkehrsservice_Sachsen-Anhalt)/[INSA](https://insa.de) | – | [docs](p/insa/readme.md) | [example code](p/insa/example.js) | [src](p/insa/index.js) [![npm version](https://img.shields.io/npm/v/hafas-client.svg)](https://www.npmjs.com/package/hafas-client) [![build status](https://img.shields.io/travis/derhuerst/hafas-client.svg)](https://travis-ci.org/derhuerst/hafas-client) diff --git a/test/insa.js b/test/insa.js index b23db709..eea792f0 100644 --- a/test/insa.js +++ b/test/insa.js @@ -24,7 +24,6 @@ const { const when = createWhen('Europe/Berlin', 'de-DE') const assertValidStationProducts = (t, p) => { - return null; // todo t.ok(p) t.equal(typeof p.nationalExp, 'boolean') t.equal(typeof p.national, 'boolean') @@ -32,7 +31,6 @@ const assertValidStationProducts = (t, p) => { t.equal(typeof p.suburban, 'boolean') t.equal(typeof p.tram, 'boolean') t.equal(typeof p.bus, 'boolean') - // console.error(p); // todo t.equal(typeof p.tourismTrain, 'boolean') }