text: /* eslint-disable no-undef */
  
  const sinon = require('sinon');
  const { expect } = require('chai');
  const chai = require('chai');
  const sinonChai = require('sinon-chai');
  
  require('../global.test');
  
  const controller = require('../../app/cookie/get.controller');
  
  describe('Cookie Get Controller', () => {
    let req; let res;
  
    beforeEach(() => {
      chai.use(sinonChai);
  
      req = {
        session: {},
      };
      res = {
        render: sinon.spy(),
      };
    });
  
    afterEach(() => {
      sinon.restore();
    });
  
    it('should render the appropriate page', async () => {
      await controller(req, res);
  
      expect(res.render).to.have.been.calledWith('app/cookie/index');
    });
  });
  