mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-15 07:42:23 +00:00
feat(outlines): voice outlines without Overpass — bundled US places and neighborhoods, guarded Nominatim, OpenFreeMap streets and buildings
This commit is contained in:
1 parent
e7707d9a0f
commit
9559e7a282
333 files changed
+13203
-271
No files matched your search
@@ -158,6 +158,18 @@ test('the guard catches label APIs and entity graphics, including aliases and mu
|
||||
assert.ok(cesiumLabels(source).length > 0, source);
|
||||
});
|
||||
|
||||
test('Overpass-free outline modules construct no Cesium labels and import no Cesium', () => {
|
||||
for (const file of [
|
||||
'src/annotations/outlineRungs.js',
|
||||
'src/sources/openFreeMapOutlines.js',
|
||||
'src/sources/nominatimOutlines.js',
|
||||
]) {
|
||||
const source = readFileSync(root + file, 'utf8');
|
||||
assert.deepEqual(cesiumLabels(source), [], file);
|
||||
assert.doesNotMatch(source, /from ['"]cesium['"]/, file);
|
||||
}
|
||||
});
|
||||
|
||||
test('schemas, UI label lookups, comments and strings are not Cesium labels', () => {
|
||||
for (const source of [
|
||||
'// LabelCollection\nconst help = "new Cesium.Label";',
|
||||
|
||||
Reference in new issue
Block a user