Skip to content

Commit

Permalink
chore: update test
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Sep 12, 2024
1 parent 358beb1 commit bfe4a7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/projects.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down

0 comments on commit bfe4a7d

Please sign in to comment.