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()
|
||
|
};
|
||
|
}
|