All Downloads are FREE. Search and download functionalities are using the official Maven repository.

generator.client.vue.test.unit.common.domain.Logger.fixture.ts.mustache Maven / Gradle / Ivy

There is a newer version: 1.22.0
Show newest version
import sinon, { type SinonStub } from 'sinon';
import type { Logger } from '@/common/domain/Logger';

export interface LoggerFixture extends Logger {
  error: SinonStub;
}

export const stubLogger = (): LoggerFixture => ({
  error: sinon.stub(),
});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy