Skip to content

Commit 2f415ad

Browse files
robrichardlilianammmatos
authored andcommitted
istanbul ignore else in tests
1 parent c4ef68e commit 2f415ad

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

src/__tests__/starWarsDeferredQuery-test.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ describe('Star Wars Query Deferred Tests', () => {
8787

8888
const patches = [];
8989

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

124125
const patches = [];
125126

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

178180
const patches = [];
179181

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

236239
const patches = [];
237240

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

326330
const patches = [];
327331

332+
/* istanbul ignore else */
328333
if (patchesIterable) {
329334
await forAwaitEach(patchesIterable, patch => {
330335
patches.push(patch);
@@ -410,6 +415,7 @@ describe('Star Wars Query Deferred Tests', () => {
410415
});
411416
const patches = [];
412417

418+
/* istanbul ignore else */
413419
if (patchesIterable) {
414420
await forAwaitEach(patchesIterable, patch => {
415421
patches.push(patch);
@@ -459,6 +465,8 @@ describe('Star Wars Query Deferred Tests', () => {
459465
},
460466
});
461467
const patches = [];
468+
469+
/* istanbul ignore else */
462470
if (patchesIterable) {
463471
await forAwaitEach(patchesIterable, patch => {
464472
patches.push(patch);
@@ -543,6 +551,8 @@ describe('Star Wars Query Deferred Tests', () => {
543551
});
544552

545553
const patches = [];
554+
555+
/* istanbul ignore else */
546556
if (patchesIterable) {
547557
await forAwaitEach(patchesIterable, patch => {
548558
patches.push(patch);
@@ -587,6 +597,8 @@ describe('Star Wars Query Deferred Tests', () => {
587597
});
588598

589599
const patches = [];
600+
601+
/* istanbul ignore else */
590602
if (patchesIterable) {
591603
await forAwaitEach(patchesIterable, patch => {
592604
patches.push(patch);

src/__tests__/starWarsStreamQuery-test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ describe('Star Wars Query Stream Tests', () => {
214214
},
215215
});
216216
const patches = [];
217+
218+
/* istanbul ignore else */
217219
if (patchesIterable) {
218220
await forAwaitEach(patchesIterable, patch => {
219221
patches.push(patch);
@@ -268,6 +270,8 @@ describe('Star Wars Query Stream Tests', () => {
268270
},
269271
});
270272
const patches = [];
273+
274+
/* istanbul ignore else */
271275
if (patchesIterable) {
272276
await forAwaitEach(patchesIterable, patch => {
273277
patches.push(patch);
@@ -330,6 +334,7 @@ describe('Star Wars Query Stream Tests', () => {
330334

331335
const patches = [];
332336

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

371376
const patches = [];
372377

378+
/* istanbul ignore else */
373379
if (patchesIterable) {
374380
await forAwaitEach(patchesIterable, patch => {
375381
patches.push(patch);

0 commit comments

Comments
 (0)