authelia/test/server/mocks/Notifier.ts

13 lines
197 B
TypeScript

import sinon = require("sinon");
export interface NotifierMock {
notify: sinon.SinonStub;
}
export function NotifierMock(): NotifierMock {
return {
notify: sinon.stub()
};
}