mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 03:46:47 +01:00
c58a70ac8f
* metric repo * add metric repo * remove unused import * formatting * fix * try disabling job metrics for e2e * import otel in test module
9 lines
257 B
TypeScript
9 lines
257 B
TypeScript
import { IMetricRepository } from 'src/interfaces/metric.interface';
|
|
|
|
export const newMetricRepositoryMock = (): jest.Mocked<IMetricRepository> => {
|
|
return {
|
|
addToCounter: jest.fn(),
|
|
updateGauge: jest.fn(),
|
|
updateHistogram: jest.fn(),
|
|
};
|
|
};
|