Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
WIP: Make Istanbul happy
Browse files Browse the repository at this point in the history
  • Loading branch information
acdvorak committed Feb 10, 2019
1 parent 0274904 commit a295e93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/mdc-tab-indicator/fading-foundation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import {MDCTabIndicatorFoundation} from './foundation';

/* istanbul ignore next: subclass is not a branch statement */
class MDCFadingTabIndicatorFoundation extends MDCTabIndicatorFoundation {
activate() {
this.adapter_.addClass(MDCTabIndicatorFoundation.cssClasses.ACTIVE);
Expand All @@ -31,6 +32,6 @@ class MDCFadingTabIndicatorFoundation extends MDCTabIndicatorFoundation {
deactivate() {
this.adapter_.removeClass(MDCTabIndicatorFoundation.cssClasses.ACTIVE);
}
} /* istanbul thinks this is an `if` statement */
}

export {MDCFadingTabIndicatorFoundation as default, MDCFadingTabIndicatorFoundation};
3 changes: 2 additions & 1 deletion packages/mdc-tab-indicator/sliding-foundation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import {MDCTabIndicatorFoundation} from './foundation';

/* istanbul ignore next: subclass is not a branch statement */
class MDCSlidingTabIndicatorFoundation extends MDCTabIndicatorFoundation {
activate(previousIndicatorClientRect?: ClientRect | null) {
// Early exit if no indicator is present to handle cases where an indicator
Expand Down Expand Up @@ -53,6 +54,6 @@ class MDCSlidingTabIndicatorFoundation extends MDCTabIndicatorFoundation {
deactivate() {
this.adapter_.removeClass(MDCTabIndicatorFoundation.cssClasses.ACTIVE);
}
} /* istanbul thinks this is an `if` statement */
}

export {MDCSlidingTabIndicatorFoundation as default, MDCSlidingTabIndicatorFoundation};

0 comments on commit a295e93

Please sign in to comment.