chore: adopt the new AIS test into the explicit formatting scope

scripts/format.mjs skips *.test.mjs during runtime discovery, so a test
added under a discovered root is never seen by format:check until it is
listed in scripts/format-scope.json — which is what CODE-BOUNDARIES.md
means by adding tests to the explicit list as they are adopted. The file
went in unformatted and the check stayed green, hiding it.

Listed and formatted; format:check now covers 917 files instead of 916.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
Theerayut BoonkirdandClaude Opus 5 committed 2026-09-18 00:43:02 +01:00
1 parent b0f5072347
commit 75869d0c10
2 files changed
+6 -2

No files matched your search

+2 -1
View File
@@ -743,5 +743,6 @@
"src/director/interactions/interactions.test.mjs",
"scripts/qa-director-interactions.mjs",
"src/director/sharing/sharing.test.mjs",
"scripts/qa-director-sharing.mjs"
"scripts/qa-director-sharing.mjs",
"src/data/aisStreamSentinels.test.mjs"
]
+4 -1
View File
@@ -1,6 +1,9 @@
import test from 'node:test';
import assert from 'node:assert/strict';
import { aisStreamRows, ingestAisStreamEnvelope } from '../../server/providers/vessels/ais-store.js';
import {
aisStreamRows,
ingestAisStreamEnvelope,
} from '../../server/providers/vessels/ais-store.js';
// ITU-R M.1371 encodes speed over ground in 0.1-knot units and course over
// ground in 0.1-degree units, reserving the top code of each field for "not