tests.test("WATCH atomic increment", async () => {
multi1;
transClient.sendCommand(["WATCH", "k1"]);
const v = transClient.sendCommand(["GET", "k1"]);
transClient.sendCommand(["MULTI"]);
transClient.sendCommand(["SET", "k1", Number.parseInt(await v) + 1 + ""]);
const result = await transClient.sendCommand(["EXEC"]);
expect(result).toEqual(["OK"]);
})