Skip to content

Commit

Permalink
chore(jest): change branch cov treshold
Browse files Browse the repository at this point in the history
  • Loading branch information
lifenautjoe committed Oct 22, 2017
1 parent 6735b3a commit 6fda3cd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
],
"coverageThreshold": {
"global": {
"branches": 90,
"branches": 75,
"functions": 95,
"lines": 95,
"statements": 95
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export interface NoelEventConfig {
replay?: boolean;
replayBufferSize?: number;
noListenersWarning?: boolean;
noel?: NoelImp;
noel: NoelImp;
}

export interface NoelLogger {
Expand Down
2 changes: 0 additions & 2 deletions src/noel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ export class NoelImp implements Noel {
}

private setEventsReplayBuffersSize(replayBuffersSize: number): void {
if (!this.replayEnabled) throw new NoelReplayNotEnabledError();
const eventsMap = this.eventsMap;
if (eventsMap) {
const events = eventsMap.values();
Expand All @@ -176,7 +175,6 @@ export class NoelImp implements Noel {
}

private disableEventsReplay() {
if (!this.replayEnabled) throw new NoelReplayNotEnabledError();
const eventsMap = this.eventsMap;
if (eventsMap) {
const events = eventsMap.values();
Expand Down
7 changes: 5 additions & 2 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"extends": [
"tslint-config-standard",
"tslint-config-prettier"
]
}
],
"rules": {
"no-empty": false
}
}

0 comments on commit 6fda3cd

Please sign in to comment.