authelia/server/test/mocks/Notifier.ts

13 lines
197 B
TypeScript
Raw Normal View History

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