Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
natelindev committed Feb 12, 2024
1 parent 3b6c429 commit 673bc43
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 30 deletions.
6 changes: 3 additions & 3 deletions src/__tests__/integration/apple/calendar.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ test('fetchCalendarObjects should be able to fetch calendar objects', async () =
});

expect(objects.length > 0).toBe(true);
expect(objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0)).toBe(
true,
);
expect(
objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0),
).toBe(true);

await deleteObject({
url: objectUrl1,
Expand Down
6 changes: 3 additions & 3 deletions src/__tests__/integration/baikal/addressBook.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ test('fetchVCards should be able to fetch vcards', async () => {
});

expect(vcards.length > 0).toBe(true);
expect(vcards.every((o) => o.data.length > 0 && ((o.etag?.length ?? 0) ?? 0) > 0 && o.url.length > 0)).toBe(
true,
);
expect(
vcards.every((o) => o.data.length > 0 && (o.etag?.length ?? 0 ?? 0) > 0 && o.url.length > 0),
).toBe(true);

const deleteResult = await deleteObject({
url: new URL('2.vcf', addressBooks[0].url).href,
Expand Down
6 changes: 3 additions & 3 deletions src/__tests__/integration/davical/calendar.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ test('fetchCalendarObjects should be able to fetch calendar objects', async () =
});

expect(objects.length > 0).toBe(true);
expect(objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0)).toBe(
true,
);
expect(
objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0),
).toBe(true);

await deleteObject({
url: objectUrl1,
Expand Down
6 changes: 3 additions & 3 deletions src/__tests__/integration/fastmail/addressBook.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ test('fetchVCards should be able to fetch vcards', async () => {
});

expect(vcards.length > 0).toBe(true);
expect(vcards.every((o) => o.data.length > 0 && ((o.etag?.length ?? 0) ?? 0) > 0 && o.url.length > 0)).toBe(
true,
);
expect(
vcards.every((o) => o.data.length > 0 && (o.etag?.length ?? 0 ?? 0) > 0 && o.url.length > 0),
).toBe(true);

const deleteResult = await deleteObject({
url: new URL('2.vcf', addressBooks[0].url).href,
Expand Down
6 changes: 3 additions & 3 deletions src/__tests__/integration/fastmail/calendar.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ test('fetchCalendarObjects should be able to fetch calendar objects', async () =
});

expect(objects.length > 0).toBe(true);
expect(objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0)).toBe(
true,
);
expect(
objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0),
).toBe(true);

await deleteObject({
url: objectUrl1,
Expand Down
6 changes: 3 additions & 3 deletions src/__tests__/integration/google/addressBook.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ test('fetchVCards should be able to fetch vcards', async () => {
});

expect(vcards.length > 0).toBe(true);
expect(vcards.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0)).toBe(
true,
);
expect(
vcards.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0),
).toBe(true);

const vcardInfoResponse = await fetch(
new URL(`787cc01a-f93f-4917-b11a-3e842316e6d7.vcf`, addressBooks[0].url).href,
Expand Down
6 changes: 3 additions & 3 deletions src/__tests__/integration/google/calendar.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ test('fetchCalendarObjects should be able to fetch calendar objects', async () =
});

expect(objects.length > 0).toBe(true);
expect(objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0)).toBe(
true,
);
expect(
objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0),
).toBe(true);

await deleteObject({
url: objectUrl1,
Expand Down
6 changes: 3 additions & 3 deletions src/__tests__/integration/nextcloud/addressBook.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ test('fetchVCards should be able to fetch vcards', async () => {
});

expect(vcards.length > 0).toBe(true);
expect(vcards.every((o) => o.data.length > 0 && ((o.etag?.length ?? 0) ?? 0) > 0 && o.url.length > 0)).toBe(
true,
);
expect(
vcards.every((o) => o.data.length > 0 && (o.etag?.length ?? 0 ?? 0) > 0 && o.url.length > 0),
).toBe(true);

const deleteResult = await deleteObject({
url: new URL('2.vcf', addressBooks[0].url).href,
Expand Down
6 changes: 3 additions & 3 deletions src/__tests__/integration/nextcloud/calendar.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ test('fetchCalendarObjects should be able to fetch calendar objects', async () =
});

expect(objects.length > 0).toBe(true);
expect(objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0)).toBe(
true,
);
expect(
objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0),
).toBe(true);

await deleteObject({
url: objectUrl1,
Expand Down
6 changes: 3 additions & 3 deletions src/__tests__/integration/zoho/addressBook.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ test('fetchVCards should be able to fetch vcards', async () => {
});

expect(vcards.length > 0).toBe(true);
expect(vcards.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0)).toBe(
true,
);
expect(
vcards.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0),
).toBe(true);

const vcardInfoResponse = await fetch(
new URL(`787cc01a-f93f-4917-b11a-3e842316e6d7.vcf`, addressBooks[0].url).href,
Expand Down

0 comments on commit 673bc43

Please sign in to comment.