chore: Switch coverage from istanbul to the v8 provider for speed (#2619)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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']}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user