All files / src/resp/command/server quit-command.ts

80% Statements 4/5
100% Branches 0/0
50% Functions 1/2
80% Lines 4/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12  1x 1x   1x 4x            
import { IRequest } from "../../../server/request";
import { RedisToken } from "../../protocol/redis-token";
import { IRespCommand } from "../resp-command";
 
export class QuitCommand extends IRespCommand {
    public name = "quit";
 
    public execSync(request: IRequest): RedisToken {
        return RedisToken.responseOk();
    }
}