We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 076cc0b commit 59d168bCopy full SHA for 59d168b
1 file changed
packages/tide-predictor/test/noaa.test.ts
@@ -4,8 +4,12 @@ import tidePrediction from '../src/index.js'
4
import db from '@neaps/tide-database'
5
import { createWriteStream } from 'fs'
6
7
-const noaa = db.filter((station) =>
8
- station.source.source_url.includes('noaa.gov')
+const noaa = db.filter(
+ (station) =>
9
+ // TODO: Update this to test subordinate stations too.
10
+ // Need to switch from `getWaterLevelAtTime` to `getExtremesPrediction` and compare time/level.
11
+ station.type === 'reference' &&
12
+ station.source.source_url.includes('noaa.gov')
13
)
14
15
// Create a directory for test cache
0 commit comments