mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
13 lines
216 B
TypeScript
13 lines
216 B
TypeScript
|
|
import sinon = require("sinon");
|
|
|
|
export interface TOTPValidatorMock {
|
|
validate: sinon.SinonStub;
|
|
}
|
|
|
|
export function TOTPValidatorMock(): TOTPValidatorMock {
|
|
return {
|
|
validate: sinon.stub()
|
|
};
|
|
}
|