blob: 13dff76ee4e3d731ae543b7b03bdd53b7906f43e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { AddonEnabledRepositoryImpl } from "../../../src/content/repositories/AddonEnabledRepository";
import { expect } from "chai";
describe("AddonEnabledRepositoryImpl", () => {
it("updates and gets current value", () => {
const sut = new AddonEnabledRepositoryImpl();
sut.set(true);
expect(sut.get()).to.be.true;
sut.set(false);
expect(sut.get()).to.be.false;
});
});
|