authelia/test/server/mocks/Notifier.ts

13 lines
197 B
TypeScript
Raw Normal View History

2017-05-21 20:45:54 +00:00
import sinon = require("sinon");
export interface NotifierMock {
notify: sinon.SinonStub;
}
export function NotifierMock(): NotifierMock {
return {
notify: sinon.stub()
};
}