-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
add INSA by NASA #22
Conversation
p/insa/example.js
Outdated
// longitude: 11.641705 | ||
// }, | ||
// { distance: 200 } | ||
// ) |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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
.
Thanks a lot! ❤️ Things still to do:
|
@jfilter friendly ping (: |
- apparently INSA doesn't return prices
There are only the |
Thanks @derhuerst for all the work. |
No description provided.