-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add helper to mocha tests
- Loading branch information
SpiralArm Consulting Ltd
committed
Apr 17, 2019
1 parent
87e3365
commit a6d1b15
Showing
7 changed files
with
64 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
'use strict'; | ||
/** | ||
* LDBWSOperationInfo.js | ||
* This is a helper that defines information for specific LDBWS Operation Requests. | ||
*/ | ||
|
||
const OperationInfo = { | ||
"GetDepartureBoard": { | ||
"key": "GetStationBoardResult", | ||
"type": "board" | ||
}, | ||
"GetDepBoardWithDetails": { | ||
"key": "GetStationBoardResult", | ||
"type": "board" | ||
}, | ||
"GetArrivalBoard": { | ||
"key": "GetStationBoardResult", | ||
"type": "board" | ||
}, | ||
"GetArrBoardWithDetails": { | ||
"key": "GetStationBoardResult", | ||
"type": "board" | ||
}, | ||
"GetArrivalDepartureBoard": { | ||
"key": "GetStationBoardResult", | ||
"type": "board" | ||
}, | ||
"GetArrDepBoardWithDetails": { | ||
"key": "GetStationBoardResult", | ||
"type": "board" | ||
}, | ||
"GetNextDepartures": { | ||
"key": "DeparturesBoard", | ||
"type": "departure" | ||
}, | ||
"GetNextDeparturesWithDetails": { | ||
"key": "DeparturesBoard", | ||
"type": "departure" | ||
}, | ||
"GetFastestDepartures": { | ||
"key": "DeparturesBoard", | ||
"type": "departure" | ||
}, | ||
"GetFastestDeparturesWithDetails":{ | ||
"key": "DeparturesBoard", | ||
"type": "departure" | ||
}, | ||
"GetServiceDetails": { | ||
"key": "GetServiceDetailsResult", | ||
"type": "service" | ||
}, | ||
} | ||
|
||
module.exports = OperationInfo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters