authelia/test/server/mocks/AuthenticationRegulator.ts
2017-06-16 18:16:38 +02:00

16 lines
273 B
TypeScript

import sinon = require("sinon");
export interface AuthenticationRegulatorMock {
mark: sinon.SinonStub;
regulate: sinon.SinonStub;
}
export function AuthenticationRegulatorMock() {
return {
mark: sinon.stub(),
regulate: sinon.stub()
};
}