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
+1 -1
View File
@@ -35,7 +35,7 @@ export class LatestValueRunner<T> {
this._running = true;
// The drain loop cannot reject (the operation's errors are caught within
// it); the catch only satisfies the no-floating-promises rule.
/* istanbul ignore next -- @preserve */
/* v8 ignore next -- @preserve */
this._drain().catch(() => {});
}
return ran;
+2 -2
View File
@@ -24,12 +24,12 @@ interface IntegrationDiagnostics {
export const getReleaseVersion = (): string => {
const releaseVersion: string = '__ADVANCED_CAMERA_CARD_RELEASE_VERSION__';
/* istanbul ignore if: depends on rollup substitution -- @preserve */
/* v8 ignore if: depends on rollup substitution -- @preserve */
if (releaseVersion === 'pkg') {
return pkg.version;
}
/* istanbul ignore if: depends on rollup substitution -- @preserve */
/* v8 ignore if: depends on rollup substitution -- @preserve */
if (releaseVersion === 'dev') {
return `dev+${pkg['gitAbbrevHash']}`;
}