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