aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-05-11 15:56:18 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-05-11 15:56:18 +0900
commitebfb172520f7077a15cd5d4e865e5d86593c55ac (patch)
treeb5165cedfec50a2207281f6602bac4c07a457aec
parentfcd15f4f09e412cb66f29649572b9d8ae6d50363 (diff)
find
-rw-r--r--test/content/usecases/FindUseCase.test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/content/usecases/FindUseCase.test.ts b/test/content/usecases/FindUseCase.test.ts
index 347b817..2f966ae 100644
--- a/test/content/usecases/FindUseCase.test.ts
+++ b/test/content/usecases/FindUseCase.test.ts
@@ -113,7 +113,7 @@ describe('FindUseCase', () => {
presenter.document = 'gorilla kick';
repository.keyword = 'gorilla';
- await sut.startFind(null);
+ await sut.startFind(undefined);
expect(await presenter.highlighted).to.be.true;
expect(await consoleClient.text).to.equal('Pattern found: gorilla');
@@ -127,7 +127,7 @@ describe('FindUseCase', () => {
repository.keyword = null;
client.keyword = 'chimpanzee';
- await sut.startFind(null);
+ await sut.startFind(undefined);
expect(await presenter.highlighted).to.be.true;
expect(await consoleClient.text).to.equal('Pattern found: chimpanzee');
@@ -150,7 +150,7 @@ describe('FindUseCase', () => {
repository.keyword = null;
client.keyword = null;
- await sut.startFind(null);
+ await sut.startFind(undefined);
expect(await consoleClient.text).to.equal('No previous search keywords');
expect(await consoleClient.isError).to.be.true;