13 lines
231 B
TypeScript
13 lines
231 B
TypeScript
|
|
||
|
import sinon = require("sinon");
|
||
|
|
||
|
export interface AccessControllerMock {
|
||
|
isDomainAllowedForUser: sinon.SinonStub;
|
||
|
}
|
||
|
|
||
|
export function AccessControllerMock() {
|
||
|
return {
|
||
|
isDomainAllowedForUser: sinon.stub()
|
||
|
};
|
||
|
}
|