diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-05-15 18:03:43 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-07-05 21:32:43 +0900 |
commit | 21a0f2294b51f6ce78134384d34f302fb2cb8614 (patch) | |
tree | c9841c3bee7966e383221ff90ac04db009eab35e /test/content/operators/impls/FindOperatorFactoryChain.test.ts | |
parent | 038de72896e748df4e63352b4bbbae24d8a851ce (diff) |
Remove legacy find
Diffstat (limited to 'test/content/operators/impls/FindOperatorFactoryChain.test.ts')
-rw-r--r-- | test/content/operators/impls/FindOperatorFactoryChain.test.ts | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/test/content/operators/impls/FindOperatorFactoryChain.test.ts b/test/content/operators/impls/FindOperatorFactoryChain.test.ts deleted file mode 100644 index 6c599ae..0000000 --- a/test/content/operators/impls/FindOperatorFactoryChain.test.ts +++ /dev/null @@ -1,21 +0,0 @@ -import * as operations from "../../../../src/shared/operations"; -import { expect } from "chai"; -import FindOperatorFactoryChain from "../../../../src/content/operators/impls/FindOperatorFactoryChain"; -import MockFindMasterClient from "../../mock/MockFindMasterClient"; -import FindNextOperator from "../../../../src/content/operators/impls/FindNextOperator"; -import FindPrevOperator from "../../../../src/content/operators/impls/FindPrevOperator"; - -describe("FindOperatorFactoryChain", () => { - describe("#create", () => { - it("returns an operator", () => { - const sut = new FindOperatorFactoryChain(new MockFindMasterClient()); - expect(sut.create({ type: operations.FIND_NEXT }, 0)).to.be.instanceOf( - FindNextOperator - ); - expect(sut.create({ type: operations.FIND_PREV }, 0)).to.be.instanceOf( - FindPrevOperator - ); - expect(sut.create({ type: operations.SCROLL_TOP }, 0)).to.be.null; - }); - }); -}); |