mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
chore(test): clean up created hooks on test done (#3907)
This commit is contained in:
parent
d369e0c863
commit
9550552438
1 changed files with 3 additions and 0 deletions
|
@ -73,5 +73,8 @@ describe('hook testing', () => {
|
|||
json: { events: [HookEvent.PostSignIn], config: { url: responseErrorEndpoint } },
|
||||
});
|
||||
expect(response.statusCode).toBe(204);
|
||||
|
||||
// Clean Up
|
||||
await authedAdminApi.delete(`hooks/${created.id}`);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue