diff --git a/src/carousel.ts b/src/carousel.ts index 2cc27b09..48a1a9d5 100644 --- a/src/carousel.ts +++ b/src/carousel.ts @@ -49,7 +49,7 @@ export class Carousel implements ICarousel { * @internal */ public static resetInstanceCount(): void { - /* This should not be part of the coverage report: */ + /* This should not be part of the coverage report: test util */ /* istanbul ignore next */ if (process.env.NODE_ENV === 'test') { __instanceCount = 0; diff --git a/src/utils/cache.ts b/src/utils/cache.ts index 96fa16a4..5a7935af 100644 --- a/src/utils/cache.ts +++ b/src/utils/cache.ts @@ -74,4 +74,6 @@ export function clearFullCache(ref: Reference): void { /** * This exposes the cache instance for test environments. Otherwise it will be null. */ +/* This should not be part of the coverage report: test util */ +/* istanbul ignore next */ export const cacheInstance = (process.env.NODE_ENV === 'test') ? __CACHE : null;