mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 12:19:09 +00:00
test(core): Fix typing issues in tests (no-changelog) (#10244)
This commit is contained in:
@@ -15,11 +15,6 @@ describe('Telemetry', () => {
|
||||
const spyTrack = jest.spyOn(Telemetry.prototype, 'track').mockName('track');
|
||||
|
||||
const mockRudderStack = mock<RudderStack>();
|
||||
mockRudderStack.track.mockImplementation(function (_, cb) {
|
||||
cb?.();
|
||||
|
||||
return this;
|
||||
});
|
||||
|
||||
let telemetry: Telemetry;
|
||||
const instanceId = 'Telemetry unit test';
|
||||
|
||||
Reference in New Issue
Block a user