File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,6 +144,30 @@ describe('for a specific station', () => {
144144 } )
145145 } )
146146 } )
147+
148+ describe ( 'getTimelinePrediction' , ( ) => {
149+ test ( 'is not supported' , ( ) => {
150+ expect ( ( ) =>
151+ station . getTimelinePrediction ( {
152+ start : new Date ( '2025-12-19T00:00:00Z' ) ,
153+ end : new Date ( '2025-12-19T01:00:00Z' )
154+ } )
155+ ) . toThrow (
156+ 'Timeline predictions are not supported for subordinate stations'
157+ )
158+ } )
159+ } )
160+ describe ( 'getWaterLevelAtTime' , ( ) => {
161+ test ( 'is not supported' , ( ) => {
162+ expect ( ( ) =>
163+ station . getWaterLevelAtTime ( {
164+ time : new Date ( '2025-12-19T00:00:00Z' )
165+ } )
166+ ) . toThrow (
167+ 'Water level predictions are not supported for subordinate stations'
168+ )
169+ } )
170+ } )
147171 } )
148172
149173 describe ( 'getTimelinePrediction' , ( ) => {
You can’t perform that action at this time.
0 commit comments