blob: 0e50b0a12da14546b49eb5b035edaa0cc8687a58 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import { FindRepositoryImpl } from '../../../src/content/repositories/FindRepository';
import { expect } from 'chai';
describe('FindRepositoryImpl', () => {
it('updates and gets last keyword', () => {
const sut = new FindRepositoryImpl();
expect(sut.getLastKeyword()).to.be.null;
sut.setLastKeyword('monkey');
expect(sut.getLastKeyword()).to.equal('monkey');
});
});
|