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) })