Skip to content

Commit

Permalink
istanbul ignore else in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robrichard committed Jan 13, 2020
1 parent 5d8bf4d commit 5226175
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/__tests__/starWarsDeferredQuery-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ describe('Star Wars Query Deferred Tests', () => {

const patches = [];

/* istanbul ignore else */
if (patchesIterable) {
await forAwaitEach(patchesIterable, patch => {
patches.push(patch);
Expand Down Expand Up @@ -123,6 +124,7 @@ describe('Star Wars Query Deferred Tests', () => {

const patches = [];

/* istanbul ignore else */
if (patchesIterable) {
await forAwaitEach(patchesIterable, patch => {
patches.push(patch);
Expand Down Expand Up @@ -177,6 +179,7 @@ describe('Star Wars Query Deferred Tests', () => {

const patches = [];

/* istanbul ignore else */
if (patchesIterable) {
await forAwaitEach(patchesIterable, patch => {
patches.push(patch);
Expand Down Expand Up @@ -235,6 +238,7 @@ describe('Star Wars Query Deferred Tests', () => {

const patches = [];

/* istanbul ignore else */
if (patchesIterable) {
await forAwaitEach(patchesIterable, patch => {
patches.push(patch);
Expand Down Expand Up @@ -325,6 +329,7 @@ describe('Star Wars Query Deferred Tests', () => {

const patches = [];

/* istanbul ignore else */
if (patchesIterable) {
await forAwaitEach(patchesIterable, patch => {
patches.push(patch);
Expand Down Expand Up @@ -410,6 +415,7 @@ describe('Star Wars Query Deferred Tests', () => {
});
const patches = [];

/* istanbul ignore else */
if (patchesIterable) {
await forAwaitEach(patchesIterable, patch => {
patches.push(patch);
Expand Down Expand Up @@ -459,6 +465,8 @@ describe('Star Wars Query Deferred Tests', () => {
},
});
const patches = [];

/* istanbul ignore else */
if (patchesIterable) {
await forAwaitEach(patchesIterable, patch => {
patches.push(patch);
Expand Down Expand Up @@ -543,6 +551,8 @@ describe('Star Wars Query Deferred Tests', () => {
});

const patches = [];

/* istanbul ignore else */
if (patchesIterable) {
await forAwaitEach(patchesIterable, patch => {
patches.push(patch);
Expand Down Expand Up @@ -587,6 +597,8 @@ describe('Star Wars Query Deferred Tests', () => {
});

const patches = [];

/* istanbul ignore else */
if (patchesIterable) {
await forAwaitEach(patchesIterable, patch => {
patches.push(patch);
Expand Down
6 changes: 6 additions & 0 deletions src/__tests__/starWarsStreamQuery-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ describe('Star Wars Query Stream Tests', () => {
},
});
const patches = [];

/* istanbul ignore else */
if (patchesIterable) {
await forAwaitEach(patchesIterable, patch => {
patches.push(patch);
Expand Down Expand Up @@ -268,6 +270,8 @@ describe('Star Wars Query Stream Tests', () => {
},
});
const patches = [];

/* istanbul ignore else */
if (patchesIterable) {
await forAwaitEach(patchesIterable, patch => {
patches.push(patch);
Expand Down Expand Up @@ -330,6 +334,7 @@ describe('Star Wars Query Stream Tests', () => {

const patches = [];

/* istanbul ignore else */
if (patchesIterable) {
await forAwaitEach(patchesIterable, patch => {
patches.push(patch);
Expand Down Expand Up @@ -370,6 +375,7 @@ describe('Star Wars Query Stream Tests', () => {

const patches = [];

/* istanbul ignore else */
if (patchesIterable) {
await forAwaitEach(patchesIterable, patch => {
patches.push(patch);
Expand Down

0 comments on commit 5226175

Please sign in to comment.