Skip to content

Commit a5cd6ee

Browse files
committed
fix lint errors
1 parent 806fb9a commit a5cd6ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/content/src/sources/__tests__/sanity-source.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ describe("sanitySource", () => {
263263
const result = source.fetch(createFetchContext());
264264
expect(result).toHaveLength(2);
265265

266-
const data1 = (await result[0]!.data);
267-
const data2 = (await result[0]!.data);
266+
const data1 = await result[0]!.data;
267+
const data2 = await result[0]!.data;
268268

269269
// it should return the single item directly instead of an async iterator
270270
expect(data1).toEqual({ _type: "test", title: "Test Document" });

0 commit comments

Comments
 (0)