File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ export const UnitSidebar = () => {
133133 if ( navigator . clipboard ) {
134134 // Modern approach: requires HTTPS (secure context)
135135 void navigator . clipboard . writeText ( locationId ) ;
136- } else {
136+ } else /* istanbul ignore next */ {
137137 // Fallback for HTTP (non-secure) dev environments
138138 // Note: execCommand is deprecated but still widely supported as fallback
139139 const textarea = document . createElement ( 'textarea' ) ;
Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ export const UnitInfoSidebar = () => {
265265 if ( navigator . clipboard ) {
266266 // Modern approach: requires HTTPS (secure context)
267267 void navigator . clipboard . writeText ( locationId ) ;
268- } else {
268+ } else /* istanbul ignore next */ {
269269 // Fallback for HTTP (non-secure) dev environments
270270 // Note: execCommand is deprecated but still widely supported as fallback
271271 const textarea = document . createElement ( 'textarea' ) ;
You can’t perform that action at this time.
0 commit comments