mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix: Remove circular dependencies from cli tests (no-changelog) (#5000)
* fix typescript errors in cli * remove circular dependencies from cli tests
This commit is contained in:
committed by
GitHub
parent
17f13b3b6e
commit
0a416eebea
@@ -19,7 +19,7 @@ describe('License', () => {
|
||||
config.set('license.autoRenewOffset', MOCK_RENEW_OFFSET);
|
||||
});
|
||||
|
||||
let license;
|
||||
let license: License;
|
||||
|
||||
beforeEach(async () => {
|
||||
license = new License();
|
||||
@@ -102,6 +102,6 @@ describe('License', () => {
|
||||
jest.fn(license.getMainPlan).mockReset();
|
||||
|
||||
const mainPlan = license.getMainPlan();
|
||||
expect(mainPlan.id).toBe(MOCK_MAIN_PLAN_ID);
|
||||
expect(mainPlan?.id).toBe(MOCK_MAIN_PLAN_ID);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user