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: follow extracted FIRMS aggregation code

Sameh Khamiseadeac6c1055
diff --git a/src/data/firmsProxy.test.mjs b/src/data/firmsProxy.test.mjs
index b65b9ae72..a6dcdb774 100644
--- a/src/data/firmsProxy.test.mjs
+++ b/src/data/firmsProxy.test.mjs
@@ -3,7 +3,7 @@ import fs from 'node:fs';
import test from 'node:test';
import { filterTrailing24h, parseFirmsCsv } from './firmsCsv.js';
-const config = fs.readFileSync(new URL('../../server/providers/local.js', import.meta.url), 'utf8');
+const config = fs.readFileSync(new URL('../../server/providers/firms.js', import.meta.url), 'utf8');
const start = config.indexOf(' async function refreshUpstream(key) {');
assert.notEqual(start, -1, 'FIRMS refresh function exists');
const end = config.indexOf('\n }', start);