// Headless store tests replace only the browser map service; stores and Pinia remain real. export async function resolve(specifier, context, nextResolve) { if (specifier.endsWith('/mapService.js')) return { url: 'data:text/javascript,' + encodeURIComponent('export const getCameraState=()=>null; export const highlightMapObject=()=>0; export const setCameraFocus=()=>false;'), shortCircuit: true, } return nextResolve(specifier, context) }