From bfe4a7dce2823b7d5a522cfe2345ef776939dfc1 Mon Sep 17 00:00:00 2001 From: Timo Glastra Date: Thu, 12 Sep 2024 16:03:52 +0200 Subject: [PATCH] chore: update test Signed-off-by: Timo Glastra --- test/projects.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/projects.test.ts b/test/projects.test.ts index 19e8f13..1b28950 100644 --- a/test/projects.test.ts +++ b/test/projects.test.ts @@ -7,7 +7,9 @@ dotenv.config() describe('Projects', () => { it('should return atleast one project', async () => { const client = new Paradym({ apiKey: process.env.X_ACCESS_TOKEN as string }) - const projects = await client.projects.getAllProjects() + const projects = await client.projects.getAllProjects({ + sort: '-createdAt' + }) assert.ok(projects.data.length > 0) })