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