chore: Switch coverage from istanbul to the v8 provider for speed (#2619)

This commit is contained in:
Dermot Duffy
2026-07-26 14:21:27 -07:00
committed by GitHub
parent 3b8835ee7c
commit ababe133a8
32 changed files with 128 additions and 275 deletions
+3 -3
View File
@@ -130,7 +130,7 @@ export class PTZDragController implements ReactiveController {
}
private _restoreGestureStyles(): void {
/* istanbul ignore next: only called when gesture is active -- @preserve */
/* v8 ignore next: only called when gesture is active -- @preserve */
if (this._gestureElement) {
this._gestureElement.style.cursor = this._savedCursor;
this._gestureElement.style.touchAction = this._savedTouchAction;
@@ -138,7 +138,7 @@ export class PTZDragController implements ReactiveController {
}
private _setCursor(grabbing: boolean): void {
/* istanbul ignore next: only called when gesture is active -- @preserve */
/* v8 ignore next: only called when gesture is active -- @preserve */
if (this._gestureElement) {
this._gestureElement.style.cursor = grabbing ? CURSOR_GRABBING : CURSOR_GRAB;
}
@@ -238,7 +238,7 @@ export class PTZDragController implements ReactiveController {
};
private _dispatch(action: PTZAction | null, phase?: PTZActionPhase): void {
/* istanbul ignore next: all call sites guard against this -- @preserve */
/* v8 ignore next: all call sites guard against this -- @preserve */
if (!action) {
return;
}