blob: 30454f0b5dd7869ea08ef42f56d1aceda7cd0ac5 (
plain) (
tree)
|
|
import AddonEnabledRepository from "../../../src/content/repositories/AddonEnabledRepository";
export default class MockAddonEnabledRepository
implements AddonEnabledRepository
{
public enabled: boolean;
constructor(initialValue = false) {
this.enabled = initialValue;
}
get(): boolean {
return this.enabled;
}
set(on: boolean): void {
this.enabled = on;
}
}
|