Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add INSA by NASA #22

Merged
merged 15 commits into from
Mar 13, 2018
Merged

add INSA by NASA #22

merged 15 commits into from
Mar 13, 2018

Conversation

jfilter
Copy link
Contributor

@jfilter jfilter commented Feb 26, 2018

No description provided.

// longitude: 11.641705
// },
// { distance: 200 }
// )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please indent this block like in the other example files.

test/insa.js Outdated
const isRoughlyEqual = require("is-roughly-equal");
const validateFptf = require("validate-fptf");

const co = require("./co");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use single quotes wherever possible. See https://standardjs.com/rules.html

test/insa.js Outdated
const when = createWhen("Europe/Berlin", "de-DE");

const assertValidStationProducts = (t, p) => {
return null; // todo
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be fixed. 😉

test/insa.js Outdated
const client = createClient(insaProfile);

test(
"Magdeburg Hbf to Magdeburg-Buckau",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please indent this tests like e.g. test/oebb.js.

@derhuerst
Copy link
Member

derhuerst commented Feb 28, 2018

Thanks a lot! ❤️

Things still to do:

  • check if the endpoint supports journeyLeg
  • check if the endpoint supports radar
  • remove some todos in test/insa.js
  • add a link to readme.md
  • load test/insa.js in test/index.js

@derhuerst
Copy link
Member

@jfilter friendly ping (:

@derhuerst
Copy link
Member

There are only the via tests failing now, which are flaky with the other profiles as well. They will be replaced with something more reliable as of #26.

@derhuerst derhuerst merged commit 8802e3d into public-transport:master Mar 13, 2018
@derhuerst derhuerst mentioned this pull request Mar 14, 2018
@jfilter
Copy link
Contributor Author

jfilter commented Mar 14, 2018

Thanks @derhuerst for all the work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants