perf(core): Eliminate unnecessary license server calls (#17047)

This commit is contained in:
Iván Ovejero
2025-07-07 10:55:40 +02:00
committed by GitHub
parent d3330b6bcc
commit 6efff79d72
3 changed files with 12 additions and 0 deletions

View File

@@ -101,6 +101,7 @@ describe('POST /license/renew', () => {
});
test('errors out properly', async () => {
License.prototype.getPlanName = jest.fn().mockReturnValue('Enterprise');
License.prototype.renew = jest.fn().mockImplementation(() => {
throw new Error(GENERIC_ERROR_MESSAGE);
});