Skip to content

Commit 673bc43

Browse files
committed
fix lint issues
1 parent 3b6c429 commit 673bc43

File tree

10 files changed

+30
-30
lines changed

10 files changed

+30
-30
lines changed

src/__tests__/integration/apple/calendar.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ test('fetchCalendarObjects should be able to fetch calendar objects', async () =
136136
});
137137

138138
expect(objects.length > 0).toBe(true);
139-
expect(objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0)).toBe(
140-
true,
141-
);
139+
expect(
140+
objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0),
141+
).toBe(true);
142142

143143
await deleteObject({
144144
url: objectUrl1,

src/__tests__/integration/baikal/addressBook.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ test('fetchVCards should be able to fetch vcards', async () => {
8080
});
8181

8282
expect(vcards.length > 0).toBe(true);
83-
expect(vcards.every((o) => o.data.length > 0 && ((o.etag?.length ?? 0) ?? 0) > 0 && o.url.length > 0)).toBe(
84-
true,
85-
);
83+
expect(
84+
vcards.every((o) => o.data.length > 0 && (o.etag?.length ?? 0 ?? 0) > 0 && o.url.length > 0),
85+
).toBe(true);
8686

8787
const deleteResult = await deleteObject({
8888
url: new URL('2.vcf', addressBooks[0].url).href,

src/__tests__/integration/davical/calendar.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ test('fetchCalendarObjects should be able to fetch calendar objects', async () =
136136
});
137137

138138
expect(objects.length > 0).toBe(true);
139-
expect(objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0)).toBe(
140-
true,
141-
);
139+
expect(
140+
objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0),
141+
).toBe(true);
142142

143143
await deleteObject({
144144
url: objectUrl1,

src/__tests__/integration/fastmail/addressBook.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ test('fetchVCards should be able to fetch vcards', async () => {
8080
});
8181

8282
expect(vcards.length > 0).toBe(true);
83-
expect(vcards.every((o) => o.data.length > 0 && ((o.etag?.length ?? 0) ?? 0) > 0 && o.url.length > 0)).toBe(
84-
true,
85-
);
83+
expect(
84+
vcards.every((o) => o.data.length > 0 && (o.etag?.length ?? 0 ?? 0) > 0 && o.url.length > 0),
85+
).toBe(true);
8686

8787
const deleteResult = await deleteObject({
8888
url: new URL('2.vcf', addressBooks[0].url).href,

src/__tests__/integration/fastmail/calendar.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ test('fetchCalendarObjects should be able to fetch calendar objects', async () =
136136
});
137137

138138
expect(objects.length > 0).toBe(true);
139-
expect(objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0)).toBe(
140-
true,
141-
);
139+
expect(
140+
objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0),
141+
).toBe(true);
142142

143143
await deleteObject({
144144
url: objectUrl1,

src/__tests__/integration/google/addressBook.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ test('fetchVCards should be able to fetch vcards', async () => {
9494
});
9595

9696
expect(vcards.length > 0).toBe(true);
97-
expect(vcards.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0)).toBe(
98-
true,
99-
);
97+
expect(
98+
vcards.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0),
99+
).toBe(true);
100100

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

src/__tests__/integration/google/calendar.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ test('fetchCalendarObjects should be able to fetch calendar objects', async () =
141141
});
142142

143143
expect(objects.length > 0).toBe(true);
144-
expect(objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0)).toBe(
145-
true,
146-
);
144+
expect(
145+
objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0),
146+
).toBe(true);
147147

148148
await deleteObject({
149149
url: objectUrl1,

src/__tests__/integration/nextcloud/addressBook.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ test('fetchVCards should be able to fetch vcards', async () => {
8080
});
8181

8282
expect(vcards.length > 0).toBe(true);
83-
expect(vcards.every((o) => o.data.length > 0 && ((o.etag?.length ?? 0) ?? 0) > 0 && o.url.length > 0)).toBe(
84-
true,
85-
);
83+
expect(
84+
vcards.every((o) => o.data.length > 0 && (o.etag?.length ?? 0 ?? 0) > 0 && o.url.length > 0),
85+
).toBe(true);
8686

8787
const deleteResult = await deleteObject({
8888
url: new URL('2.vcf', addressBooks[0].url).href,

src/__tests__/integration/nextcloud/calendar.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ test('fetchCalendarObjects should be able to fetch calendar objects', async () =
136136
});
137137

138138
expect(objects.length > 0).toBe(true);
139-
expect(objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0)).toBe(
140-
true,
141-
);
139+
expect(
140+
objects.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0),
141+
).toBe(true);
142142

143143
await deleteObject({
144144
url: objectUrl1,

src/__tests__/integration/zoho/addressBook.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ test('fetchVCards should be able to fetch vcards', async () => {
8989
});
9090

9191
expect(vcards.length > 0).toBe(true);
92-
expect(vcards.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0)).toBe(
93-
true,
94-
);
92+
expect(
93+
vcards.every((o) => o.data?.length > 0 && (o.etag?.length ?? 0) > 0 && o.url?.length > 0),
94+
).toBe(true);
9595

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

0 commit comments

Comments
 (0)