0
Fork 0
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:
Xiao Yijun 2023-05-26 10:44:56 +08:00 committed by GitHub
parent d369e0c863
commit 9550552438
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}`);
});
});