Skip to content

Commit

Permalink
Fixed lil.apis news tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NuroDev committed Apr 28, 2024
1 parent 8904872 commit 18d453a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/lil.apis/tests/news.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ describe.concurrent("lil APIs - News", () => {
expect(news).toBeDefined();
expect(news.articles).toBeDefined();
expect(Array.isArray(news.articles)).toBe(true);
expect(news.articles.at(0)).toBeDefined();
expect(news.articles.at(0)?.description).toBeDefined();
expect(news.articles.at(0)?.description).toBeTypeOf("string");
expect(news.articles.at(0)?.title).toBeDefined();
expect(news.articles.at(0)?.title).toBeTypeOf("string");
expect(news.articles.at(0)?.url).toBeDefined();
expect(news.articles.at(0)?.url).toBeTypeOf("string");

expect(NewsSchema.safeParse(news).success).toBe(true);
});
Expand Down

0 comments on commit 18d453a

Please sign in to comment.