fix: resolve type error in integration test
This commit is contained in:
parent
aefb23f318
commit
d64983163c
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ describe('Agents CRUD Endpoints', () => {
|
|||
expect(result.data.data.uid).not.toBe(uid);
|
||||
expect(result.data.data.uid).toMatch(new RegExp(`^${uid}-`));
|
||||
// Track for cleanup (use id, not uid)
|
||||
ctx.tracker.trackAgent((result.data.data as { id: string }).id);
|
||||
ctx.tracker.trackAgent((result.data.data as unknown as AgentResponse).id);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue