Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

test: name the vessel provider in the feed-failure QA fixture

Sameh Khamisb0483dc5460a
diff --git a/scripts/qa-failstate-b10.mjs b/scripts/qa-failstate-b10.mjs
index 983562fa7..95dc2ba4f 100644
--- a/scripts/qa-failstate-b10.mjs
+++ b/scripts/qa-failstate-b10.mjs
@@ -197,6 +197,8 @@ async function main() {
req.respond({
status: 200,
contentType: 'application/json',
+ // The bundled server names its vessel provider; attribution reads it.
+ headers: { 'X-Feed-Source': 'AISStream' },
body: JSON.stringify({ rows: [], status: 'error', error: 'invalid key' }),
});
return;