balena-supervisor/test/lib/mocked-event-tracker.ts
Rich Bayliss d50f7791e1
api-binder: Convert to a singleton
Change-type: patch
Signed-off-by: Rich Bayliss <rich@balena.io>
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-09-14 09:31:12 +01:00

5 lines
144 B
TypeScript

import * as eventTracker from '../../src/event-tracker';
import { spy } from 'sinon';
export const eventTrackSpy = spy(eventTracker, 'track');