blob: f81d6dc67c541c17bc1ede1f5585f4ac3170bad1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import EnableJumpMarkOperator from "../../../../src/content/operators/impls/EnableJumpMarkOperator";
import MockMarkKeyRepository from "../../mock/MockMarkKeyRepository";
describe("EnableJumpMarkOperator", () => {
describe("#run", () => {
it("starts mark jump mode", async () => {
const repository = new MockMarkKeyRepository({
jumpMode: false,
setMode: false,
});
const sut = new EnableJumpMarkOperator(repository);
await sut.run();
expect(repository.jumpMode).toBeTruthy;
});
});
});
|