const res = {
      json: (data) => {
        sentJson = true;
        expect(data.status).to.equal('ok');
      },